Wednesday, 4 March 2015

MSOffice 2010 Setup Log Files




C:\Users\<User>\AppData\Local\Temp\4

AppData is hidden folder

Monday, 2 March 2015

Run Program as Admin – RUNAS



The following will allow a program that requires admin rights to run by saving the admin credentials:

1. Create a normal Short-Cut to application.exe on the desktop.
2. Right-click the short-cut and select Properties.
3. In Target box, insert the following before the path to application.exe: runas /savecred /user:administrator or runas /savecred /user:ComputerName\UserName "c:\XX\XX\XX.exe"


Under windows 7, the runas/savecred (interactive logon) credential is saved in a HIDDEN file in the directory c:\users\username\appdata\roaming\microsoft\credentials.

If you move this file out of this directory, the credential is not displayed in the Windows credential manager. Move the file back into the referenced directory, and the credential reappears. No other manipulation or tweaking is necessary.


You should save the interactive logon by running the runas /savecred command once and then moving the hidden encrypted file in and out as needed.

The files are marked Hidden and System, so you need to enable viewing both to seem them.

4. Double-click the new short-cut, and enter the administrator password.

Monday, 2 June 2014

Get SID of User


Download & Install Sysinternals Suite

On Command prompt run command > psgetsid <username> 
to get SID of the user