Answers for "run administrator windows terminal"

10

how to activate administrator account in windows 10 command prompt

net user administrator /active:yes
Posted by: Guest on October-18-2020
0

how to run cmd run administrator using script

Set objShell = CreateObject(“Shell.Application”)
Set objWshShell = WScript.CreateObject(“WScript.Shell”)
Set objWshProcessEnv = objWshShell.Environment(“PROCESS”)

objShell.ShellExecute “C:\Windows\system32\cmd.exe”, “/k”, “”, “runas”
Posted by: Guest on October-16-2020

Code answers related to "run administrator windows terminal"

Browse Popular Code Answers by Language