Windows 10: CMD run as administrator registry


  1. Posts : 6
    Windows 10 64bit Edu
       09 May 2016 #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?
      My ComputerSystem Spec

  2.    10 May 2016 #2

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


 

Related Threads
Solved Mesed up registry. in General Support
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...
WIN 10 REGISTRY Compared to Win 7/8 in Performance & Maintenance
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....
Registry Cleaning in Performance & Maintenance
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...
Trojan in My Registry in AntiVirus, Firewalls and System Security
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...
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...
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 21:49.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums