1.    09 May 2016 #1
    Join Date : May 2016
    Posts : 6
    Windows 10 64bit Edu

    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]

    this is no longer a working option in windows 10.
    Any one know any other ways around it?
      My ComputerSystem Spec
  2.    10 May 2016 #2
    Join Date : Jul 2014
    Posts : 10,634
    W10 Insider + Linux

    Hope Kari sees this, if not send him a message, he's authority for sysprep around here.
      My ComputersSystem Spec


Similar Threads
Thread Forum
Solved Mesed up registry.
Can someone do me a favour? Open Regedit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Write me default value for "Start" for PimIndexMaintenanceSvc, PimIndexMaintenanceSvc_285cf, PimIndexMaintenanceSvc_2b766 and...
General Support
WIN 10 REGISTRY Compared to Win 7/8
Hi, I have lots of Registry tweaks ( reg files ) from the win7/8 forums collected over the years. When I set up win 8, I noticed many of the win 7 reg settings were similar and worked in win 8, but a few did not, mainly to do with ui iirc....
Performance & Maintenance
Registry Cleaning
Forgive me if this isn't the right thread to put this in. I have used CCleaner since Windows 7, 8, and 8.1. I am debating on installing it on Windows 10 right now but I've heard some things about Reg Cleaning. I was wondering if it really is bad to...
Performance & Maintenance
Trojan in My Registry
I have an older 15 inch HP with W10 that I recently updated. I have always had McAfee on the computer, it has never lapsed. I have also run Spybot, Malwarebytes, Google Ghostery and ABP Adblock Popup. When I recently bought a new printer...
AntiVirus, Firewalls and System Security
Need to get this new DPI value from the registry (Windows 10)
Hello, How can I get this value: http://prntscr.com/8ck5rg From the registry? I know that in this case I need also to know what is the primary display or how to get only the primary display value because I want to get the value that set only...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:29.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums