Jump to content

Ask your Seven xml ? here


Recommended Posts

I think I used to use xcopy to copy individual files back when everything worked, but I changed that (probably cause I saw no point in xcopy).

Oh and I found an article about search providers: http://support.microsoft.com/kb/2444193

Maybe it is related. I think it was ok until I actually launched IE - before that the provider was set correctly when I checked from control panel, internet options. I will try it again with different image, because I have no idea anymore - too many attempts and lost track.

Link to comment
Share on other sites


Yes, using IE9 I found some problem with customization inside Autounattend.xml and I use now my IE9.reg file saved. No problem found with IE8.

You can find help here and later:

http://www.msfn.org/...post__p__970068

I managed to solve it by manually removing Bing by editing registry before capturing the image :P Awkward but worked.

Link to comment
Share on other sites

Hey MaxXPSoft, I am pasting (unable to upload the xml, don't know why) my xml here and I have few problems, please help me solve these problems:

1. When I install my OS my user folder comes as read only folder, so I am unable to use silent installer of google chrome and some of the registries, I am trying with setupcomplete.cmd in "%windir%\setup" folder. How can I rectify this probelm?

2. Os is still sking for PC name and security settings (please see the screenshots), even after setting both the things in autounattend.xml.

3. Can I change the window color to black from default blue? I remember I have seen some where by which we can change the default from blue to some custom color, but not remember now.

2n9kk7d.jpg

fcqryp.png

<?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>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</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>
<Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>Alaska</FullName>
<Organization>Home</Organization>
</UserData>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<WillShowUI>Always</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>2</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
</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>PC</ComputerName>
<TimeZone>India Standard Time</TimeZone>
</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">
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<EnableLinksBar>false</EnableLinksBar>
<FilterLevel>Medium</FilterLevel>
<Home_Page>www.google.co.in</Home_Page>
<BlockPopups>yes</BlockPopups>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<PlaySound>True</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<ShowMenuBar>true</ShowMenuBar>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<Themes>
<ThemeName>C:\Windows\resources\Themes\Alaska.theme</ThemeName>
<DefaultThemesOff>false</DefaultThemesOff>
<DesktopBackground>%WINDIR%\web\wallpaper\Landscapes\img7.jpg</DesktopBackground>
</Themes>
<InputLocale>0409:00000409</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
</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">
<RegisteredOwner>Home</RegisteredOwner>
<TimeZone>India Standard Time</TimeZone>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<AutoLogon>
<Password>
<Value></Value>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
<DisplayName>Administrator</DisplayName>
<Name>Administrator</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
</unattend>

Edited by nice_guy75
Link to comment
Share on other sites

Again, I told you many times, removes those lines, because they are deprecated for Windows 7:

<OOBE>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

And try to give another name for your computer!

You have only one Administrator account !

Set SetupComplete.cmd inside: %DVD%\sources\$OEM$\$$\Setup\scripts\SetupComplete.cmd

http://technet.microsoft.com/en-us/library/dd744268(WS.10).aspx

Edited by myselfidem
Link to comment
Share on other sites

Again, I told you many times, removes those lines, because they are deprecated for Windows 7:

<OOBE>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

And try to give another name for your computer!

You have only one Administrator account !

Set SetupComplete.cmd inside: %DVD%\sources\$OEM$\$$\Setup\scripts\SetupComplete.cmd

http://technet.microsoft.com/en-us/library/dd744268(WS.10).aspx

Did you, I am sorry mate I don't remember. BTW thanks for your help. But can't we use "%windir%\Setup\Scripts\setupcomplete.cmd" to install some applications which require permission to access User (Administrator) folder, like google Chrome? Runonce registry is also not working

I also wish to know can shell command do the trick?

Edit: I have already tried shell command but not working.

Edited by nice_guy75
Link to comment
Share on other sites

Again, I told you many times, removes those lines, because they are deprecated for Windows 7:

<OOBE>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

And try to give another name for your computer!

You have only one Administrator account !

Set SetupComplete.cmd inside: %DVD%\sources\$OEM$\$$\Setup\scripts\SetupComplete.cmd

http://technet.microsoft.com/en-us/library/dd744268(WS.10).aspx

Did you, I am sorry mate I don't remember. BTW thanks for your help. But can't we use "%windir%\Setup\Scripts\setupcomplete.cmd" to install some applications which require permission to access User (Administrator) folder, like google Chrome? Runonce registry is also not working

I also wish to know can shell command do the trick? I have already

I think u better use "%SystemRoot%" instead "%WinDir%", even it's the same but the variable use for different purpose.

Link to comment
Share on other sites

I think u better use "%SystemRoot%" instead "%WinDir%", even it's the same but the variable use for different purpose.

See initiation of the installation is not the problem other silent installers are running fine, but "Administrator" is read only folder so chrome installer is unable to put the files in the Administrator folder, I have tried "ShellExecute" command of Autoit and it is also not working.

Anymore suggestions?

Link to comment
Share on other sites

I think u better use "%SystemRoot%" instead "%WinDir%", even it's the same but the variable use for different purpose.

See initiation of the installation is not the problem other silent installers are running fine, but "Administrator" is read only folder so chrome installer is unable to put the files in the Administrator folder, I have tried "ShellExecute" command of Autoit and it is also not working.

Anymore suggestions?

what chrome installer do u use? I use chrome offline instaler for "all user" (not only single user) n it work fine?

Link to comment
Share on other sites

what chrome installer do u use? I use chrome offline instaler for "all user" (not only single user) n it work fine?

Can you share the same with me? I have found one over here: https://www.google.com/chrome/eula.html?system=true&standalone=1

but I don't think this one is a silent installer further I don't want that first run window as well.

Link to comment
Share on other sites

Can you share the same with me? I have found one over here: https://www.google.com/chrome/eula.html?system=true&standalone=1

but I don't think this one is a silent installer further I don't want that first run window as well.

yes, I use that link to download google chrome offline installer for all user. it doesn't work for u? I login into my built in admin account I also found google chrome menu in all programs in start menu, but still we need to reconfigure that.

note: I dont trim my windows image (I'm not windows lite fans boys), I prefer use the existing windows component instead installing third party's software.

Link to comment
Share on other sites

Anymore suggestions?

I tested successfully with only Administrator account (like your example) but with this value: <LogonCount>3</LogonCount>


<AutoLogon>
<Password>
<Value></Value>
</Password>
<Enabled>true</Enabled>
<LogonCount>3</LogonCount>
<Username>Administrator</Username>
</AutoLogon>

And using SetupComplete.cmd and ChromeStandaloneSetup.exe inside: Distribution_Folder\$OEM$\$\Setup\Scripts (I don't know the silent switches for Google Chrome!)

SetupComplete.cmd


@echo off
cmd /c "%~dp0ChromeStandaloneSetup.exe"
exit

And all is fine and works! I hope that can help you.

Images Google Chrome

*Edit: However I downloaded ChromeStandaloneSetup.exe with Firefox; because for some reason I was unable to download with IE9!

*Edit 2: I found the workaround about downloading files with IE9 with links: https:// (example like: download link for ChromeStandaloneSetup.exe)

http://www.msfn.org/board/topic/142382-rt-seven-lite-rc-build-170-and-beta-build-260/page__view__findpost__p__985532

Edited by myselfidem
Link to comment
Share on other sites

Anymore suggestions?

I tested successfully with only Administrator account (like your example) but with this value: <LogonCount>3</LogonCount>


<AutoLogon>
<Password>
<Value></Value>
</Password>
<Enabled>true</Enabled>
<LogonCount>3</LogonCount>
<Username>Administrator</Username>
</AutoLogon>

And using SetupComplete.cmd and ChromeStandaloneSetup.exe inside: Distribution_Folder\$OEM$\$\Setup\Scripts (I don't know the silent switches for Google Chrome!)

SetupComplete.cmd


@echo off
cmd /c "%~dp0ChromeStandaloneSetup.exe"
exit

And all is fine and works! I hope that can help you.

Images Google Chrome

*Edit: However I downloaded ChromeStandaloneSetup.exe with Firefox; because for some reason I was unable to download with IE9!

*Edit 2: I found the workaround about downloading files with IE9 with links: https:// (example like: download link for ChromeStandaloneSetup.exe)

http://www.msfn.org/board/topic/142382-rt-seven-lite-rc-build-170-and-beta-build-260/page__view__findpost__p__985532

Wow, you are really a life saver man, I already have silent installer of Google Chrome, I would try this and let you know the result.

I also wish to know can I use OEM folder to apply some registries which require admin's privileges?

Link to comment
Share on other sites

I also wish to know can I use OEM folder to apply some registries which require admin's privileges?

You can add some registry settings inside the same folder location: Scripts. Example:

SetupComplete.cmd


@echo off
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
SET KEY=HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
echo.
REG ADD %KEY%\005 /V 1 /D "REGEDIT /S %SystemRoot%\Setup\Scripts\Tweaks.reg" /f
echo.
cmd /c "%~dp0ChromeStandaloneSetup.exe" /silent /install
exit

Image SetupComplete.cmd and Registry Tweaks

Or we can use FirstLogonCommand inside Autounattend.xml for registry keys using a batch file!

Edited by myselfidem
Link to comment
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.
×
×
  • Create New...