Page 51 of 52 FirstFirst ... 4149505152 LastLast

  1. Joined : Aug 2016
    Posts : 16
    Windows 10 Enterprise / Windows Storage Server 2012 R2 / Windows Server 2016 / unRAID
       2016-09-07 #500

    Also, you do not need to put the answer.xml on another drive like D or whatever.

    1) Go into %WINDIR%\Setup and create a folder called "Scripts."
    2) Right-click > New > Text Document within %WINDIR%\Setup\Scripts and name the new document SetupComplete.txt (it must have this name).
    3) Change the extension of the document from .txt to .cmd which will make it a single execution "script" after it's been used (so you will now have a SetupComplete.cmd file in your %WINDIR%\Setup\Scripts folder).
    4) Open SetupComplete.cmd with Notepad and inset the following script: del /Q /F c:\windows\system32\sysprep\unattend.xml
    5) The unattend.xml (change the name to whatever you name your answer file) is also automatically copied over to C:\Windows\Panther directory, so add a second line to your script in the same context, just for a different directory: del /Q /F c:\windows\panther\unattend.xml

    Now, once the unattend.xml has been utilized, and the deployment successful, the SetupComplete.cmd script runs and deletes the unattend.xml files. This allows you to keep them on the deployment distribution and not elsewhere, and also not have to worry about anyone gaining access to them and their sensitive material (passwords, etc.).

    This, for me, is quicker than keeping them off-site, so to speak, and having sysprep direct there for the answer file, and then I just run "cd sysprep," followed by "sysprep /generalize /oobe /unattend:unattend.xml /shutdown," in an elevated command prompt.
    Last edited by DrEmpiricism; 2016-09-07 at 09:53.
      My System SpecsSystem Spec


  2. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,038
    Windows 10 Pro
       2016-09-28 #501

    Note   Note
    Due resons related to my real life, mostly my neurological health issues, I have been quite inactive in this thread during the past weeks.

    Everything is looking better now and I am able to "get back in the saddle" , I will go through all unanswered posts within next 48 hours and will from now on reply to your posts faster.

    My apologies for delay and all inconvenience it has caused.

    Kari
      My System SpecsSystem Spec


  3. Joined : Jul 2016
    Posts : 16
    Windows 10
       2016-09-28 #502

    Kari said: View Post
    Note   Note
    Due resons related to my real life, mostly my neurological health issues, I have been quite inactive in this thread during the past weeks.

    Everything is looking better now and I am able to "get back in the saddle" , I will go through all unanswered posts within next 48 hours and will from now on reply to your posts faster.

    My apologies for delay and all inconvenience it has caused.

    Kari
    I'm glad everything is looking better and welcome back!
      My System SpecsSystem Spec


  4. Joined : Oct 2016
    Posts : 3
    Windows 7, Windows 10
       2016-10-13 #503

    I'm trying to create an unattend.xml file using WSIM to completely automate Windows 10 deployment so that no user intervention is required. I'm hitting a snag and still getting the following prompt.

    Does anyone know which settings control this?
    Click image for larger version. 

Name:	Capture.JPG 
Views:	27 
Size:	51.8 KB 
ID:	105820

    Thanks in advance.
    KIWI
      My System SpecsSystem Spec


  5. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,038
    Windows 10 Pro
       2016-10-13 #504

    UkiwiS said: View Post
    Does anyone know which settings control this?
    Add component amd64_Microsoft-Windows-International-Core (replace amd64 with x86 if 32 bit Windows) to settings pass OobeSystem and fill in locales, EN-US in case of US English and region USA.
    Click image for larger version. 

Name:	image.png 
Views:	35 
Size:	156.0 KB 
ID:	105839
    (Click / tap to enlarge.)

    The region will be set automatically based on locales, for instance if I set all locales to SV-SE (Swedish in Sweden) region will be Sweden, but using SV-FI (Swedish in Finland) region will be Finland.

    If using other than default locales of the install media (install.wim), required languages need to be installed before Sysprep. For instance if using US English install media you want locales set as UK English, you need to install UK English language pack in Audit mode before sysprepping, then set all locales to EN-GB.

    Kari
      My System SpecsSystem Spec


  6. Joined : Oct 2016
    Posts : 3
    Windows 7, Windows 10
       2016-10-13 #505

    Kari said: View Post
    Add component amd64_Microsoft-Windows-International-Core (replace amd64 with x86 if 32 bit Windows) to settings pass OobeSystem and fill in locales, EN-US in case of US English and region USA.The region will be set automatically based on locales, for instance if I set all locales to SV-SE (Swedish in Sweden) region will be Sweden, but using SV-FI (Swedish in Finland) region will be Finland.

    If using other than default locales of the install media (install.wim), required languages need to be installed before Sysprep. For instance if using US English install media you want locales set as UK English, you need to install UK English language pack in Audit mode before sysprepping, then set all locales to EN-GB.

    Kari
    Thanks for the prompt reply. I have it working on 64 Bit System but not 32-bit Windows

    x86_Microsoft-Windows-International-Core is missing but there is
    x86_Microsoft-Windows-International-Core-WinPE or
    wow64_Microsoft-Windows-International-Core

    I tried adding en-US settings in the windowsPE pass using x86_Microsoft-Windows-International-Core-WinPE but that didn't work. I then tried to add it to OobeSystem pass using wow64_Microsoft-Windows-International-Core but that also did not work. I'm really just clutching at straws!
      My System SpecsSystem Spec


  7. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,038
    Windows 10 Pro
       2016-10-14 #506

    UkiwiS said: View Post
    I have it working on 64 Bit System but not 32-bit Windows

    x86_Microsoft-Windows-International-Core is missing but there is
    x86_Microsoft-Windows-International-Core-WinPE or
    wow64_Microsoft-Windows-International-Core
    Naturally you cannot use a 64 bit install.wim to create a catalog file in WSIM for 32 bit Windows. Also, you cannot use WSIM on a 64 bit Windows to open 32 bit install.wim, if you try you will just get an error message:
    Click image for larger version. 

Name:	image.png 
Views:	28 
Size:	11.0 KB 
ID:	105907

    When WSIM, or rather Windows ADK (WSIM is just a module of ADK) is installed on a 64 bit Windows, you can only open 64 bit install.wim to create a catalog file, therefore most of the x86 components are not shown. To open 32 bit install.wim in WSIM it needs to be installed on 32 bit Windows.

    Like this:
    • WSIM installed in 64 bit Windows can only create catalog file from 64 bit install.wim
    • WSIM installed in 32 bit Windows can create catalog files from both 32 bit and 64 bit Windows

    When you have installed WSIM on a 32 bit Windows and opened a 32 bit install.wim, you will be able to create a correct catalog file and can find all 32 bit components:
    Click image for larger version. 

Name:	image.png 
Views:	33 
Size:	150.6 KB 
ID:	105908
    (Click / tap to enlarge.)

    A workaround in case you don't have a 32 Windows available to install WSIM, if WSIM is only available in 64 bit Windows is logical: make your answer file using 64 bit components, save it, open it in Notepad and replace all amd64 references with x86.


    UkiwiS said: View Post
    I tried adding en-US settings in the windowsPE pass using x86_Microsoft-Windows-International-Core-WinPE but that didn't work. I then tried to add it to OobeSystem pass using wow64_Microsoft-Windows-International-Core but that also did not work. I'm really just clutching at straws!
    It's not a good idea to improvise with an answer file. Thinking "Instructions clearly state I should do it like that but I'll try this instead" is a sure way to catastrophe.

    Kari
      My System SpecsSystem Spec


  8. Joined : Oct 2016
    Posts : 3
    Windows 7, Windows 10
       2016-10-14 #507

    Kari said: View Post
    It's not a good idea to improvise with an answer file. Thinking "Instructions clearly state I should do it like that but I'll try this instead" is a sure way to catastrophe.

    Kari
    Thanks for the detailed reply. I truly do appreciate it and you've helped me to understand what's happening.
    Cheers
    KIWI
      My System SpecsSystem Spec


  9. Joined : May 2016
    Posts : 7
    Windows 10 Pro
       4 Weeks Ago #508

    Hi, Love the details on this .. but I have something I hope you can help with.

    I am currently attempting to create an answer file that does the following;

    1. Remove the Store App shortcut from the taskbar - Succeeded
    2. Place my own shortcuts onto the taskbar - Succeeded
    3. Place my own group onto the tiles section and remove all other tiles - failed

    Here is my answer file so far (I have removed the activation key)

    Code:
    [<?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing></servicing>
        <settings pass="specialize">
            <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">
                <DesktopOptimization>
                    <GoToDesktopOnSignIn>true</GoToDesktopOnSignIn>
                    <ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
                </DesktopOptimization>
                <OEMInformation>
                    <Manufacturer>Smartbox</Manufacturer>
                    <Model>Gridpad</Model>
                    <SupportHours>9.00am - 5.30pm (Mon-Fri) 9.00am-5.00pm (Fri)</SupportHours>
                    <SupportPhone>+44 (0)1684 578868</SupportPhone>
                    <SupportURL>http:\\www.thinksmartbox.com</SupportURL>
                </OEMInformation>
                <WindowsFeatures>
                    <ShowInternetExplorer>true</ShowInternetExplorer>
                    <ShowMediaCenter>false</ShowMediaCenter>
                    <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
                </WindowsFeatures>
                <ComputerName>Gridpad</ComputerName>
                <CopyProfile>true</CopyProfile>
                <ProductKey>*****-*****-*****-*****-*****</ProductKey>
                <SignInMode>1</SignInMode>
                <DoNotCleanTaskBar>false</DoNotCleanTaskBar>
            </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">
                <BlockPopups>yes</BlockPopups>
                <Home_Page>http:\\www.thinksmartbox.com</Home_Page>
                <CompanyName>Smartbox</CompanyName>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
            </component>
        </settings>
        <settings pass="generalize">
            <component name="Microsoft-Windows-PnpSysprep" 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">
                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
            </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-GB</UILanguage>
                    <WillShowUI>Never</WillShowUI>
                </SetupUILanguage>
                <InputLocale>en-GB</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-GB</UserLocale>
            </component>
        </settings>
        <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">
                <DesktopOptimization>
                    <GoToDesktopOnSignIn>true</GoToDesktopOnSignIn>
                    <ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
                </DesktopOptimization>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Description>Local Administrator Account</Description>
                            <DisplayName>GPUser</DisplayName>
                            <Group>Administrators</Group>
                            <Name>GPUser</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <WindowsFeatures>
                    <ShowInternetExplorer>true</ShowInternetExplorer>
                    <ShowMediaCenter>false</ShowMediaCenter>
                    <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
                </WindowsFeatures>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <DoNotCleanTaskBar>false</DoNotCleanTaskBar>
                <TaskbarLinks>
                    <Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Sensory Software\Grid 3.lnk</Link0>
                    <Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk</Link1>
                </TaskbarLinks>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>c:\Windows\system32\cmd.exe copy c:\CustomStartLayout.xml C:\Users\GPUser\AppData\Local\Microsoft\Windows\Shell\</CommandLine>
                        <RequiresUserInput>false</RequiresUserInput>
                        <Order>1</Order>
                        <Description>Set Up Start Tiles</Description>
                    </SynchronousCommand>
                </FirstLogonCommands>
            </component>
            <component name="Microsoft-Windows-International-Core" 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">
                <InputLocale>eb-GB</InputLocale>
                <UILanguage>en-GB</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-GB</UserLocale>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:c:/windows/system32/sysprep/install.wim#img" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    The highlighted part is where I had hoped to copy my custom layout to the user shell, but all I get is an open command interface .. the copying doesn't work.

    My custom layout file looks like this;

    Code:
    <LayoutModificationTemplate Version="1" xmlns="http://schemas.microsoft.com/Start/2...utModification">
      <LayoutOptions StartTileGroupCellWidth="6" />
      <DefaultLayoutOverride>
        <StartLayoutCollection>
          <defaultlayout:StartLayout GroupCellWidth="6" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2...lDefaultLayout">
            <start:Group Name="Smartbox" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout">
              <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Sensory Software\Grid 3.lnk" />
              <start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Sensory Software\Utilities\Licence Manager.lnk" />
              <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Sensory Software\Utilities\Smartbox Update.lnk" />
              <start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Sensory Software\Utilities\Smartbox Support.lnk" />
            </start:Group>
            <start:Group Name="" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout">
              <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />
              <start:Tile Size="2x2" Column="2" Row="0" AppUserModelID="Microsoft.WindowsCamera_8wekyb3d8bbwe!App" />
            </start:Group>
          </defaultlayout:StartLayout>
        </StartLayoutCollection>
      </DefaultLayoutOverride>
    </LayoutModificationTemplate>
    Would be grateful for any help.
      My System SpecsSystem Spec


  10. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,038
    Windows 10 Pro
       4 Weeks Ago #509

    I use exclusively the easiest possible method to customize Start tile layout:
    • In Audit Mode when all software is installed, manually edit Start (remove / add tiles)
    • Export Start layout with PowerShell
    • Use Group Policy to force this layout to all users

    I have to admit that I have never even tried to use any other Start layout customization method in Windows 10 because the easiness of the above mentioned method.

    You could check if these Microsoft articles could give you more precise information:
      My System SpecsSystem Spec


 
Page 51 of 52 FirstFirst ... 4149505152 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 21:16.
Find Us
Twitter Facebook Google+



Windows 10 Forums