Can someone help me with a simple guide to using 'cmdlines.txt'? I'm hopelessly lost!
#1
Posted 27 September 2003 - 04:53 PM
#2
Posted 27 September 2003 - 04:56 PM
cmdlines.txt goes in the $OEM$ folder
add this to cmdlines.txt
[COMMANDS] ".\INSTALLS.CMD"
now create a batch file called INSTALLS.CMD and put that in the $OEM$ folder then you can add waht you want to the batch file which will run around the 13 mintue mark in the XP Setup Screen.
EDIT: remeber that the stuff you put in the batch file must be under the $OEM$\$1\install folder.
#3
Posted 27 September 2003 - 05:03 PM
#4
Posted 27 September 2003 - 05:21 PM
#5
Posted 28 September 2003 - 04:12 AM
The CMDLINES.TXT file is parsed by Windows Setup after copying the $OEM$\$* directories and included files, and after running aditional inf files that may be listed in DOSNET.INF (SVCPACK.INF for example - the Slipstream Hotfix Inf file), at around the T-13 minutes mark. The syntax used is a subset of that used in normal .BAT and .CMD files, and for that reason it is easier to call a .CMD file from CMDLINES.TXT, where the syntax is richer and more familiar. The first line of CMDLINES.TXT should read [COMMANDS]. Additional lines could contain calls to various programs and setup files, wrapped in quotes. However, it seems to have become a de-facto standard to simply call one command script that contains all subsequent commands and program calls. The name of the called file listed in CMDLINES.TXT is user definable, but an 8.3 named file (FILENAME.EXT) listed in the same directory is the simplest and safest. For the sake of this example, I will name the .CMD file INSTALLS.CMD. My complete CMDLINES.TXT should now look like this:
[COMMANDS] ".\INSTALLS.CMD"You could add multiple calls to the CMDLINES.TXT file, but is unnecessary, and complicates the debugging process.
INSTALLS.CMD
This is a standard command script file, using the normal command script syntax. You are not limited in script instructions nor program calls in this file itself, though certain programs/instructions may not work, due to the unfinished state of the windows setup. An example is the NET USE command, which you cannot use, as the Workstation service has not been started, and is required by the NET USE command. In terms of file manipulation, and program installation, INSTALLS.CMD will usually be sufficient for your installation needs. This file can often simply be the file that many use to install programs, called from the GuiRunOnce section of WINNT.SIF.
The advantages of this method are that the system is logged onto the Default User profile, and changes made there are subsequently copied over to each new user, including the administrator, as that user is created. At the point CMDLINES.TXT is parsed, the only user profile that exists is the Default User profile. Installations from the GuiRunOnce WINNT.SIF section will not necessarily be installed for all users.
The major disadvantage I have seen to this method is that is perhaps a little more complicated. I do not find this to be the case personally, but judging from comments here …
Following are some pointers, and an attempt to clear up some misconceptions of this process. This is based on my installations, as well as certain MS documents that I have read (though they are not always correct …). Let me note that I NEVER use a $1, $$, C, or such directory in $OEM$, thus I cannot be certain that what I mention here is the same for those of you using these $OEM$ sub-directories as the means to copy files to your hard disk.
1) When CMDLINES.TXT is parsed, thus the call to INSTALLS.CMD made, the working directory is <CDDRIVE>:\$OEM$.
2) The only files copied from $OEM$ to the hard disk are those included in reserved subdirectories ($$, $1, C, D, etc). Files in the root of $OEM$ and subsequent, non-reserved directories (i.e. <CDDRIVE>:\$OEM$\SETUPS\) are NOT copied to the HDD.
3) You do not need to place your setup programs in $OEM$\$1\Installs. This is only interesting to do if you wish to access these programs AFTER the GUI reboot, when you are no longer able to access files on the CD, as you cannot know the drive letter (USUALLY D:, but it is hardware dependent). You can access the files on the CD from CMDLINES.TXT using relative paths (i.e. “.\SETUPS\SETUP1.EXE"), and they do NOT need to be copied to the HDD first. The reason to copy the files to the HDD is that there is not an easy mechanism to know which drive letter the CD has been assigned during the post GUI Reboot portion of setup.
4) A list of available environment variable for CMDLINES.TXT calls follows:
D:\$OEM$>SET ALLUSERSPROFILE=C:\Documents and Settings\All Users CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=NEWXP ComSpec=C:\WINDOWS\system32\cmd.exe Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS ProgramFiles=C:\Program Files PROMPT=$P$G SystemDrive=C: SystemRoot=C:\WINDOWS Upgrade=False USERPROFILE=C:\Documents and Settings\Default User windir=C:\WINDOWS __PROCESS_HISTORY=C:\WINDOWS\system32\setup.exe D:\$OEM$>
5) This is the ideal place to make changes to the HKCU settings that will not "stick" when made after this point, namely the Explorer and Internet Explorer default settings. This is because both these applications (so it appears to me...) save their settings when logging off. At the point the CMDLINES.TXT calls are made, contrary to the GuiRunOnce calls, the Explorer shell is not graphically "active", thus does not save settings that overwrite your own registry imports.
For the non-believers and pros who know better, please note that 1 above can be verified by adding the following line to INSTALLS.CMD
START "DOS BOX" /WAIT CMDA DOS window will open during setup, and you will see the working directory. From a DOS window points 2 and 3 can be verified. If you do not want to open a DOS window from INSTALLS.CMD as shown above … just type SHIFT-F10 at this point, and a DOS window will open.
This is based on my installation method (NO $OEM$\$...), and the information I share here is based on classic reverse engineering techniques more than relying on (often incorrect or incomplete) official documentation. I do everything from the CMDLINES.TXT call, and it works for me. I do not use the GuiRunOnce for anything: I have completed all I need before this point. An example of what can be done at this point (my INSTALLS.CMD file):
@ECHO OFF TITLE Post Install Setup :: ---------- Update MS Components ECHO Starting DirectX 9 Install. START "DirectX 9 Install" /WAIT ".\DIRECTX\DXSETUP.EXE" /opk ECHO Starting Internet Explorer 6 Install. START "Internet Explorer 6 Install" /WAIT ".\IE\ie6setup.exe" /C:"IE6WZD /S:""#e"" /Q:A /R:N" ECHO Media Player and Movie Maker Install. START "MP MM" /WAIT ".\SVCPACK\WMP9_MM2.exe" ECHO Installing Dot Net. START "Dot Net" /WAIT ".\SVCPACK\dotnetfx.exe" /Q:A /c:"install /q" ECHO Installing MDAC 2.8. START "MDAC" /WAIT ".\SVCPACK\MDAC_TYP.EXE" /Q:A /c:"dasetup.exe /q /n" ECHO Updating Microsoft JavaVM. START "JAVA" /WAIT ".\SVCPACK\msjavwu.exe" /Q:A /R:N ECHO Hotfixing. START "HOTFIX" /WAIT ".\SVCPACK\KB819639.exe" /Q:A /R:N :: ---------- Adjust the Registry ECHO Importing Registry Files. START "" /WAIT REGEDIT /S ".\SVCPACK\HKLM.reg" START "" /WAIT REGEDIT /S ".\SVCPACK\HKCR.reg" START "" /WAIT REGEDIT /S ".\SVCPACK\HKCU.reg" :: ---------- Remove files I do not like ECHO Removing useless shortcuts. RMDIR "%ALLUSERSPROFILE%\Start Menu" /S /Q RMDIR "%USERPROFILE%\Start Menu" /S /Q ECHO Removing useless folders. RMDIR "%systemdrive%\Program Files\ComPlus Applications" /S /Q RMDIR "%systemdrive%\Program Files\Online Services" /S /Q RMDIR "%systemdrive%\Program Files\Uninstall Information" /S /Q ECHO Removing HotFix Log Files. DEL "%SYSTEMROOT%\*.log" /Q /F DEL "%SYSTEMROOT%\*.txt" /Q /F DEL "%SYSTEMROOT%\*.tmp" /Q /F DEL "%SYSTEMROOT%\TEMP\*.*" /Q /F DEL "%USERPROFILE%\*.log" /Q /F :: ---------- Add files I do like ECHO Installing Custom Windows Files. XCOPY ".\PROFILES\All Users\*.*" "%ALLUSERSPROFILE%\" /E /C /Y /Q /H XCOPY ".\PROFILES\Default User\*.*" "%USERPROFILE%\" /E /C /Y /Q /H COPY ".\SVCPACK\HKCU.reg" "%systemroot%\System32\" :: ---------- Fix up the User Accouints ECHO Deleting Useless Accounts. NET USER aspnet /DELETE NET USER SUPPORT_388945a0 /DELETE ECHO Setting up Users. NET USER SysAdmin SysAdmin /ADD /COMMENT:"System Administrator Account" /PASSWORDREQ:YES NET USER User User /ADD /COMMENT:"Local User Account" /PASSWORDREQ:YES NET LOCALGROUP Administrators SysAdmin /ADD NET USER Administrator /ACTIVE:NO EXIT
Bottom line ... whatever floats your boat. The better method is that with which you feel more comfortable, and that which best meets your requirements. I have multi-user systems, and insist that all my modifications are valid for all users. I have no need for the GuiRunOnce, you may.
#6
Posted 28 September 2003 - 09:59 AM
I put a lot of time into the guirunonce method but I think your clear explanation has swung it for me to go with your method.
cheers.
#7
Posted 28 September 2003 - 11:32 AM
Want to try that method but brain is just not here today...not sure where to start but sounds cool
#8
Posted 28 September 2003 - 12:46 PM
Quote
Greenmachine: Yes, you are correct with a CD install. I do not deal with many CD installs and that is why we had an argument about this. In a network installation or using RIS it is completely different. At this point of the setup Windows cannot authenticate to network drives/servers so in such installations these files ARE copied locally. Sorry to have caused a fuss over this days ago.
#9
Posted 28 September 2003 - 01:19 PM
Fear not, I think that most of the work you put into the GuiRunOnce code and calls can be used here with little or no modification. I have edited the post above to include a list of available environment variables.
Perhaps I should not be the one to say which method is "better": I have never tried any calls from GuiRunOnce...
Last point: I just learned about the shift-f10 thing. Could have saved me hours...
un4given1: you can change your name to 4given1. Peace. (I was that obvious in my finger pointing...?)
#10
Posted 28 September 2003 - 01:20 PM
I have just tried this method and the installation wouldn't allow me to overcopy the ntuser.dat file i have from a tweaked user to the default user's directory. I presume this would contain a lot of the visual tweaks etc.
Could I try renaming the default user directory first to default user.old perhaps and then recreate the directory using my personalised one as per this section of installs.cmd? Or is the ntuser.dat in use at this stage of an installation and there is nothing I can do?
The default user.exe is a self extracting silent rar of a previously saved personalised user profile.....and yes i did ensure "Everyone" can use it when saving.
CLS @echo off ECHO. ECHO Renaming Default User Directory ren "%systemdrive%\documents and settings\default user" "%systemdrive%\documents and settings\default user.old" ECHO. ECHO Creating a custom default user ECHO Please wait... start /wait %systemdrive%\install\defaultuser.exe rem Change this username set _USER=Dood net user %_USER% "" /add >nul net localgroup administrators "%_USER%" /add>nul %SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%_USER%" /f %SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserPassword" /d "" /f %SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f
This thread is in danger of getting lost in the myre of less important threads and after weeks of reading the unattended pages it is the first one for a while that has really got my attention as it is an alternative way. Perhaps Aaron might sticky this if it develops?
#11
Posted 28 September 2003 - 01:45 PM
#12
Posted 28 September 2003 - 01:46 PM
#13
Posted 28 September 2003 - 01:58 PM
My unattended install is aimed at a single user so installing appz to default users or multiple is irrelevant for me but thanks for the heads up as it may affect others who read this thread. I am trying to think of an app I have used that installs to a single person. Getright is the only one I can think of that prompts when creating a new user on a mature rig!
The visual settings I am trying to get as far as I know can't be applied to the HKCU while active as they won't stick. I may be wrong here.
Such things as unchecking of "fade effect" for appearance and getting the explorer shortcut onto the taskbar are what I am after and Greenmachines approach seems best for this.
#14
Posted 28 September 2003 - 02:06 PM
Just looked at your last lines of code. First, let me congratulate you: this code is short enough that I actually read it to the end (you out did me above). I always use regedit instead of reg, but it looks like you are changing the users name. I have to look into that. For security reasons, one should (theoretically) rename the Administrator account and create a "dummy" "Adminstrator" account, disactivated with no rights. Couldn't find an easy way to do that, but why not: the registry is once again the answer. Thanks.
...Yes, the easiest way to do the HKCU stuff is here. You could always log on as the administrator, modify the default users account, delete all users profiles, log on to a new user with adminstrator rights, delete the administrator's profile, and the result would be nearly the same, but I digress...
The fade effect, small iscons, etc, can easily be exported into .reg files, and imported, avoiding the copying NTUSER.DAT.
#15
Posted 28 September 2003 - 02:22 PM
Your points about clean install and adjusting hive I already adhere to but definitely the thing to do.
My goal is to have a totally automated process that I can give to the customer should they make a mess so they can reinstall painlessly with full tweaks as I like. I know 8 months down the line it will be out of date but it is a starting block for them.
Getting the visual tweaks for the user and changing power policy to always on is really all i am left with to do besides a few silent install of appz so thanks for your head up.
#16
Posted 28 September 2003 - 02:49 PM
I'd say you are well on your way. I think I have all the visual settings restored correctly on my box, though I have not gone over it with a fine toothed comb. I have not played with the power stuff, and there may be some sort of hardware dependecies, so you tell us. If I may be so bold ... a few things I would like to see in a "small time system builder":
Insurance, a la MS. You keep your install CD up to date, and send 'em one a month. For a certain fee ...
Safe system restore. Create a 2/3 partition system: [1 = Diagnostics], 2 = System, 3 = Data, all loaded onto a "clean" HDD from CD (ghost or such - there are even enough freewares). You can use the CD or Diagnostics partition to restore the system, and leave the data intact, in the case of chronic user "install everything I can download". You would need to make sure the partitions are active/non-hidden, etc, as well as defining user's directories (i.e. "My Documents") are stored on the D (Data) disk. None of this is too difficult, and once in place, fairly maintenance free.
My reasoning is that if you do not have a large customer base, you need to get more $$ per customer, while offering a quality service that they are satisfied with, and happy to pay for. You recover 2 years, or even two months of some one's data, and you are (rightfully so) their hero.
Just a thought. Let us know how you get on with the last steps.
#17
Posted 28 September 2003 - 03:14 PM
My customers are individuals not business. I install remote administrator software(tightvnc) as standard on all pc's so I can "sort" out their cock ups.
Have you ever sat on the phone or on msn messenger and tried to explain to someone how to hover over a black "V" to get an ip and they swear blind it is not there.
Regarding the ntuser.dat file......it definitely contains all the settings that I am interested in a new user having. Like you said before I need to get a way of overwriting the original immediately after reboot before guirunonce initiates
#18
Posted 28 September 2003 - 03:33 PM
Brave chap, using VNC. I would go nuts if I looked at what they did!
#19
Posted 01 October 2003 - 04:40 AM
Here are what my scripts happen to resemble:
winnt.sif
;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Repartition=No UnattendSwitch="no" WaitForReboot="No" DriverSigningPolicy=Ignore OemPnPDriversPath="Drivers\NVidia4523" [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1 [UserData] ProductKey= FullName="Marz of Zenogias" OrgName="Zenogias Gunshot Glitter Gathering" ComputerName=marz-tjza1ttk [Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=85 [TapiLocation] CountryCode=44 Dialing=Tone AreaCode=01895 [RegionalSettings] LanguageGroup=7,8,10,9,1 Language=00000809 [GuiRunOnce] Command0=%systemdrive%\Install\adjust.cmd Command1=%systemdrive%\Install\hotfixes.cmd [Identification] JoinWorkgroup=HOME [Shell] CustomDefaultThemeFile="%WinDir%\Resources\Themes\Marz' White Look.theme" DefaultStartPanelOff=Yes [Components] accessopt=off chat=off autoupdate=off IEAccess=off OEAccess=off fax=off [Branding] BrandIEUsingUnattended=Yes [URL] Home_Page=about:blank [Networking] InstallDefaultComponents=Yes
adjust.cmd
CLS @echo off ECHO. ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registry ECHO hacks being implemented. The computer will restart automatically ECHO once the whole process has finished! ECHO. ECHO. ECHO -- Disabling Messenger Service with Shoot The Messenger... start %systemdrive%\install\Tools\ShootTheMessenger disable ECHO. ECHO -- Disabling Universal Plug and Play with UnPlug n' Pray... start %systemdrive%\install\Tools\UnPnP disable ECHO. ECHO -- Copying Tools... COPY "%systemdrive%\Install\Tools\deluser.exe" "%systemroot%\" COPY "%systemdrive%\Install\Tools\UPTIME.exe" "%systemdrive%\Documents and Settings\%username%" ECHO. ECHO -- Copying PSKill utility... COPY "%systemdrive%\Install\Tools\pskill.exe" "%systemroot%\" ECHO. ECHO -- Applying Metapad 3.5 Filters... REGEDIT /S %systemdrive%\install\filters.reg ECHO. ECHO -- Applying Registry Tweaks... REGEDIT /S %systemdrive%\install\RegTweaks.reg ECHO. ECHO -- Deleting Temp Drivers Folder... RD /S /Q %systemdrive%\Drivers ECHO. EXIT
hotfixes.cmd
CLS @echo off ECHO. ECHO -- Installing Windows Update Hotfixes ECHO. ECHO Installing Q330994: April 2003, Cumulative Patch for Outlook Express 6 SP1... start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:N ECHO. ECHO Installing Q815411: Help Algorithm Update for atypically large Heap Requests... start /wait %systemdrive%\install\Hotfixes\Q815411_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q819696: Unchecked Buffer in DirectX could enable Sys. Compromise... start /wait %systemdrive%\install\Hotfixes\Q819696_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing KB817787: Flaw in WMP Skins D/Ling Could Allow Code Execution... start /wait %systemdrive%\install\Hotfixes\WindowsMedia8-KB817787-x86-ENU.exe /Q:A /R:N ECHO. ECHO Installing KB820291: New "Set Program Access and Defaults" Start Menu icon... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB820291-x86-ENU.exe /Q /M /Z ECHO. ECHO -- Restarting the PC in 1 minute... shutdown.exe -r -t 60 -f -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" ECHO. ECHO -- Deleting Temp Installation Files... RD /S /Q %systemdrive%\install ECHO. EXIT
RegTweaks.reg
Windows Registry Editor Version 5.00
;This will add "Services" to the right-click menu of "My Computer"
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00
"SuppressionPolicy"=dword:4000003c
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00
;This adds the "Open Command Window Here" on the right-click menu for drives and folders
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command Window Here"
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
@="Open Command Window Here"
[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
@="cmd.exe /k \"cd %L\""
;This gets rid of the annoying IE icon in Windows Explorer
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\ShellBrowser]
"ITBarLayout"=hex:0c,00,00,00,4c,00,00,00,74,00,00,00,1a,00,00,00,10,00,00,00,\
17,00,00,00,05,00,00,00,6a,00,00,00,26,00,00,00,01,00,00,00,e0,00,00,00,56,\
00,00,00,02,00,00,00,29,00,00,00,57,00,00,00,03,00,00,00,a8,00,00,00,00,00,\
00,00,04,00,00,00,09,00,00,00,55,01,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\Explorer]
"ITBarLayout"=hex:0c,00,00,00,4c,00,00,00,74,00,00,00,1a,00,00,00,13,00,00,00,\
33,00,00,00,05,00,00,00,6a,00,00,00,26,00,00,00,01,00,00,00,e1,00,00,00,df,\
01,00,00,04,00,00,00,01,00,00,00,bd,00,00,00,02,00,00,00,20,00,00,00,8d,01,\
00,00,03,00,00,00,09,00,00,00,b8,00,00,00
;Some various Explorer settings
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000001
"ShowCompColor"=dword:00000001
"HideFileExt"=dword:00000000
"DontPrettyPath"=dword:00000000
"ShowInfoTip"=dword:00000001
"HideIcons"=dword:00000000
"MapNetDrvBtn"=dword:00000000
"Filter"=dword:00000000
"SuperHidden"=dword:00000001
"ShowSuperHidden"=dword:00000001
"SeparateProcess"=dword:00000000
"IntelliMenus"=dword:00000000
"ListviewAlphaSelect"=dword:00000001
"ListviewShadow"=dword:00000001
"ListviewWatermark"=dword:00000000
"TaskbarAnimations"=dword:00000000
"StartMenuInit"=dword:00000002
"Start_LargeMFUIcons"=dword:00000000
"Start_MinMFU"=dword:00000000
"Start_ShowControlPanel"=dword:00000001
"Start_EnableDragDrop"=dword:00000001
"StartMenuFavorites"=dword:00000000
"Start_ShowHelp"=dword:00000000
"Start_ShowMyComputer"=dword:00000000
"Start_ShowMyDocs"=dword:00000000
"Start_ShowMyMusic"=dword:00000000
"Start_ShowMyPics"=dword:00000000
"Start_ShowPrinters"=dword:00000000
"Start_ShowRun"=dword:00000001
"Start_ScrollPrograms"=dword:00000000
"Start_ShowSearch"=dword:00000001
"Start_ShowRecentDocs"=dword:00000000
"Start_AutoCascade"=dword:00000000
"Start_NotifyNewApps"=dword:00000000
"Start_AdminToolsRoot"=dword:00000000
"StartMenuAdminTools"=dword:00000000
"TaskbarSizeMove"=dword:00000001
"TaskbarGlomming"=dword:00000000
"NoNetCrawling"=dword:00000001
"FolderContentsInfoTip"=dword:00000001
"FriendlyTree"=dword:00000000
"WebView"=dword:00000000
"WebViewBarricade"=dword:00000001
"DisableThumbnailCache"=dword:00000001
"ClassicViewState"=dword:00000001
"PersistBrowsers"=dword:00000000
"CascadeControlPanel"="YES"
"CascadeNetworkConnections"="YES"
"StartButtonBalloonTip"=dword:00000002
"Start_ShowNetConn"=dword:00000001
;Alters some Internet Explorer settings
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"ShowGoButton"="no"
"NotifyDownloadComplete"="no"
"Use FormSuggest"="yes"
;Adds search keywords to Internet Explorer (in this order: Microsoft Knowledge Base, Altavista, Google, MSN, FileMirrors)
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSKB]
@="http://support.microsoft.com/?kbid=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\AV]
@="http://www.altavista.com/sites/search/web?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\GGL]
@="http://www.google.com/search?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSN]
@="http://search.msn.com/results.asp?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\FM]
@="http://www.filemirrors.com/search.src?file=%s"
;Prevents Internet Explorer windows from being reused
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"AllowWindowReuse"=dword:00000000
;Max your Internet Explorer's simultaneous downloads to 32 (default was 2)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:00000020
"MaxConnectionsPerServer"=dword:00000020
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPerServer"=dword:00000020
"MaxConnectionsPer1_0Server"=dword:00000020
;Broadband Tweak for Windows 2000/XP/2003 (makes it act faster)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"GlobalMaxTcpWindowSize"=dword:0003ebc0
"TcpWindowSize"=dword:0003ebc0
"Tcp1323Opts"=dword:00000001
"DefaultTTL"=dword:00000040
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"TcpMaxDupAcks"=dword:00000002
"MTU"=dword:000005dc
;Increase the Icon Cache Size to 16384
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"Max Cached Icons"="16384"
;Increase the Folder Cache Size to 7000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00001b58
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001b58
;Change the Start Menu load speed to a faster setting
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="2"
;RAM usage tweaks
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001
"IoPageLockLimit"=dword:1bf00000
"SecondLevelDataCache"=dword:00000100
;AMD Processor Fix
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"LargePageMinimum"=dword:ffffffff
;Prefetcher tweak (faster booting)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000003
;System Pages memory tweaked to 256Mb
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"SystemPages"=dword:00040000
;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000
;Disable the Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001
;Disables Error Reporting, but notifies when errors occur
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000
;Disable Imapi CD-Burning COM Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ImapiService]
"Start"=dword:00000004
;Disable Indexing Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CiSvc]
"Start"=dword:00000004
;Set IPSEC Services Service to Manual
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]
"Start"=dword:00000003
;Disable MS Software Shadow Copy Provider Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SwPrv]
"Start"=dword:00000004
;Disable Volume Shadow Copy Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS]
"Start"=dword:00000004
;Disable NetMeeting Remote Desktop Sharing Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mnmsrvc]
"Start"=dword:00000004
;Disable Nvidia Driver Helper Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NVSvc]
"Start"=dword:00000004
;Disable Portable Media Serial Number Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WmdmPmSp]
"Start"=dword:00000004
;Set Protected Storage Service to Manual
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProtectedStorage]
"Start"=dword:00000003
;Disable Remote Registry Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004
;Disable Smart Card Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCardSvr]
"Start"=dword:00000004
;Disable Smart Card Helper Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SCardDrv]
"Start"=dword:00000004
;Set Task Scheduler Service to Manual
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule]
"Start"=dword:00000003
;Disable Windows Time Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"Start"=dword:00000004
;Speed up browsing remote computers
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]
;Speed up NTFS
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"Win31FileSystem"=dword:00000000
"Win95TruncatedExtensions"=dword:00000001
"NtfsDisableLastAccessUpdate"=dword:00000001
;Speed up shutdown process (Part 1)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"HungAppTimeout"="5000"
"WaitToKillAppTimeout"="4000"
;Speed up shutdown process (Part 2)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="2000"
;Disable System Restore
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"DisableSR"=dword:00000001
;Allow renaming of Recycle Bin
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:50,01,00,20
"CallForAttributes"=dword:00000000
;This will allow you to autologin.
;Replace InsertName value with the Username you want to autologin with.
;Replace InsertPassword value with the password corresponding to the Username specified.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="Marz"
"DefaultPassword"=""
"AutoAdminLogon"="1"
;Won't check if you are low on diskspace or pop-up a balloon telling you.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
;Removes the Recent Documents section from the start menu.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsMenu"=dword:00000001
;Do Not Receive Media Player Licences
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"SilentAcquisition"=hex:00
;Disable Media Player identification through Internet sites
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"SendUserGUID"=hex:00
;Disable automatic codec downloads
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"UpgradeCodecPrompt"=hex:00
;Do not allow Windows/MSN Messenger to start with Outlook Express
[HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express]
"Hide Messenger"=dword:00000001
;Disable 'Hide Inactive Icons'
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"EnableAutoTray"=dword:00000000
;Sorts My Computer on top of My Documents on the desktop
[HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}]
"SortOrderIndex"=dword:00000054
;Enable ClearType for ALL Users
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
;Do not allow the CD to autorun
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"AutoRun"=dword:00000000
;Do not cache failed DNS lookups
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"CacheHashTableBucketSize"=dword:00000001
"CacheHashTableSize"=dword:00000180
"MaxCacheEntryTtlLimit"=dword:0000fa00
"MaxSOACacheEntryTtlLimit"=dword:0000012d
- ← Problem With Ä Ö Ü @ German Windows Xp
- Unattended Windows 2000/XP/2003
- Problem About Setup Screens →



Help


Back to top








