wolstech Posted June 18, 2009 Share Posted June 18, 2009 Is it possible to completely disable the classic logon in XP Pro? Even if I turn the Welcome Screen on, users can still press Ctrl-Alt-Delete twice and get to a classic logon screen in XP Pro. Is there a way I can prevent that, making it more like XP Home? I haven't seen any group policy that can do that either (of course, an option for Classic Only does exist. Go figure...) Link to comment Share on other sites More sharing options...
DreamSkape Posted June 18, 2009 Share Posted June 18, 2009 I remember seeing an option saying "Disable Welcome Screen" when i opened GPEDIT.MSC some time ago. Check it out. You may also use the Windows PowerToy Tweak available at Windows Download Center to Disable the welcome screen. However, I am not sure if they will work as you intend. Link to comment Share on other sites More sharing options...
PC_LOAD_LETTER Posted June 18, 2009 Share Posted June 18, 2009 get Vista? thatll disable the 'classic logon' for sure.but seriously AFAIK, there is no way to disable the welcome screen C-A-D exit to classic logon screen. it always there. Link to comment Share on other sites More sharing options...
wolstech Posted June 18, 2009 Author Share Posted June 18, 2009 (edited) Hm, ugh. Going to have to try something else...Does anyone know if a copy of logonui.exe from XP Home would work, assuming both systems have the same SP? XP Home does not support the C-A-D for classic. I suppose i could try on a Virtual PC...EDIT: Doesn't work either...Does anyone know of a way to log a user on via a command line? I am running a program that watches for external hardware, and executes commands when said hardware is present. It runs as a service. I'm now wondering if i can simply use it to log a certain account on when the hardware is connected. (I'm not talking about Run As-ing a command, i need to get a desktop.) Edited June 18, 2009 by wolstech Link to comment Share on other sites More sharing options...
PC_LOAD_LETTER Posted June 19, 2009 Share Posted June 19, 2009 you could try something like:http://www.bluemicrosolutions.com/bms/non_member/index.htmhttp://www.rohos.com/products/rohos-logon-key/or you could try this little homebrew fix: (keep in mind this is just off-the-top-of-my-head and I have NOT tested it in anyway)REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableCAD /d /t 1 REG_SZ /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v LogonType /d /t 0 REG_SZ /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v LegalNoticeCaption /d /t "HARDWARE KEY REQUIRED" REG_SZ /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v LegalNoticeText /d /t "INSERT HARDWARE DEVICE AND PRESS OK TO LOGIN" REG_SZ /fthis will force users to use the classic logon (i know that not what you want but stick with me it might work with the welcome screen too but i dont think so)it will also add a legal notice popup before the login dialoghave your software that detects your hardware device run these lines either in a bat or individually (replace WHATEVERXXX with your passwords):@echo offREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Defaultusername /d WHATEVERUSERNAME /t REG_SZ /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /d %COMPUTERNAME% /t REG_SZ /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /d WHATEVERPASSWORD /t REG_SZ /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /d 1 /t REG_SZ /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v ForceAutoLogon /d 1 /t REG_SZ /fwhich will add the user and password to the registry and set XP to login automatically after a user hits OK on the legal noticethen run this as a logon script after login or when you key is removed (add "shutdown -l -f -t 10" to force a logoff in 10 seconds if the key is removed -if your software supports that)@echo offREG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v DefaultUserNameREG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v DefaultPasswordREG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v DefaultDomainNameREG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v AutoAdminLogonREG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /f /v ForceAutoLogonwhich removes the auto login information from the registry. Link to comment Share on other sites More sharing options...
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