Jump to content
ZooBooBooZoo

What's the best way to add tweaks to an Unattended Win7 Install?

Recommended Posts

You can use reg file(s) (can be imported in WinToolkit), custom Autounattend.xml file, and WinToolkit itself have some of these.

Don't know for WAIK.

Share this post


Link to post
Share on other sites

a thread about Autounattend.xml

 

 

Here is an example to disable the system restore (for x86 & x64)

<settings pass="specialize">        <component name="Microsoft-Windows-SystemRestore-Main" 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">            <DisableSR>1</DisableSR>        </component>                       <component name="Microsoft-Windows-SystemRestore-Main" 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">            <DisableSR>1</DisableSR>        </component>    </settings>    

Share this post


Link to post
Share on other sites

This works using Autounattend.xml, gather all you tweeks into one .reg file and create a WinRAR SFX

 

Create SFX

 

Compression: Store

Place SFX script commands in tab commands:

 

----- START SFX SCRIPT ------

;The comment below contains SFX script commands
Setup=regedit.exe /S Win7_Setup.reg
TempMode
Silent=1
Overwrite=1

----- END SFX SCRIPT ------

 

Create a folder called $oem$ within that folder create another called $1 put your SFX in the $1 folder then put the $oem$ in the sources folder

 

<--- Autounattend.xml Script--->

 

    <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">
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                <Order>1</Order>    
                <CommandLine>fsutil behavior set EncryptPagingFile 1</CommandLine>
                <Description>Encrypt the Pagefile</Description>
                </SynchronousCommand>    
                <SynchronousCommand wcm:action="add">
                <Order>2</Order>    
                <CommandLine>%Systemdrive%\WPI\WPI.exe</CommandLine>
                <Description>Program Installation</Description>
                </SynchronousCommand>    
                <SynchronousCommand wcm:action="add">
                <Order>3</Order>
                <CommandLine>%Systemdrive%\Win7_Setup.exe</CommandLine>
                <Description>Registry Settings</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                <Order>4</Order>
                <CommandLine>shutdown /r /f /t 60 /c "This system will restart in 60 seconds..."</CommandLine>
                <Description>Reboot System</Description>
                </SynchronousCommand>
            </FirstLogonCommands>

 

<---End Autounattend.xml Script--->

 

Your Settings are applied at first logon with a reboot

Edited by Jim Brisse

Share this post


Link to post
Share on other sites

Nice app, fits my needs nicely. One comment, on the download page http://www.wincert.net/forum/topic/9409-tool-dxtool/  "DXTool x86 v1.1.5.5" when you click "Download" s3.amazonaws.com wants to download it without a file extension (.exe).

 

is the security of IE that does this (file .exe ehh), download from another browser and you will be OK

 

Ciao.

Edited by OnePiece

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...