New
#1
Run elevated ("Run As Administrator") automatically in .BAT .CMD file
Hello,
I've prepared an unattended Win7 SP1 DVD, everything works just fine except a part of my registry tweaks (>100) MyTweaks.reg. After investigation, it proved that those registries must be run elevated ("Run As Administrator").
Here bellow, MyTweaks.bat. What to add/modify to make REGEDIT elevated runnig? Otherwise, is there a .cmd command abble doing that?
RegardsCode:@ECHO OFF ECHO. REGEDIT /S "%systemroot%\Setup\Scripts\MyTweaks.reg" EXIT