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
These are just random notes and programs that may have incomplete descriptions. Any scripts or programs use at your risk
Subscribe to:
Post Comments (Atom)
-
Here is an excel document I created that will ping a list of nodes in column A and give results in column B. There are much better tools th...
-
Needed a script to recycle a com+ application nightly and this is what i came up with. This script will write each recycle it does to the ev...
-
VMware Vsphere 6.0 Host Client 6.0 beta If you get this error running the Host Client: uncaught node.js Error Error: EPERM, open '...

No comments:
Post a Comment