/build/static/layout/Breadcrumb_cap_w.png

Supporting Windows Question


when running this script to upgrade to windows 10 cannot select the keep all files and programs option

02/22/2016 933 views
i am using this script to upgrade w7 to w10 without loosing any programs or data but the option is greyed out and does not allow to select. need to run it without loosing data. Can some one help with this script to run silent and not loose data or programs.


.      1.       Create a new Online Kscript

2.       Create a task and add the following steps

3.       Verify a registry value is exactly…

3.1.    Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

3.2.    Name: ProductName

3.3.    Equal To: Windows 10 Enterprise

3.3.1. NOTE: Change this value to which ever version you are upgrading to

4.       On Success:

4.1.    Log message

4.1.1. Status: Windows 10 already installed

5.       Remediation:

5.1.    Run a batch file

5.1.1. Batch file:  md c:\Windows10_media

robocopy /MIR \\10.0.0.122\win10_upgrade\ c:\windows10_media

5.2.    Run a batch file

       5.2.1 Batch file: cd c:\windows10_media\

setup.exe /auto upgrade /installfrom c:\windows10_media\sources\install.wim /dynamicupdate disable



1 Comment   [ + ] Show comment

Comments

  • As I understand it, that is already in the command. The switch "/auto upgrade" is what keeps the files and settings.

    I have a question for you though as I am trying to do the same thing. When I try to run the registry check it keeps telling me it failed. Are you running into this or have you gotten that far?

    Below is my error:

    Checking if registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion' value 'ProductName' is equal to 'Windows 10 Pro' did not succeed: (0)

    Thanks and good luck!

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ