MSFN Forum: When and where to apply my RegTweaks - MSFN Forum

Jump to content



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

When and where to apply my RegTweaks Rate Topic: -----

#1 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 13 April 2005 - 11:45 PM

Ok I have looked and found 2 solutions to this.

I am using WPI so here are the 2 solutions I found.

One was by Astalavista.
He said to put the following in the $OEM$ directory my tweaks.reg file and a cmdlines.txt file that has
[COMMANDS]
"REGEDIT /S tweaks.reg"


He then says that this will just automatically pick it up. While I dont doubt asta as he is vert knowledgable, I wonder how this works???

The other idea was to run the reg file directly in WPI as an app and make it be selectable.

Which is the better way, and is there a better way yet or more proficient way?


#2 User is offline   Dahi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 25-November 03

Posted 14 April 2005 - 01:34 AM

Use cmdlines.txt and tweaks.reg for registry settings that you want applied to all your unattended installs.
Use WPI to allow you to select which optional tweaks you want applied.

#3 User is offline   oioldman 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 967
  • Joined: 16-April 04
  • OS:Windows 7 x64

Posted 14 April 2005 - 02:13 AM

Could always take a look here
Http://unattended.msfn.org
and you'll notice it explains all very well on when and how regtweaks.reg is applied and what it does

#4 User is offline   Mike_Wilson 

  • programmer
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 24-July 03

Posted 14 April 2005 - 04:55 AM

The way Astalavista says is a good way to do it.

Im guessing from your post you dont seem to understand how it works.

When placing the file in the $OEM$ folder this is the default place which wont be placed on your drive but the root of the unattended which the Winnt.sif picks up.

SO
When you put the following commands in your Winnt.sif
[COMMANDS]
"REGEDIT /S tweaks.reg"


The Winnt.sif looks at your $OEM$ folder and will execute the file silently when setup is finished with the /S switch.

Another way would be to put the tweaks file in $OEM$/$1 which will be copying the file to your drive ie. C:\ and then executing this with command below, but this requires a cleanup cmd or something to delete it afterwards.
[COMMANDS]
"REGEDIT /S %systemdrive%\tweaks.reg"


Simple but effective. :thumbup

#5 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 14 April 2005 - 08:43 AM

Thanks Mike, that helped. I was just confused as this is a cmdlines.txt and I didnt understand how it would use the textfile.

So your saying to take that entry out of the cmdlines.txt and put it in my winnt right?

#6 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 14 April 2005 - 08:57 AM

No, Mike has accidentally said winnt.sif instead of cmdlines.txt, just leave it as it is in cmdlines.txt.

Rest assured that the file regardless of its .txt extension will work...It's Special

#7 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 14 April 2005 - 11:18 AM

Ah ok, so leaving them in $OEM$ is good. When does it apply them though? Before or after?

As I also want to apply file associations and doing that before would be pointless. Maybe ill just install the app and then have a reg file follow with file associations (using WPI).

#8 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 14 April 2005 - 11:53 AM

They will be applied at the T13 /T12 stage of the install i.e. 13-12 minutes left, and don't worry about the associations being applied before you add the app, the entries aren't checked against anything, so they will still apply.

The only thing now is that you should probably only apply the reg settings which are not application specific using cmdlines.txt, just in case you choose not to install it at WPI. In these cases you would be better off adding them as additional items in your WPI install.

#9 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 14 April 2005 - 12:16 PM

OK thanks.

What else can I put in cmdlines.txt?

#10 User is offline   Mike_Wilson 

  • programmer
  • PipPip
  • Group: Members
  • Posts: 142
  • Joined: 24-July 03

Posted 14 April 2005 - 12:50 PM

ah sry bout that, I was rushing to reply before I went out. Thanks to Yzöwl for correcting me :thumbup

Also for your current question try reading here,
http://unattended.ms...al/cmdlines.htm

#11 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 16 April 2005 - 01:28 AM

Tested this out, some of the tweaks were applied, a lot were not.

Ive seen a lot of posts abut people complaining that not all tweaks are being applied. Should I change how I do this??

#12 User is offline   oioldman 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 967
  • Joined: 16-April 04
  • OS:Windows 7 x64

Posted 16 April 2005 - 10:34 AM

No, the method is fine.
If your applying some to do with apps, then your better applying in the runonceex before and atfer an application install.

If they are general ones applying to XP, then check they are correct. Two ways to do this are;
use something like virtualpc
or use regshot to do a before, make change, grab file of changes and see if it is different to what you were applying.

#13 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 16 April 2005 - 07:29 PM

On second look I dont think any of my tweaks were applied. The only one I could see was that there was no screensaver set at startup, when there usually is.

this is what I have in $OEM$
a cmdlines.txt file which reads

[COMMANDS]
"REGEDIT /S tweaks.reg"


and tweaks.reg is in the same dir

am I doing something wrong?

#14 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 17 April 2005 - 07:11 AM

It may be a good idea at this stage to post your tweaks.reg so that we can verify its structure etc.

#15 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 17 April 2005 - 10:22 AM

Here is the reg file.

Attached File(s)



#16 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 17 April 2005 - 10:54 AM

Just remove the semi-colon from the first line
    Windows Registry Editor Version 5.00
Now try it again!
Also, before you get your hand slapped, I would strongly suggest that you edit your post and convert the code shown into an attachment.

#17 User is offline   Ctwizzy 

  • MSFN Soldier
  • PipPip
  • Group: Members
  • Posts: 266
  • Joined: 22-December 04
  • OS:none specified
  • Country: Country Flag

Posted 17 April 2005 - 02:56 PM

nm, its done. Ill try taking out the ;

thanks!

Ill let you know how it goes.

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