Jump to content

cmdlines.txt


Recommended Posts

I put 2 files in the $OEM$ dir on the cd.

CMDLINES.TXT

tweaks.reg

contents of CMDLINES.TXT

[COMMANDS]

"REGEDT32.EXE /S tweaks.reg"

tweaks.reg is just in standard reg file format, first few lines like this.

Windows Registry Editor Version 5.00

;Disable the Desktop Cleanup Wizard

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]

"NoRun"=dword:00000001

;Max your Internet Explorer's simultaneous downloads to 8 (default was 2) 16 for http 1.0

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

"MaxConnectionsPer1_0Server"=dword:00000010

"MaxConnectionsPerServer"=dword:00000008

Now if I double click the file to import after windows is installed it works, but this of course will need doing everytime I add a user.

What am I doing wrong, I had the impression cmdlines.txt was been run as setup was stuck on T13 for ages but obviously something went wrong as none of the settings applied not even to the admin user.

Thanks.

Link to comment
Share on other sites


Hi,

In winxp regedt32 and regedit both point to the same file I believe - so it shouldn't be an issue (though maybe it is an issue during setup... so try changing to REGEDIT first).

In my cmdlines.txt instead of running the reg tweak directly, I call a batch file, which in turn executes the regedit command.

I'm not sure this is relevent but it works for me.

Try creating a batch file (e.g. registry.cmd) and place it in $OEM$.

Then change your cmdlines.txt to read:

[COMMANDS]
"registry.cmd"

Then ensure the registry.cmd batch file contains the following:

REGEDIT /S test.reg
etc...

Good luck ;)

Andy

Edited by Fencer128
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...