Windows 10: Create Windows 10 ISO image from Existing Installation  

Page 32 of 32 FirstFirst ... 22303132
  1.    21 Feb 2018 #310

    SIW2 said: View Post
    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 ComputerSystem Spec


  2. Posts : 293
    trying to install win10
       21 Feb 2018 #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 ComputerSystem Spec

  3.    4 Weeks Ago #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 ComputerSystem Spec

  4.    1 Week Ago #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

    Click image for larger version. 

Name:	DISM_Capture_Img.jpg 
Views:	8 
Size:	250.6 KB 
ID:	184756
      My ComputerSystem Spec


  5. Posts : 293
    trying to install win10
       1 Week Ago #314

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

  6.    1 Week Ago #315

    SIW2 said: View Post
    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?

    Click image for larger version. 

Name:	Step 4.png 
Views:	8 
Size:	98.3 KB 
ID:	184761
      My ComputerSystem Spec


  7. Posts : 293
    trying to install win10
       1 Week Ago #316

    Correct.
      My ComputerSystem Spec


 
Page 32 of 32 FirstFirst ... 22303132

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 Xbox Windows Phone


Related Threads
Backup & Restore Create System Image in Windows 10 in Tutorials
How to Create a System Image in Windows 10 A system image is an exact copy of all system disks which can be used to restore your PC to the state it was in at the time the image was made. By default, a system image only includes the drives that...
The error in the title appears when I try to format my C partition to install windows 10 there. This error does not appear when I install windows 7,I just formatted and installed 7 successfully however it doesn't work for Windows 10. Specs 2.9 GHZ...
Hi, I have seen posts that are partially related to my question, but do not answer all of my questions. Here the situation: GOAL: Create a dualboot system with a clean WIndows 10 installation on SSD while keeping my regular Windows XP for as...
Windows 10 Create System Image in Backup and Restore
Windows 10 build 10586 x64. When I try to create a System Image I find that Windows 8.1 and Windows 10 are both selected. How Do I just create a system Image for Windows 10
I had a kali linux installed in my computer. Then I tried to install Windows 10 using a bootable USB drive. (I created it by downloading the windows 10 ISO and then creating USB drive using Rufus.) But when I was trying to install windows 10, it...
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 06:27.
Find Us