Create Windows 10 ISO image from Existing Installation  

Page 32 of 50 FirstFirst ... 22303132333442 ... LastLast

  1. Posts : 138
    Windows 10
       #310

    SIW2 said:
    if not DEFINED minimizethis set minimizethis=1 && start "" /min "%~dpnx0" %* && exit
    Thnx! Very helpful...

    Lastly, any idea how to bypass the UAC prompt that pops up after executing the One-Drive setup .exe file (it's not a deal breaker but one less thing the client will need to deal with during initial setup).

    I would prefer to not disable UAC all together as that's a liability.
      My Computer


  2. Posts : 4,592
    several
       #311

    You could try this to suppress prompt, but it doesn't elevate.
    set __COMPAT_LAYER=RUNASINVOKER
    Is RunAsInvoker a secret, even higher UAC setting? The Old New Thing

    Otherwise, if it needs elevation, I can only think of vbscript/powershell.

    Code:
    @echo off
    :: Get ADMIN Privileges
    >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
    if '%errorlevel%' == '0' (
     goto gotAdmin 
    ) else ( goto needadmin )
    
    :needadmin
        echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
        echo UAC.ShellExecute %~s0, "", "", "runas", 1 >> "%temp%\getadmin.vbs"
        "%temp%\getadmin.vbs"
        exit /B
    
    :gotAdmin
        if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
        pushd "%CD%"      
        CD /D "%~dp0"
    
    your script here
    Last edited by SIW2; 21 Feb 2018 at 23:58.
      My Computer


  3. Posts : 1
    windows 10 pro
       #312

    I went with part 3 and was able to complete the file. Once i try to run the set up for the new iso that was made i get the error that windows cannot validate the product key. Anyone got any info on why Its giving me that error
      My Computer


  4. Posts : 138
    Windows 10
       #313

    @Kari

    On another forum, it was stated that the /bootable flag is only supposed to be used with WinPE images and isn't necessary when capturing Windows 10 (full OS). And according to the Microsoft docs, this also seems to be the case. Thus, is it needed when capturing a custom image with pre-installed apps?

    Thnx

    Create Windows 10 ISO image from Existing Installation-dism_capture_img.jpg
      My Computer


  5. Posts : 4,592
    several
       #314

    is it needed when capturing a custom image with pre-installed apps?
    No.
      My Computer


  6. Posts : 138
    Windows 10
       #315

    SIW2 said:
    No.
    Thnx for the response.

    So that would mean that we technically don't need to use the "/bootable" parameter in step 4.4 of the first page of this tutorial, correct?

    Create Windows 10 ISO image from Existing Installation-step-4.png
      My Computer


  7. Posts : 4,592
    several
       #316

    Correct.
      My Computer


  8. Posts : 1
    Windows 10
       #317

    Anyone had the issue with the following error when you go to deploy the custom image. I keep getting:

    "Windows could not set the offline locale information. Error code: 0x80000001"

    How could I solve this? This is rather important as my image is for where I work, where installing all our custom and in house software each time we get a new PC is time consuming.

    I did use an off the shelf OEM HP PC for "Part 1 & Part 3" of this tutorial though?

    Regards: Elliott.
      My Computer


  9. ipo
    Posts : 1
    Windows 10
       #318

    KARIRI said:
    Hey Kari I ran into an Error 6 handle is invalid while capturing the image via dism
    Hallo,

    I ran into the same problem. Can you please help? I attach the dism log.
    dismlog.zip
    Last edited by ipo; 05 Jun 2018 at 02:54.
      My Computer


  10. Posts : 6
    windows 10 pro 1803
       #319

    I made iso. everything working. Just the answer file for sysprep does'nt seem to work so it defaults to windows theme. what could be wrong
      My Computer


 

Tutorial Categories

Create Windows 10 ISO image from Existing Installation Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
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 10:11.
Find Us




Windows 10 Forums