Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Access the BootCamp ControlPanel from Windows 8. Run as Administrator.
@echo off
runas /trustlevel:0x20000 "C:\Windows\System32\AppleControlPanel"
if %ERRORLEVEL% neq 0 goto error
goto OK
echo Are you sure you are running from a shortcut as Administrator?

This comment has been minimized.

Copy link
Owner Author

@shamp00 shamp00 commented Oct 9, 2012

NOTE: 0x20000 might be different on your machine.
From a command prompt run runas /showtrustlevels and use the hex number for (Basic User).

See for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment