MSFN Forum: from current_user to default_user - MSFN Forum

Jump to content



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

from current_user to default_user is it true? Rate Topic: -----

#1 User is offline   ZEUS__ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 03-January 08
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 March 2008 - 12:21 AM

Hi,
I want some reg improvements my Pc and I read pinned topic from @guguts..I choose some tweak but for example in this codes

[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="0"
"HungAppTimeout"="1500"
"MenuShowDelay"="100"
"WaitToKillAppTimeout"="3000"


these settings effect only my current user, I want to changed it to my default user.All my users should have the same settings..so I look at regedit and take my setting from regedit.and I changed it default user..but I want to know that if I change my settings in "regtweak.reg" to this, is it true or not?or will cause any crash?
thanks..

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"AutoEndTasks"="0"
"HungAppTimeout"="1500"
"MenuShowDelay"="100"
"WaitToKillAppTimeout"="3000"


added:more information

This post has been edited by ZEUS__: 15 March 2008 - 12:23 AM



#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,000
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 March 2008 - 01:25 AM

Registry entries added to HKU\.Default affect the logon desktop (the desktop you see when you press CTRL+ALT+DEL, or has the user list on it if FUS is enabled). If you want to make sure all users get this, you need to load up the registry hive ntuser.dat from the \Documents and Settings\Default User\ folder, make the changes, and then unload the hive. This KB article was written for NT4, so the paths to the user profile listed in the KB are no longer valid anymore, but the steps for loading the hive itself and making changes are still relevant.

#3 User is offline   Yzöwl 

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

Posted 15 March 2008 - 04:14 AM

As an alternative, you could use REG.EXE in a Windows NT Command Script:
DefUser.cmd
 
@Echo off
Setlocal
Set "KEY=HKU\Default"
Pushd %AllUsersProfile%\..
Reg load %KEY% "Default User\NTUSER.DAT">Nul
Reg add "%KEY%\Control Panel\Desktop" /v AutoEndTasks /d "0" /f>Nul
Reg add "%KEY%\Control Panel\Desktop" /v HungAppTimeout /d "1500" /f>Nul
Reg add "%KEY%\Control Panel\Desktop" /v MenuShowDelay /d "100" /f>Nul
Reg add "%KEY%\Control Panel\Desktop" /v WaitToKillAppTimeout /d "3000" /f>Nul
Reg unload %KEY%>Nul
Endlocal
Goto :Eof 


#4 User is offline   ZEUS__ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 03-January 08
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 March 2008 - 09:44 AM

thanks for your replies and sorry cause I'm newbie.@cluberti; I don't understand exactly.It's hard for me..I'm confused..I tried my way on virtual PC and it does not work..
and @Yzöwl;
if I add your codes on my regtweaks.reg is it ok?or must be add an cmd file?I made a big DVD..I use nlite,RVM, driverpack and also WPI for my silent install.

cmdlines.txt have two steps;
[Commands]
"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
RunWPI_Zune.exe


and my winnt.sif;
[GUIRunOnce]
	command9="%SystemDrive%\DPsFnshr.exe"


how can I add your codes?
for exam; it works or not?;
$oem$\$$\install\DefUser.cmd

and then I will add on my cmdlines.txt this;
%systemdrive%\install\DefUser.cmd


is it ok?but do I add it the end or before "RunWPI_Zune"
which is true?this;
[Commands]
"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
RunWPI_Zune.exe
"%systemdrive%\install\DefUser.cmd"


or this;
[Commands]
"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
"%systemdrive%\install\DefUser.cmd"
RunWPI_Zune.exe

sorry I'm confused :wacko:

#5 User is offline   Yzöwl 

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

Posted 15 March 2008 - 10:26 AM

Examples:

CMDLINES.TXT
Using $OEM$\DefUser.cmd
[Commands]
"DefUser.cmd"
Or using $OEM$\$1\Install\DefUser.cmd
[Commands]
"%SystemDrive%\Install\DefUser.cmd"
WINNT.SIF
Using $OEM$\$1\Install\DefUser.cmd
[GUIRunOnce]
	command8="%SystemDrive%\Install\DefUser.cmd"


#6 User is offline   ZEUS__ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 03-January 08
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 March 2008 - 10:47 AM

@Yzöwl; so thanks.I'll try this..can you give me a link about ,
[GUIRunOnce]
	command8="%SystemDrive%\Install\DefUser.cmd"


driverpack using command9 and yours .cmd using command8..I couldn't see any information about this on unattended guide..I wonder why we use command9 or why command8 on these lines?If any guide there have been, I want to read it.

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