cacil Posted September 21, 2004 Posted September 21, 2004 Hi, is there any way when I use unattended installation after we set up the AutoLogon to run an automatic AutoLogoff?My [GuiUnattended] is the following, it will do autologon just one time but I would like to have an automatic logoff after a couple of minutes after the computer is logged on. Is this possible?[GuiUnattended]AdminPassword=1666727fa22c5baeaad3b4356b51404ee1d7734b0a69b8026a65a1feba4a682a0EncryptedAdminPassword=YesAutoLogon=YesAutoLogonCount=1OEMSkipRegional=1TimeZone=%TIMEZONE%OemSkipWelcome=1Thanks.C.
Jito463 Posted September 21, 2004 Posted September 21, 2004 Well, you could use a batch file to run on GuiRunOnce with sleep.exe set to however long you need then run shutdown -L (nb: You don't need it capitalized, I just did that to make it easier to determine what I typed). Or, you could use shutdown -L -t xx where xx = the amount of time until it logs off, but doing so will leave a window in the middle of your screen showing how much time left until log off.*EDIT*Well, I discovered that shutdown -l -t 60 won't show a timer display in the middle of the screen. That only happens using shutdown -r or shutdown -s. However, do not use shutdown -l unless you really intend to log off...shutdown -a won't stop it, heh.
argon007 Posted September 21, 2004 Posted September 21, 2004 You can put it in install.cmd which make the computer to restart. how??shutdown -r -t (times) -f(times) are the seconds...so if you want to restart in 10 minutes, just 10 is multified by 60.10 x 60 = 600
Mr Snrub Posted September 21, 2004 Posted September 21, 2004 Hi, is there any way when I use unattended installation after we set up the AutoLogon to run an automatic AutoLogoff?My [GuiUnattended] is the following, it will do autologon just one time but I would like to have an automatic logoff after a couple of minutes after the computer is logged on. Is this possible?[GuiUnattended]AdminPassword=1666727fa22c5baeaad3b4356b51404ee1d7734b0a69b8026a65a1feba4a682a0EncryptedAdminPassword=YesAutoLogon=YesAutoLogonCount=1OEMSkipRegional=1TimeZone=%TIMEZONE%OemSkipWelcome=1Thanks.C.You are using an encrypted password and it still manages to auto logon, and just once?Whenever I have an encrypted password set in WINNT.SIF, it does not log in after installation and has to be done manually.Also, I find that "AutoAdminLogon" seems to be permanently set as it logs in after every reboot when I install.What am I doing wrong?
Anderz Posted September 21, 2004 Posted September 21, 2004 Tjenare!Also, I find that "AutoAdminLogon" seems to be permanently set as it logs in after every reboot when I install.I had this problem .. found out that "log out" versus "rebooting" was the big problem! You say you reboot so I guess my posting is crapola!
rustycaps Posted September 22, 2004 Posted September 22, 2004 I just add the following reg entries as a .reg at the end during the cleanup.cmd file and it works fine.Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"AutoAdminLogon"="0"
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now