HKEY_CURRENT_USER registry tweaks
#1
Posted 24 September 2005 - 12:47 AM
#2
Posted 24 September 2005 - 01:20 AM
#3
Posted 26 September 2005 - 08:19 PM
nmX.Memnoch, on Sep 24 2005, 03:20 AM, said:
<{POST_SNAPBACK}>
Thanks, although I do not use that file (CMDLINES.TXT) it still told my where to put them - see I wish to maintain the ability to "Repair an installation", I do still use the file "winnt.sif", but all I have in it is the "Product Key", I have not exparimented much with this file, but unough to know that specifing anything in the "[Unattended]" section of this file will disable the "Repair an installation" function. (My drivers are installed via a "Patch" to the setup program and copied (actually un-compressed) to the root of the system drive in a batch file called "presetup.cmd").
Instead of doing it through CMDLINES.TXT, I created a batch file called "prep.cmd" and place it in the folder "\i386\svcpack" then called it via the file "\i386\SVCPACK.INF" in the section "[SetupHotfixesToRun]"
#4
Posted 26 September 2005 - 08:44 PM
Not sure, but I believe that SVCPACK.INF is not executed for a repair install?
#5
Posted 26 September 2005 - 10:00 PM
http://unattended.ms...al/cmdlines.htm
The only command I have in my CMDLINES.TXT is .\Install.cmd. I then created Install.cmd to do everything I wanted and put it in $OEM$ along with CMDLINES.TXT. You can run your HKCU tweaks from here.
#6
Posted 26 September 2005 - 11:03 PM
nmX.Memnoch, on Sep 27 2005, 12:00 AM, said:
http://unattended.ms...al/cmdlines.htm
The only command I have in my CMDLINES.TXT is .\Install.cmd. I then created Install.cmd to do everything I wanted and put it in $OEM$ along with CMDLINES.TXT. You can run your HKCU tweaks from here.
<{POST_SNAPBACK}>
But the "$OEM$" fplder is another thing I am attempting to avoid (Using my own foled names just makes it easier [for my anyway] to know what is where if I wnat to modify it later)
as for the srvpack.inf file not being executed during a "Repaire installation" - I say (it least with the version I have) It MUST be. I say this because if it were not, the repaire would restore everything (except drivers, and third-party applications - or even MS APPs not included with the OS) to what the OS was before any updates at all were installed. In my case that would mean even before SP1 (I have SP2 now, with all "Hotfixes" intergrated, and not from getting an updated copy, just intergrating SP2 + all hotfixes in to the on I have. - And since it is important to me, I tried "Restore Installation" (I'm testing literaly with a HD I only use to test things, wile my main OS drive is compleatly disconected from my system) all the fixes and Service pack was there - that means it must have seen that file.....If mot, or repair, I think I would have gotten just Win XP Pre SP-1 and no hotfixes.....
#7
Posted 26 September 2005 - 11:14 PM
Red Barchetta, on Sep 27 2005, 12:03 AM, said:
Red Barchetta, on Sep 27 2005, 12:03 AM, said:
And let's be honest...how many times are you actually having to perform repair installs? If the answer is "a lot" then you have other problems going on besides just worrying about avoiding $OEM$.
Another fact is that with a proper unattended CD it can sometimes be just as quick to backup your favorites and documents (which can be avoided if you have a secondary hard drive) and run a quick unattended install.
I haven't actually tried it, but I'm also pretty sure that you can still run a repair install on an installation that was installed from an Unattended CD. You just can't do it with the actual Unattended CD...you'd need another CD to boot from that doesn't have any unattended options set (i.e. it has no WINNT.SIF).
This post has been edited by nmX.Memnoch: 26 September 2005 - 11:14 PM
#8
Posted 26 September 2005 - 11:32 PM
So, unless there is somthing radically differant between my base copy, and everyone elses...........
Even the so called "RTM (Release To Manufactures)" version I just can't imagine being THAT differant!
nmX.Memnoch, on Sep 27 2005, 01:14 AM, said:
Red Barchetta, on Sep 27 2005, 12:03 AM, said:
Red Barchetta, on Sep 27 2005, 12:03 AM, said:
And let's be honest...how many times are you actually having to perform repair installs? If the answer is "a lot" then you have other problems going on besides just worrying about avoiding $OEM$.
Another fact is that with a proper unattended CD it can sometimes be just as quick to backup your favorites and documents (which can be avoided if you have a secondary hard drive) and run a quick unattended install.
I haven't actually tried it, but I'm also pretty sure that you can still run a repair install on an installation that was installed from an Unattended CD. You just can't do it with the actual Unattended CD...you'd need another CD to boot from that doesn't have any unattended options set (i.e. it has no WINNT.SIF).
<{POST_SNAPBACK}>
#9
Posted 27 September 2005 - 12:02 AM
Red Barchetta, on Sep 27 2005, 12:32 AM, said:
Running it from SVCPACK.INF will work...it's just not the recommended way to do it.
Red Barchetta, on Sep 27 2005, 12:32 AM, said:
Running a repair install doesn't recreate the Default User registry hive. You can verify this by checking the creation date/time (not modified) of the NTUSER.DAT in %SYSTEMROOT%\Documents and Settings\Default User\. A repair install is meant to get you back to a working version, not reset everything back to a default install state. Usually repair installs are used to get the system up long enough to backup files and then perform a reinstall. I personally don't trust a system that has had a repair install performed on it after a failure. The failure occurred for a reason.
#10
Posted 27 September 2005 - 02:25 AM
And that way may not be recomended, but it seems to work best for what I am attempting to do.
Note: I also restore old cars as a hobby, and after an engine re-build, exc. they RARELY run well on "factory specs" - example the timing is almost always slightly off - set it to what the book says, it works, but not so great, move it slightly, runs great, and still passes a moderan inspection.....
Same sort of deal I guess.....
nmX.Memnoch, on Sep 27 2005, 02:02 AM, said:
Red Barchetta, on Sep 27 2005, 12:32 AM, said:
Running it from SVCPACK.INF will work...it's just not the recommended way to do it.
Red Barchetta, on Sep 27 2005, 12:32 AM, said:
Running a repair install doesn't recreate the Default User registry hive. You can verify this by checking the creation date/time (not modified) of the NTUSER.DAT in %SYSTEMROOT%\Documents and Settings\Default User\. A repair install is meant to get you back to a working version, not reset everything back to a default install state. Usually repair installs are used to get the system up long enough to backup files and then perform a reinstall. I personally don't trust a system that has had a repair install performed on it after a failure. The failure occurred for a reason.
<{POST_SNAPBACK}>
#11
Posted 27 September 2005 - 03:16 AM
Just a quick pint HKCU is a virtual reg hive - it is a user but not a user..if you see what I mean - programatically its a nightmare as current (logged on ) user can change - if you want to affect all user or default user (profiles) then these are better areas to target...
i think I'm talking the same thing here
http://www.msfn.org/board/index.php?showtopic=56584&hl=#
#12
Posted 27 September 2005 - 04:15 AM
But I don't wish to stop any user from changing things once logged on (unless it's going to effect the whole system, if it's just there account that's fine) but I want certaint things as default....
finkster, on Sep 27 2005, 05:16 AM, said:
Just a quick pint HKCU is a virtual reg hive - it is a user but not a user..if you see what I mean - programatically its a nightmare as current (logged on ) user can change - if you want to affect all user or default user (profiles) then these are better areas to target...
i think I'm talking the same thing here
http://www.msfn.org/board/index.php?showtopic=56584&hl=#
<{POST_SNAPBACK}>
- ← copy $OEM$ to hdd with /makelocalsource?
- Unattended Windows 2000/XP/2003
- Help with regional settings →



Help
Back to top









