Skip to content

Instantly share code, notes, and snippets.

Embed
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
:ERROR
echo.
echo Are you sure you are running from a shortcut as Administrator?
pause
:OK
@shamp00

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 http://apple.stackexchange.com/a/59132/30710 for more info

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