Jump to content

Recommended Posts

Posted

The following link seems to be broken: http://unattended.msfn.org/xp/hkcu_registry.htm

... and at one point, I thought this was explained pretty well there.

But, anyway..

I have the following cmdlines.txt:

[COMMANDS]
REGEDIT /S %systemdrive%\install\regtwks.reg
RunOnce.cmd

But my reg tweaks never seem to make it in. If I cut and paste the "REGEDIT" command after the install is done, it works fine... But only for the current user.

Why does this reg tweak not run during the install?? the RunOnce stuff does (now, after much time wasted chasing silly mistakes).

:wacko:


Posted

I had the quotes before, but removed them thinking that ws the problem.. I will replace them.

will it know to look in the path C:\install for it? I dont see how!

Posted

This seems to work:

[COMMANDS]
"CMD /C REGEDIT /S %systemdrive%\install\regtwks.reg"
"RunOnce.cmd"

What is odd, some regtweaks dont "stick".

For example, this works fine when I do it from a command prompt.. but from cmdlines.txt, I still get the default "bliss.jpg" wallpaper

[HKEY_CURRENT_USER\Control Panel\Desktop]
"Wallpaper"=""

and this:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ClassicViewState"=dword:00000000

Is microsoft that set on forcing a default explorer style and wallpaper?! :rolleyes:

Posted

i don't know, but i actually apply my regtweaks (same file) 2 times.

once from cmdlines.txt

and one right before my cleanup.cmd (after all other installs).

it works perfectly, since some tweaks are needed before defualt profile is created, and some tweaks need to be applied only after a logon.

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...