Skip to content

Instantly share code, notes, and snippets.

@shamp00
Created October 9, 2012 16:42
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shamp00/3859956 to your computer and use it in GitHub Desktop.
Save shamp00/3859956 to your computer and use it in GitHub Desktop.
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
Copy link
Author

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