This has been updated :
http://www.tonyunger.com/2012/01/runas-touch-screen-application-purpose.html
Purpose: Touch screen application to run applications as a different user. It also dynamic creates button based on what it reads from a text file. I have added many changes to this application and will post a new version soon this week.
These are just random notes and programs that may have incomplete descriptions. Any scripts or programs use at your risk
Thursday, October 27, 2011
Monday, October 24, 2011
Run explorer using the Runas Command
Little batch file i made to run explorer using the runas command.
It adds a registry key to the current user hive that is being used to to run explorer as a different user.
@Echo Off
Echo Importing Key
reg add "HKCU\software\microsoft\windows\currentversion\explorer\advanced" /v SeparateProcess /t REG_DWORD /d 00000001 /f
Echo Reg Key imported
Echo Starting Explorer
explorer /e
Echo Closing Explorer
reg add "HKCU\software\microsoft\windows\currentversion\explorer\advanced" /v SeparateProcess /t REG_DWORD /d 00000000 /f
exit
It adds a registry key to the current user hive that is being used to to run explorer as a different user.
@Echo Off
Echo Importing Key
reg add "HKCU\software\microsoft\windows\currentversion\explorer\advanced" /v SeparateProcess /t REG_DWORD /d 00000001 /f
Echo Reg Key imported
Echo Starting Explorer
explorer /e
Echo Closing Explorer
reg add "HKCU\software\microsoft\windows\currentversion\explorer\advanced" /v SeparateProcess /t REG_DWORD /d 00000000 /f
exit
Subscribe to:
Posts (Atom)
-
Running solidcore you may run into a problem where you have to disable it with out using epo or the local CLI Here are the steps. ...
-
List Certificate Templates function get-CertificateTemplates { [ CmdletBinding ()] Param ( [ Parameter ( Mandatory = $True, Va...
-
Wrote this to get certificate expiration information for certificates that expired 5 days ago to ones that expire in 90 days. Wrap an invoke...