How do I run a VBS as administrator in Windows 10?

How do I run a VBS as administrator in Windows 10?
Answer
Add Run as administrator context menu item to VBS files
  1. Open Registry Editor.
  2. Go to the following Registry key: HKEY_CLASSES_ROOTVBSFileshell. Tip: You can access any desired Registry key with one click. …
  3. Create here a new subkey named “runas”. …
  4. Under the runas subkey, create a new string value named HasLUAShield. …
  5. Under the runas subkey, create a new subkey called “command”.
16 нояб. 2015 г.
 

Tìm kiếm

Back
Top