MSFN Forum: Some of my tweaks don't apply during installation - MSFN Forum

Jump to content



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

Some of my tweaks don't apply during installation Rate Topic: -----

#1 User is offline   troxy 

  • Group: Members
  • Posts: 8
  • Joined: 07-October 06

Posted 15 October 2006 - 11:23 AM

Hello,
I'm applying my reg tweaks during the T-12 using cmdlines.txt. I'm using the following command:
"REGEDIT /S Tweaks.reg"

Most of the tweaks are working, but some of the key values won't "stick".
For example, I have the following entries in Tweaks.reg:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\WebView\BarricadedFolders]
"shell:System"=dword:00000000
"shell:SystemDriveRootFolder"=dword:00000000
"shell:ControlPanelFolder"=dword:00000000
"shell:Windows"=dword:00000000
"shell:ProgramFiles"=dword:00000000

The ControlPanelFolder isn't added, but the rest of the values are.
The value is 00000001 after installation is completed. How come?

The same goes for the following tweaks:
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="0"
"SCRNSAVE.EXE"=-
"NoAutoReturnToWelcome"="1"

I'm still having a screensaver showing up after 10 minutes.

Am I doing something wrong?


#2 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,020
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 15 October 2006 - 12:31 PM

Registry setting at the t-12 are for the HKEY_LOCAL_Machine

#3 User is offline   troxy 

  • Group: Members
  • Posts: 8
  • Joined: 07-October 06

Posted 15 October 2006 - 01:46 PM

Allright. But the guide at http://unattended.msfn.org reads the following:

Quote

Actually, the HKCU tweaks imported at T-12 modify the Default User account settings, because the Default User's hive is loaded into HKEY_CURRENT_USER at that moment. When a user logs on to a machine for the first time, the user settings are taken from the Default User account. Hence, the HKCU tweaks imported at T-12 apply to all accounts ever created. That is why I have two separate REG files (HKCU and HKLM). I import HKCU tweaks from cmdlines.txt, and no matter how many user accounts I create, they all have the same initial user settings.

http://unattended.ms...xp/view/web/17/

Accually, I have like 50 HKCU tweaks, and there's only 5 of them that don't work. The rest work like a charm. That's kinda odd...

This post has been edited by troxy: 15 October 2006 - 01:51 PM


#4 User is offline   Takeshi 

  • Legitchecking...
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,107
  • Joined: 09-September 04

Posted 15 October 2006 - 02:45 PM

As I said here sometimes HKCU tweaks don't stick when applied at T-12, presumably what happens afterwards (other components, progs) overrides your settings.

I find some Explorer tweaks in particular don't stick. As a workaround, you could re-apply them at first logon using for example user RunOnce.

This post has been edited by Takeshi: 15 October 2006 - 02:45 PM


#5 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 15 October 2006 - 06:32 PM

For the screen savers , I remove them with nLite. Windows SSs are very primitive and not that enjoyable.

I install some commercial and some free SSs, instead.
Examples are: Snoqualmie, Mechanical Clock 3D, and WorldClock.

I haven't got your issue anymore.

However, if the "BarricadedFolders" tweak isn't applied well at T-12, just follow Takeshi's advice. I do it that way.

#6 User is offline   troxy 

  • Group: Members
  • Posts: 8
  • Joined: 07-October 06

Posted 16 October 2006 - 04:43 AM

I tried adding the reg keys using RunOnceEx. But the shell:ControlPanelFolder and some other stull still won't apply.
But if I run the reg file by double clicking it, right after first login, it applies.
What the heck. :}

#7 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 16 October 2006 - 12:12 PM

View Posttroxy, on Oct 16 2006, 12:43 PM, said:

But if I run the reg file by double clicking it, right after first login, it applies.
What the heck. :}

Yes! This is why I'm using HKCU-RunOnce, where the reg files are applied after a user logon.

#8 User is offline   Takeshi 

  • Legitchecking...
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,107
  • Joined: 09-September 04

Posted 16 October 2006 - 05:20 PM

I'd first check the ROE command is correct before assuming the tweak doesn't apply.

Actually all the startup reg keys execute AFTER user logon. Previously I incorrectly assumed that some were before. In my recent tests not using autologon, the logs definitely confirmed otherwise. But user RunOnce, as we now know, executes last so conceivably it might be better.

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