|
Most of you know that in Windows XP, you can run an application with elevated privileges by right-clinking on the executable, and choosing 'Run As' What you may not know, is there is a lot more you can do with runas. Is it common practice for you to log your user's off before adding a local printer, or uninstalling an application through Add/Remove programs? There is an easier way! Simply go to the processes tab of your Task Manager, and end task on Explorer.exe. Once Explorer.exe closes, you will notice that your taskbar and all desktop icons have disappeared. Next, click on your applications tab, and click on New Task, in the dialog box, type: runas /user:
This email address is being protected from spam bots, you need Javascript enabled to view it
explorer.exe After installing the printer,uninstalling the application, or whatever it was that you needed to do, you can simply repeat the above steps to restore the system to the current user's credentials by ending the process for explorer.exe, clicking on the Applications Tab, choosing New Task and typing Explorer.exe What if your logged into an end-user's machine in an AD domain, and you need access to AD Users & Computers? No need to remote into your domain controller! Simply drop to a command prompt, and type: runas /
This email address is being protected from spam bots, you need Javascript enabled to view it
"mms %windir%\system32\dsa.msc" Last but not least... How to drop to a command promt with elevated privileges: runas /user:username@domain cmd |