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!
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity