New
#1
CMD run as administrator registry
We have an automated sysprep process that works fine for windows 8 but not in windows 10.
The whole process runs when run manually through an elevated cmd prompt but after sysprep i need the cmd prompts to be automatically elevated to prompt for a computer name change.
In windows 8 you could add a registry entry that would allow the cmd prompt to elevate without prompt.
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\Windows\System32\cmd.exe"="RUNASADMIN"
this is no longer a working option in windows 10.
Any one know any other ways around it?