Page 22 of 52 FirstFirst ... 12202122232432 ... LastLast

  1. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,076
    Windows 10 Pro
       2015-10-19 #210

    Coke Robot said: View Post
    Hmmm.... In my Windows 8.1 images, I had app settings from Office to VLC to IE and everything copy over just fine on the target machine. The only remnants were some Admin directories in Office in the Recent list. VLC settings copied just fine... Odd.
    Please notice the below only applies to build 10240. All later builds of Windows 10 have serious sysprep issues.

    If you install applications in Audit Mode before sysprepping and don't launch them, the app settings will be just fine for the end user, as you mentioned you had them in Windows 8.1.

    If you for some reason launch the apps while in Audit Mode signed in as the built-in administrator, the appdata needs to be modified as in the video in your quote. In the video I only do it for the VLC Player but as an example that is valid. The only purpose of that video is to show what to do if the apps were launched before sysprepping and copying the default user profile with CopyProfile=true.

    Usually you have no need for this, no need to launch the apps before sysprepping. However, if certain appdata / configuration changes are needed, the application needs to be launched in order for it to create the configuration files, and Appdata (and / or ProgramData) needs to be modified before sysprepping to get the correct data copied to the default user profile.

    Kari
      My System SpecsSystem Spec


  2. Joined : Oct 2015
    Posts : 5
    Window 10 Pro
       2015-10-20 #211

    Thanks for such a detailed post. However, in my experience it has never worked. I have using sysprep for years, but I cannot make it work in Window 10 Pro. Any ideas? I have search the web and not found anything that works. I am currently build machine in audit mode, make customization's, and run sysprep. And none of setting stick. I still get default wallpaper, default windows explorer settings.

    Can you help?
      My System SpecsSystem Spec


  3. Joined : Oct 2015
    Posts : 5
    Window 10 Pro
       2015-10-20 #212

    I've done a little digging and it seems the cpi offline data is only used for a reference when building the unattended.xml file see post: Unattend.xml - Question about offlineImage source. Is that correct? I've not seen anything about ding sysprep with RTM version.
      My System SpecsSystem Spec


  4. Joined : Jan 2014
    Washington
    Posts : 302
    Windows 10 10586
       2015-10-22 #213

    So I did some digging around the interweb gardens and found a possible solution to the CopyProfile issue in regards to Start Screen customization.

    OS|DC: Windows 10 : Deploying a customized start menu

    Basic gist is that like in 8.1 Pro and Enterprise, you can set up a locked Start Screen through the Start Layout xml file. Through a PowerShell script, you can export the Start layout and then import it into an image. Except the catch is that you have to apparently capture the wim file with the CopyProfile set to true, mount it, then plop it into the image, save it, then deploy onto the target machine. Importing the Start layout has be to be done on offline wim. In theory, you can use PowerShell to also import the customized xml file onto a live machine, but I haven't gotten it to work just yet. EDIT: After some further reading, the reason why I never got the xml import to work in 10 and 8.1 even in Enterprise was the fact the PowerShell command doesn't import xml files...... It has to be imported as a bin file. For the love of husked corn!
    Last edited by Coke Robot; 2015-10-22 at 00:28.
      My System SpecsSystem Spec


  5. Joined : Jan 2014
    Washington
    Posts : 302
    Windows 10 10586
       2015-10-22 #214

    pualumni said: View Post
    Thanks for such a detailed post. However, in my experience it has never worked. I have using sysprep for years, but I cannot make it work in Window 10 Pro. Any ideas? I have search the web and not found anything that works. I am currently build machine in audit mode, make customization's, and run sysprep. And none of setting stick. I still get default wallpaper, default windows explorer settings.

    Can you help?
    Are you using the RTM build 10240? What's your xml code for your unattend file? Are you making sure you're pointing the sysprep command to use the xml file?
      My System SpecsSystem Spec


  6. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,076
    Windows 10 Pro
       2015-10-22 #215

    Coke Robot said: View Post
    Are you making sure you're pointing the sysprep command to use the xml file?
    Just to add something, clarifying this.

    There are two ways to sysprep with an answer file.

    Method 1:
    • Save the answer file in C:\Windows\System32\Sysprep folder as unattend.xml (you must use this name!)
    • Run the sysprep command without /unattend switch, the answer file will be automatically read and used, machine is automatically shut down after the sysprep if /quit or /reboot switches are not used
    • Example commands:
      • sysprep /generalize /oobe (sysprep with unattend.xml, shutdown when ready)
      • sysprep /generalize /oobe /quit (sysprep with unattend.xml,, quit to desktop when ready)
      • sysprep /generalize /oobe /reboot (sysprep with unattend.xml, reboot to OOBE when ready)

    Method 2:
    • Save the answer file anywhere you want to naming it as you wish with the extension .xml
    • Run the sysprep command with /unattend switch giving the name and location of the answer file you want to be read and used
    • Example command:
      • sysprep /generalize /oobe /shutdown /unattend:X:\MyAnswerFile.xml
      My System SpecsSystem Spec


  7. Joined : Oct 2015
    Posts : 5
    Window 10 Pro
       2015-10-22 #216

    Coke Robot said: View Post
    Are you using the RTM build 10240? What's your xml code for your unattend file? Are you making sure you're pointing the sysprep command to use the xml file?
    Build number is 10240. I'm using media created from the MS site to download media and created a USB install. I'm loading the system with an autounattended.xml file which puts the machine in audit mode, then I run my sysprep from a batch file.

    Here's my autounattend:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <AutoLogon>
    <Enabled>false</Enabled>
    </AutoLogon>
    <FolderLocations>
    <ProfilesDirectory>D:\Users</ProfilesDirectory>
    </FolderLocations>
    <OEMInformation>
    <Logo>C:\Windows\System32\oemlogo.bmp</Logo>
    <Manufacturer>xxx.</Manufacturer>
    <Model>xxx</Model>
    <SupportHours>8 am to 6 pm</SupportHours>
    <SupportPhone>xxx-xxx-xxxx</SupportPhone>
    <SupportURL>https://www.google.com</SupportURL>
    </OEMInformation>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <NetworkLocation>Work</NetworkLocation>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>dQBzADMAcgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </Password>
    <DisplayName>User</DisplayName>
    <Name>User</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <TimeZone>Eastern Standard Time</TimeZone>
    <RegisteredOwner>End User</RegisteredOwner>
    <RegisteredOrganization>End User</RegisteredOrganization>
    </component>
    <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Reseal>
    <Mode>Audit</Mode>
    </Reseal>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Order>1</Order>
    <Path>net user administrator /active:Yes</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>2</Order>
    <Path>reg.exe add &amp;quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon&amp;quot; /v EnableFirstLogonAnimation /d 0 /t REG_DWORD /f</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <FavoritesList>
    <FavoriteItem wcm:action="add">
    <FavID>1</FavID>
    <FavTitle>Google</FavTitle>
    <FavURL>http://www.google.com</FavURL>
    </FavoriteItem>
    <FavoriteItem wcm:action="add">
    <FavID>2</FavID>
    <FavTitle>Google</FavTitle>
    <FavURL>https://help.google.com</FavURL>
    </FavoriteItem>
    <FavoriteItem wcm:action="add">
    <FavID>3</FavID>
    <FavTitle>IP Chicken</FavTitle>
    <FavURL>http://www.IPChicken.com</FavURL>
    </FavoriteItem>
    </FavoritesList>
    <Home_Page>https://www.Google.com</Home_Page>
    </component>
    </settings>
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserData>
    <ProductKey>
    <WillShowUI>OnError</WillShowUI>
    </ProductKey>
    </UserData>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim:d:/win10pro/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    This works fine, I'm able to load drivers ect. When I'm finished I runa sysprep batch file for d:\Install that looks like this:
    net stop wmpnetworksvc
    %windir%\system32\sysprep\sysprep.exe /generalize /oobe /reboot /unattend:d:\install\unattend.xml

    And my unattend it readeds looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <AutoLogon>
    <Enabled>false</Enabled>
    </AutoLogon>
    <FolderLocations>
    <ProfilesDirectory>D:\Users</ProfilesDirectory>
    </FolderLocations>
    <OEMInformation>
    <Logo>C:\Windows\System32\oemlogo.bmp</Logo>
    <Manufacturer>Google Consulting, Inc.</Manufacturer>
    <Model>Lenovo E550/2015-xxx</Model>
    <SupportHours>8 am to 6 pm</SupportHours>
    <SupportPhone>317-555-1212</SupportPhone>
    <SupportURL>https://help.Google.com</SupportURL>
    </OEMInformation>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <NetworkLocation>Work</NetworkLocation>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>dQBzADMAcgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </Password>
    <DisplayName>User</DisplayName>
    <Name>User</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <ComputerName>Win10Pro</ComputerName>
    <TimeZone>Eastern Standard Time</TimeZone>
    <RegisteredOwner>End User</RegisteredOwner>
    <RegisteredOrganization>End User</RegisteredOrganization>
    <CopyProfile>true</CopyProfile>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Order>1</Order>
    <Path>net user administrator /active:Yes</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Order>2</Order>
    <Path>reg.exe add &amp;quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon&amp;quot; /v EnableFirstLogonAnimation /d 0 /t REG_DWORD /f</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Home_Page>https://www.Google.com</Home_Page>
    </component>
    </settings>
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserData>
    <ProductKey>
    <WillShowUI>OnError</WillShowUI>
    </ProductKey>
    </UserData>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim:f:/x64/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    What do you think I have wrong?
      My System SpecsSystem Spec


  8. Joined : Aug 2015
    Posts : 13
    Windows 8.1
       2015-10-23 #217

    Coke Robot said: View Post
    So I did some digging around the interweb gardens and found a possible solution to the CopyProfile issue in regards to Start Screen customization.

    OS|DC: Windows 10 : Deploying a customized start menu

    Basic gist is that like in 8.1 Pro and Enterprise, you can set up a locked Start Screen through the Start Layout xml file. Through a PowerShell script, you can export the Start layout and then import it into an image. Except the catch is that you have to apparently capture the wim file with the CopyProfile set to true, mount it, then plop it into the image, save it, then deploy onto the target machine. Importing the Start layout has be to be done on offline wim. In theory, you can use PowerShell to also import the customized xml file onto a live machine, but I haven't gotten it to work just yet. EDIT: After some further reading, the reason why I never got the xml import to work in 10 and 8.1 even in Enterprise was the fact the PowerShell command doesn't import xml files...... It has to be imported as a bin file. For the love of husked corn!
    This is a bug and will be fixed in the end of November release.
      My System SpecsSystem Spec


  9. Joined : Sep 2015
    Posts : 5
    WIndow 10
       2015-10-25 #218

    Coke Robot said: View Post
    So I did some digging around the interweb gardens and found a possible solution to the CopyProfile issue in regards to Start Screen customization.

    OS|DC: Windows 10 : Deploying a customized start menu

    Basic gist is that like in 8.1 Pro and Enterprise, you can set up a locked Start Screen through the Start Layout xml file. Through a PowerShell script, you can export the Start layout and then import it into an image. Except the catch is that you have to apparently capture the wim file with the CopyProfile set to true, mount it, then plop it into the image, save it, then deploy onto the target machine. Importing the Start layout has be to be done on offline wim. In theory, you can use PowerShell to also import the customized xml file onto a live machine, but I haven't gotten it to work just yet. EDIT: After some further reading, the reason why I never got the xml import to work in 10 and 8.1 even in Enterprise was the fact the PowerShell command doesn't import xml files...... It has to be imported as a bin file. For the love of husked corn!

    I also cannot get the LayoutModification.xml to apply to my new user Start Menu. I have tried the powershell command and copying it into C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml. My XML works fine a machine that was installed via ISO. But on my imaged machines the changes are not applied. Any ideas? Another copyprofile bug?
      My System SpecsSystem Spec


  10. Joined : Aug 2015
    Posts : 13
    Windows 8.1
       2015-10-26 #219

    ws2000 said: View Post
    Any ideas? Another copyprofile bug?
    Yes, see my previous posts in this thread.
      My System SpecsSystem Spec


 
Page 22 of 52 FirstFirst ... 12202122232432 ... LastLast


Similar Threads
Tutorial Category
Default User Profile - Customize in Windows 10
How to Customize Default User Profile for New Accounts in Windows 10 Default User Profile is stored in a hidden folder in main profile folder Users. When a new user is created, either when installing Windows or any time later, Windows uses this...
Tutorials
Customize the Windows 10 Log-On and Log-Off Screen
how Customize the Windows 10 Log-On and Log-Off Screen in Build 10240? i like a black color! :confused:
Customization
Sysprep fails - Windows 10 build 10162
Hello Guys I'm trying to sysprep a Windows 10 Enterprise build 10162 so that i can capture, but i'm getting some errors and hope you guys have some sort of solution. I've tried removing The upgrade key in HKLM system, but that didn't help. ...
Installation and Setup
Sysprep fails fatally Windows 10 10122
I've tried to go into AUDIT mode to change the User profiles over to a different HDD on 10122. I get a fatal sysprep error. All i've used is an answer file with User profiles set to I:\Users Program Data is not moved, copyprofile not set. Only...
Installation and Setup
NCC Group to audit OpenSSL for security holes
Read more: NCC Group to audit OpenSSL for security holes | ZDNet
Windows 10 News
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 07:31.
Find Us
Twitter Facebook Google+



Windows 10 Forums