• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
maxXPsoft

Ask your Seven xml ? here

616 posts in this topic

Thank you for your detailed answer. It helps me alot.

Edited by Tomorrow
0

Share this post


Link to post
Share on other sites

Hello all,

Does anybody know how to skip the reboot progress bar with the 10 seconds ? I can't find any entry for this into "autounattend.xml"

Thanks !

0

Share this post


Link to post
Share on other sites

Way back with early XP i was sitting there one day and clicked the Restart button and on reboot it BSOD. From that day forward I'll wait it out. :w00t:

Probably have to hack a dll. Don't think it is nowhere in xml settings.

0

Share this post


Link to post
Share on other sites

Has anyone seen a barebones template for Windows 8 anywhere. Not looking for fancy, looking for generic so I can refer people here from social.technet.

What do you think Max, should we send W8 people to this thread, would you host the XML's in the first post. My guess is 90% of their questions are gonna already be answered in this thread.

0

Share this post


Link to post
Share on other sites

Has anyone seen a barebones template for Windows 8 anywhere. Not looking for fancy, looking for generic so I can refer people here from social.technet.

What do you think Max, should we send W8 people to this thread, would you host the XML's in the first post. My guess is 90% of their questions are gonna already be answered in this thread.

I have one picked up from LiveFreeDead. I can add link to first post but I'll show it here cause it does some interesting things to

Enable FirstLogon As Admin

Comp Flags for setupcomplete.cmd

Windows 8 xml is almost exactly same as Win 7. Some things changed

Example Windows 8 xml. Download Link in first post here

Technet - You'll notice some new stuff in <OOBE>

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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>
<InputLocale>en-US</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</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>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>Home</Organization>
<FullName>Computer</FullName>
</UserData>
</component>
</settings>
<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">
<ComputerName>PCNAME</ComputerName>
</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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Description>Enable FirstLogon As Admin</Description>
<Path>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%WINDIR%\Setup\Scripts\FirstLogon.cmd" /t REG_SZ /d "RUNASADMIN" /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Description>Comp Flags for setupcomplete.cmd</Description>
<Path>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%WINDIR%\Setup\Scripts\setupcomplete.cmd" /t REG_SZ /d RUNASADMIN /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>Enable Admin Account</Description>
<Order>5</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Description>Post Setup OEM</Description>
<Order>100</Order>
<CommandLine>cmd /c %WINDIR%\Setup\Scripts\FirstLogon.cmd</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<TimeZone>Tasmania Standard Time</TimeZone>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Default Administrator Account</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</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>en-AU</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-AU</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-AU</UserLocale>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/build8/win8x64/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Way back with early XP i was sitting there one day and clicked the Restart button and on reboot it BSOD. From that day forward I'll wait it out. :w00t:

Probably have to hack a dll. Don't think it is nowhere in xml settings.

I agree with you maxXPsoft, and yes it's needed to hack a dll.

Regards

0

Share this post


Link to post
Share on other sites

Thanks Max. I ripped out the stuff I didn't like, made it en-US across the board and put it to Chicago time. Readers just need to search for "EDIT" and make minor changes. I've tested the x86 version in a VM and it worked for me.

Windows 8 - x86

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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>
<InputLocale>en-US</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" 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>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>EDIT</Organization>
<FullName>EDIT</FullName>
</UserData>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>EDIT</ComputerName>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" 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">
<Description>Enable Admin Account</Description>
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>false</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>false</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<TimeZone>Central Standard Time</TimeZone>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>EDIT</Value>
<PlainText>true</PlainText>
</Password>
<Description>Default Administrator Account</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" 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>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/build8/win8x64/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Windows 8 - amd64

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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>
<InputLocale>en-US</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</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>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>EDIT</Organization>
<FullName>EDIT</FullName>
</UserData>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<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">
<ComputerName>EDIT</ComputerName>
</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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>Enable Admin Account</Description>
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>false</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>false</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<TimeZone>Central Standard Time</TimeZone>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>EDIT</Value>
<PlainText>true</PlainText>
</Password>
<Description>Default Administrator Account</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</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>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/build8/win8x64/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

EDIT: Added skip auto activation to specialize pass for preserving readers MAK keys. I'll need to double check the oobe, there might be a few useless settings in this, work in progress

Edited by MrJinje
0

Share this post


Link to post
Share on other sites

Question:

<ProtectYourPC>, what exactly do the settings do?

I know which popup it is and what the values are, but it's not exactly clear what they do.

1 Specifies the recommended level of protection for your computer.

2 Specifies that only updates are installed

3 Specifies that automatic protection is disabled.

blabla... What in the hell is recommended level of protection? What's automatic protection?

0

Share this post


Link to post
Share on other sites

blabla... What in the hell is recommended level of protection? What's automatic protection?

It picks from the 3 Update options in OOBE. I can't find a good picture of it, but it is equivalent to "Install Updates Automatically (Recommended)" option in the "Choose how Windows can install updates" page in Control Panel.

0

Share this post


Link to post
Share on other sites

Do you mean it is ONLY related to Windows Update? The description is bloody confusing!

0

Share this post


Link to post
Share on other sites

Yes description is not good. You must set it or get the popup. I have always used <ProtectYourPC>3</ProtectYourPC> so it may be also for defender and Security essentials if you have nothing else.

I also use reg to make sure at Firstlogoncommands it checks but let me decide.

;62 Microsoft Update settings

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]

"AUOptions"=dword:00000002

"IncludeRecommendedUpdates"=dword:00000001

0

Share this post


Link to post
Share on other sites

Yeah I am doing more or less the same thing and it works like a charm.

I absolutely hate how by default WU installs those screwed up drivers for everything before you remember to check what's going on in the background. Usually the bloody thing gladly overwrites drivers you install during unattended setup!

I am a bit lost with something else atm though. I am playing around with some cosmetic nonsenses. Right now I am trying to set an icon for the standard windows.delete shell command, but there's permissions problem of some sort. I've always sucked at understanding this part of Windows, unfortunately.

What I want to do is mount an image, load registry, and change some values. 99% of things work well, but for (I assume) security reasons some keys are kind of protected or locked.

This is what I'm trying to import into the mounted registry:

[HKEY_LOCAL_MACHINE\Wim_Software\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.delete]

"Icon"="imageres.dll,-89"

I just can't change this value at all. Digging into it a little I realized the local administrator account I am running under only has read permissions! Wth! I eventually managed to take ownership and change it, but it's pain in the a**, and naturally this is supposed to be part of what a batch file does. How should I go around this specific thing?

Edited by TheWalrus
0

Share this post


Link to post
Share on other sites

Do you mean it is ONLY related to Windows Update? The description is bloody confusing!

It certainly is. And the worst part is there is no setting you can use to pick the "Check for updates but let me choose whether to download and install them" setting. :(

I just can't change this value at all. Digging into it a little I realized the local administrator account I am running under only has read permissions! Wth! I eventually managed to take ownership and change it, but it's pain in the a**, and naturally this is supposed to be part of what a batch file does. How should I go around this specific thing?

What had the permission before? Was it TrustedInstaller?

0

Share this post


Link to post
Share on other sites

Yup, trustedinstaller. No idea what that is.

0

Share this post


Link to post
Share on other sites

About Trustedinstaller:

Windows Resource Protection

The "Trusted Installer" account is used to secure core operating system files and registry keys. Protected files and registry keys have an access control list applied that prevents other user accounts and programs that execute under any other user account except the TrustedInstaller account from making changes.

You need takeownership to change a file protected with owner trustedinstaller !

About Auto Update, I use this reg file, like shown by maxXPsoft:

AutoUpdate.reg


Windows Registry Editor Version 5.00

;-------------------------------------------------------------------
; - Configuring Automatic Updates: Options Updates Windows Updates -
;-------------------------------------------------------------------
; AUOptions:1|2|3|4
; 1 = Never check for updates (not recommended)
; 2 = Search for updates but let me choose whether to download and install
; 3 = Download updates but let me choose whether to install them
; 4 = Install updates automatically
; ScheduledInstallDay
; Range = 0|1|2|3|4|5|6|7. 0 = Each day; 1 to 7 = days of the week from Sunday (1) to Saturday (7)
; Recommendation = 0
; ScheduledInstallTime
; Range = n; where n = Time of day in 24-hour format (0-23). Recommendation = 1

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
"ConfigVer"=dword:00000001
"ElevateNonAdmins"=dword:00000001
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000003
"IncludeRecommendedUpdates"=dword:00000001
"EnableFeaturedSoftware"=dword:00000001

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Hey Walrus, if you want to try editing the registry as trustedinstaller without changing permissions, might be easier with the dvexexec.exe tool

devxexec.exe /user:TrustedInstaller regedit.exe

Or maybe you can edit this snip to reg add as TrustedInstaller at the command line. Keeps it simple and stupid, compared to batch scripting SetACL take ownership. EDIT: It cannot pass a variable to the command line, but it can run a batch file directly, so that's a start.

devxexec.exe /user:TrustedInstaller mybatch.cmd

reg add HKLM\Wim_Software\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.delete /v "Icon" /t REG_EXPAND_SZ /d "C:\pathto\myicon.ico"

Edited by MrJinje
0

Share this post


Link to post
Share on other sites

That doesn't sound bad. Will give it a shot. Thanks.

0

Share this post


Link to post
Share on other sites

Hi,

I've got an annoying problem with my current autounattend.xml (generated and successfully checked by SIM).

I want to flexibly install Windows 7 x86 SP1 (and x64 later on) for any edition (at start selected by the user).

Unfortunately, while processing the xml file Windows setup throws an error, saying that the settings for unattended setup couldn't be applied [offlineServicing].

Edit: A screenshot of this error has been posted here.

I tried commenting out the offlineServicing part, that didn't fix it. I verified version="6.1.7601.17514" and stuff, but no chance.

Now, I've got no clue what's wrong as I cannot check for logs in the virtual machine for the (failed) installation (some MSCE guy advised that).

See below what I've got so far.

Any tips, tweaks and additions are highly welcome! :yes:

Autounattend.xml

Edited by Mikka
0

Share this post


Link to post
Share on other sites

Try your install without using the <servicing> object you have at the top.

There seems to be some issues with how those are setup anyways. For example, you have "FreeCell" but the help says "InboxGames\FreeCell" instead.

Is every install to be disabling these packages? Did you try using DISM to disable these features in the install.wim?

WSIM validating is not a 100% check on everything, because it has rules for the objects, and checks the XML syntax but it doesn't actually compare it against a live setup. So there are still ways to have a valid (as per WSIM) xml and still generate an error, such as you have seen here.

0

Share this post


Link to post
Share on other sites

<servicing> is most likely the answer as Tripredacus said.

I have Win 7 Pro and from the feature export Dism /image:C:\zMountDir /Format:Table /Get-Features > %userprofile%\Desktop\zFeatures.txt

on a mounted image there is this which means it is removing it anyway which might cause errors.

Feature Name : Hearts
State : Disable Pending

Feature Name : FreeCell
State : Disable Pending

There is a way to capture the log files. Look here

0

Share this post


Link to post
Share on other sites

Try your install without using the <servicing> object you have at the top.

There seems to be some issues with how those are setup anyways. For example, you have "FreeCell" but the help says "InboxGames\FreeCell" instead.

You were right, after removing <servicing> the setup doesn't complain any more.

Good idea checking for "InboxGames\...", however it doesn't work. It's a tedious task to check which line is the culprit.

(Nice Microsoft ****-up by the way, thank SatanGod I'm no "regular" Windows admin.)

I have Win 7 Pro and from the feature export Dism /image:C:\zMountDir /Format:Table /Get-Features > %userprofile%\Desktop\zFeatures.txt

on a mounted image there is this which means it is removing it anyway which might cause errors.

Hm, I'd played around with dism 2 years ago, there were quite a few glitches giving me a rough time.

Maybe I'll revert to WinToolkit 1.5.0.1 to sort out some components.

There is a way to capture the log files. Look here

Thanks for the hint, I'll have a look at it. :)

Unfortunately, my Autounattend.xml still has got some flaws...

I'd like to install whatever w7 edition was selected at start, without pasting keys from \sources\product.ini.

That's why I manually changed the <ProduKey><Key /> part and also the file ei.cfg to read:

[EditionID]

[Channel]

OEM

[VL]

0

Now the following window pops up:

post-89609-0-42676100-1351194648_thumb.j

I need to unset the tick and click on Skip / Überspringen to continue. That's bad.

After that another window appears to activate some default settings, in short: my unattended setup is gone!

Edited by Tripredacus
0

Share this post


Link to post
Share on other sites

(Nice Microsoft ****-up by the way, thank SatanGod I'm no "regular" Windows admin.)

Language like this will not be tolerated. Don't do it again. :angry:

0

Share this post


Link to post
Share on other sites

Sorry for the expression, I was miffed about the SIM labour...

It won't happen again.

0

Share this post


Link to post
Share on other sites

I could use some help with some batch files basics.

I am installing various software during FirstLogonCommands. It is done with two different commands actually, one is basic installation package for anything, and the other are some additions for specific machines. The last command starts the WinSAT index "recount" or however is it called.

I am not very educated about batch scripting, and I could use some help explaning a few things.

What exactly is the difference between simply putting "somefile.cmd" in the command and using "cmd /c" and "start /wait"? I read some documentation on ss64 but it's very unclear to me.

I also don't want the commands to run in parallel, I need them to be executed one after each other.

edit: Let me elaborate further.

            <FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>cmd /c start /wait %SystemRoot%\setup\scripts\install-basic.cmd</CommandLine>
<Description>ruzne instalace</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine>cmd /c start /wait %SystemRoot%\setup\scripts\install-extra.cmd</CommandLine>
<Description>ruzne instalace</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<CommandLine>cmd /c start /min winsat formal</CommandLine>
<Description>WinSAT</Description>
</SynchronousCommand>
</FirstLogonCommands>

Why does the above open command prompt, run the script, BUT doesn't close the window when finished installing what it should? If I type exit it moves onto the next one. I don't get it.

Edited by TheWalrus
0

Share this post


Link to post
Share on other sites

Using the Start /wait they should run one after the other

put Exit on last line of each file

on the winsat you could put cmd /k which tells it to carry it out and continue

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.