Jump to content

from current_user to default_user


Recommended Posts

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

Edited by ZEUS__
Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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