MSFN Forum: Adding registry tweaks - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Adding registry tweaks in Win2k Rate Topic: -----

#1 User is offline   reganetal 

  • Group: Members
  • Posts: 8
  • Joined: 13-July 05

Posted 14 July 2005 - 04:53 PM

I was wondering how do I add registry tweaks in a win2k unattended install.

I tried putting "Regedit /s regtweaks.reg" in my cmdlines.txt file and that doesnt work. Can I call up another .cmd file and put something like this in it?

cmdow @ /HID
@Echo Off

SET PATH=%SystemDrive%\reg.exe

%Path% ADD regtweaks.reg /s /f

EXIT


Or do I need to call regedit.exe? I have a bunch of files I want to add.

Thanks in advance


#2 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 July 2005 - 05:15 PM

Have you added REG.EXE to your system32 folder?

#3 User is offline   reganetal 

  • Group: Members
  • Posts: 8
  • Joined: 13-July 05

Posted 14 July 2005 - 05:27 PM

Yes I have

#4 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 July 2005 - 05:35 PM

Here is my working cmdlines.txt ...

[Commands]
".\AllUsers.cmd"
".\ie6.cmd"
".\wmp.cmd"
".\RunOnceEx.cmd"


and AllUsers.cmd
cmdow @ /HID
ECHO OFF
:: http://support.microsoft.com/kb/873374/en-us
:: Set Microsoft GDI+ Detection Tool to completed
REG ADD "HKLM\SOFTWARE\Microsoft\GdiDetectionTool" /v "GDITool" /t REG_DWORD /d "00000001" /f
EXIT


#5 User is offline   reganetal 

  • Group: Members
  • Posts: 8
  • Joined: 13-July 05

Posted 14 July 2005 - 05:48 PM

Yeah I understand what you did, but I still dont know if using .reg files instead of each individual key. I have probably a thousand keys to add I am trying to save a lot of typing (Or at the very least cutting and pasting) time.

#6 User is offline   marko2002 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 18-March 05

Posted 22 July 2005 - 02:19 PM

Hi Guys, this is my first post on this fantastic forum so be gentle!

Strangely enough, I'm on XP and having exactly the same issue myself - that is my RegTweaks.reg file doesn't seem to automatically run, though when I run this once logged in it's fine (with the obvious exception of the regtweaks which need to be run from cmdlines.txt).

My cmdlines.txt is . . .

Quote

[COMMANDS]"REGEDIT32.EXE /S RegTweaks.reg"
".\RunOnceEx.cmd"
"BTS_DPs_ROE.cmd"


. . . and the RegTweaks.reg file is in the $OEM$ folder along with the cmdlines.txt file.

Any idea's anyone?????

Cheers
Marko

#7 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,600
  • Joined: 04-December 03

Posted 22 July 2005 - 03:40 PM

for use .reg , you must use :
regedit /s YourRegFile.reg

the "reg" allow to add/remove/edit directly a registry value.
the "/s" allow silent way.

Goodbye.

#8 User is offline   riverrm 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 08-September 04

Posted 22 July 2005 - 03:47 PM

As Sonic say's:
Regedit /s regtweaks.reg
if using reg.exe in a batch file, keep in mind that the version of reg.exe is different between W2K and XP. I copy the XP version to W2K to keep my batch files the same.
Also, check you reg files. XP uses "Windows Registry Editor Version 5.00" as the header info in it's reg files. It can use older versions, but W2K can't use newer.

Good luck

#9 User is offline   marko2002 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 18-March 05

Posted 22 July 2005 - 04:28 PM

sonic, on Jul 22 2005, 03:40 PM, said:

for use .reg , you must use :
regedit /s YourRegFile.reg

the "reg" allow to add/remove/edit directly a registry value.
the "/s" allow silent way.

Goodbye.
<{POST_SNAPBACK}>


Ask and you shall receive!!!!!

Sonic, many many thanks for this m8 - works like a charm and thanks too riverrm for the info.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy