[B]Step 5: Customizing windows installation- Free for all[/B]
Ok this section is really up to you. Here you can make any changes you want to windows for when it is deployed. I will list some of the things I have done to give you an idea of what you might like to do. I’m sure you will come up with your own idea for how you want to customize windows 7. I suggest making snapshots as you go along.
Installed VNC 1.0.9 set password - This allows us to remote control machines across the network for support reasons.
Enabled Remote desktop (windows)- As a backup to VNC.
Added Sysinternals
Upgraded IE to 9
Disabled System restore- Not needed, FOG is our system restore
Set boot animation custom- I made my own custom windows boot animation- I animated our company logo- instead of the normal win 7 startup animation. It’s not hard to do, and you can download a neat tool to do it very easily here:
[url]http://www.coderforlife.com/projects/win7boot/[/url]
Your animation has to be 105 frames long- and it is 7 seconds long- running at 15/fps. The first 4 seconds play then the last 3 seconds loop until the machine starts up.
IMPORTANT NOTE: Some third party tools like can really ruin your day- I used another program to change the startup sound for win 7 and after a lot of trouble shooting figured out it was the cause of a problem I was having where the imaged machines were not working properly. That said I have fully tested the above boot animation changer tool and it works flawlessly.
Set Desktop background
Set win 7 basic theme as default
Set log on backgrounds in regedit- Here you can create custom logon screens. This is the screen before you logon. You can make one for each common resolution- and also set a default background for when it can’t find the right resolution.
- Start registry editor (Start>Regedit)
- HKLM\SOFTWARE\Policies\Microsoft\Windows\System
Click on background- and Create a new 32 bit DWORD called “useOEMBackground”. Set the value to “1”.
EDIT: I found that while this does work, it won’t use your other dimensions, only background default. You should actually modify this registry key:
[INDENT=1][COLOR=#333333][FONT=Arial][SIZE=13px]HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background Now in right-side pane, change value of [B][SIZE=13px]OEMBackground[/SIZE][/B] to [B][SIZE=13px]1[/SIZE][/B][/SIZE][/FONT][/COLOR][/INDENT]
[IMG]http://i1127.photobucket.com/albums/l629/Andrew_Hingston/31.png[/IMG]
Now you have to create the folders in C:\Windows\System32\oobe\info\backgrounds
Now place all of your background files in that folder. You have to name them in this fashion:
background1024x768, background1920x1080 etc. The images you make should be the correct dimensions or they won’t work. Also they can’t be over 250 kilobytes or they won’t work. I use Photoshop’s save for web feature which cuts the size down of images greatly.
Now users will see a custom background when they get to the log on screen.
Set a few local accounts for our company that we use
Set default user account picture
Local Group policies
Load specific theme
Prevent users changing theme (can still change background/window colours etc)
Allowed users to install print drivers/usb hub drivers
Set screen to 15 min Lock out
Prevent changing screen saver/password on wake up
(SECPOL) Behaviour of the elevation prompt for admins in admin approval mode: Evaluate without prompting
(SECPOL) Interactive Logon hide last user
(SECPOL) Switch to the secure desktop prompt for elevation: disabled
Windows Defender off
Power options: never turn off hard disk
Remove windows media centre
Turn off all warning messages in windows action centre
Set OEM information via regedit- Here you can customize what it says when viewing system properties. You can do this via a regedit. Just copy and paste the below into a .reg file and edit the field I mark in red.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation]
“Manufacturer”=“Kramerica Industries”
“Logo”=“C:\Windows\System32\oemlogo.bmp”
“SupportHours”=“24/7”
“SupportPhone”=“555-5163”
“SupportURL”=“[url]http://www.overclockers.com.au/[/url]”
You also need to create a .bmp file in the location C:\Windows\System32\ called “oemlogo.bmp”, it should be no bigger than 115x115 pixels.
Recuva
Speccy
X64 ICON RESTORER
CCleaner
Windows Updates- We pointed our image to our WSUS server, and installed as many updates as possible before upload.
Again, the above is just an example, you don’t have to follow these steps if you don’t want- that said I will make a couple of exceptions and say that the secpol (secpol.msc) changes really are necessary and you should do them. If not you can cause problems with snapins prompting for approval, instead of being fully unattended.
[B]Step 6: An important thing to do[/B]
Now you need to place your unattend.xml file in it’s location. This location is the same for both x64 and x86 images:
C:\Windows\System32\sysprep
[IMG]http://i1127.photobucket.com/albums/l629/Andrew_Hingston/32.png[/IMG]
Your unattended file will be processed during sysprep.
[B]Step 7: First log on script- This is important![/B]
After FOG has imaged your computer and setup has run, windows will run a script that we will now make. You need to make a folder called “scripts” in the C:\Windows\setup\ directory:
[IMG]http://i1127.photobucket.com/albums/l629/Andrew_Hingston/33.png[/IMG]
In the scripts folder you need to create a .cmd script called “setupcomplete.cmd”. Copy and paste the below into this script.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo off
del /Q /F c:\windows\system32\sysprep\unattend.xml
del /Q /F c:\windows\panther\unattend.xml
START C:\Drivers\SAD2-111118\DP_Install_Tool.cmd
Exit
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This script will perform three critical things: It will delete your unattend.xml file from the original location and the location it is copied to during sysprep, and it will also call the wonderful SAD2 driver install tool to run. I will explain more about the SAD 2 drivers tool in the next step.
[B]Step 8: Drivers- SAD2[/B]
This is the method this guide uses to install drivers on any machine after the initial imaging.
Essentially after install on first logon, the “setupcomplete.cmd” script will call the “SAD2” driver tool to run. The SAD2 driver tool was made by community members of the driverpacks.net forums.
[B]UPDATE:[/B] There is some confusion on which version to use, how to modify it, where to download it, etc, so I’m making it very simple.
You can download the folder which has the SAD2 script already modified and the correct folder structure setup. There is no need to download the latest version of the SAD2 script from driver packs forums.
[B]DOWNLOAD THE FILE AT THE BOTTOM OF THIS POST.[/B]
[COLOR=#000000][SIZE=3][FONT=Open Sans]If you can’t download it from there PM me and I will email it to you.[/FONT][/SIZE][/COLOR]
First, extract the .zip archive and you will get a folder called “Drivers”.
Put this folder “drivers” in root of C:\
Then download the driver packs you want from here:
[url]http://driverpacks.net/driverpacks/latest[/url]
If it is [B]x64 bit image[/B] you are making, put driver packs here:
C:\Drivers\SAD2-111118\NT6\x64\
Or [B]here for x86:[/B]
C:\Drivers\SAD2-111118\NT6\x86
[IMG]http://i1127.photobucket.com/albums/l629/Andrew_Hingston/35.png[/IMG]
This is what SAD2 looks like:
[IMG]http://i1127.photobucket.com/albums/l629/Andrew_Hingston/34.png[/IMG]
So in the x64 image you only put the 64 bit drivers into the x64 folder, and for the x86 image you only put the 32bit drivers into the x86 folder.
I made a few changes to the “DP_Install_Tool” to make it fully unattended, and also so that it restarts the PC after the drivers have been installed, and deletes the driver packs from the image.
I suggest creating another snapshot and testing that the tool runs correctly. You can also try the tool out manually. Just manually run the DP_Install_tool.cmd and it will install required drivers for your machine.
[url=“/_imported_xf_attachments/0/608_Drivers.zip?:”]Drivers.zip[/url]