Home » Questions » Computers [ Ask a new question ]

Vista Command Prompt: Elevated

Vista Command Prompt: Elevated

What command can I use to confirm that I am running the command prompt elevated and what command can I use to force a program to run elevated from the command prompt?

Asked by: Guest | Views: 67
Total answers/comments: 1
Guest [Entry]

"Here some methods to check elevation:

Method 1

openfiles >nul 2>&1

Method 2 (Depreceated in Windows 10)

at >nul

Method 3

net file >nul 2>&1

Method 4

fsutil dirty query %systemDrive% >nul 2>&1

Check %errorlevel% after each command (0=Elevated,1=Non Elevated)"