workstation autolock after autologin?
-
Hi everyone, this is my problem.. I recently got a 24/7 internet (cable) connection, and I'd like to use it 100% by keeping my PC running 24/7, even when I'm away for the weekend. To make it simple: I need to enable autologin to my account, run some apps (for downloading) and then lock the workstation so my roommate can't mess with my personal files. My OS is WinXP SP2, if that matters at all.:) Is there a way to do this without buying some specialized apps?? Every idea is welcome :) --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
-
Hi everyone, this is my problem.. I recently got a 24/7 internet (cable) connection, and I'd like to use it 100% by keeping my PC running 24/7, even when I'm away for the weekend. To make it simple: I need to enable autologin to my account, run some apps (for downloading) and then lock the workstation so my roommate can't mess with my personal files. My OS is WinXP SP2, if that matters at all.:) Is there a way to do this without buying some specialized apps?? Every idea is welcome :) --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
Set the screensaver to activate after 30 seconds (or whatever you want) and enable the password protection checkbox. Automating Logon[^] on MSDN. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Set the screensaver to activate after 30 seconds (or whatever you want) and enable the password protection checkbox. Automating Logon[^] on MSDN. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Dave Kreskowiak wrote:
Set the screensaver to activate after 30 seconds
The minimum value is 1 minute (60 seconds) only :)
I'm afraid that's not good enough, we all know that 60 secs is quite a long time, and I need the workstation to lock itself immediately after login.:sigh: Another option would be to run my apps as windows services, but I wouldn't know how to do it properly.:doh: --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
-
I'm afraid that's not good enough, we all know that 60 secs is quite a long time, and I need the workstation to lock itself immediately after login.:sigh: Another option would be to run my apps as windows services, but I wouldn't know how to do it properly.:doh: --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
Easy enough. Write a little app that P/Invokes the Win32 API function LockWorkStation[^], preferrably in C++. It'll be a very short little app. Put a shortcut to this little .EXE in the Startup folder of the user ID that's going to be logged in. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hi everyone, this is my problem.. I recently got a 24/7 internet (cable) connection, and I'd like to use it 100% by keeping my PC running 24/7, even when I'm away for the weekend. To make it simple: I need to enable autologin to my account, run some apps (for downloading) and then lock the workstation so my roommate can't mess with my personal files. My OS is WinXP SP2, if that matters at all.:) Is there a way to do this without buying some specialized apps?? Every idea is welcome :) --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
Following on from what Dave was getting at in the above thread, you could always just create a shortcut under the Explorer startup group to run the command line:
rundll32 user32.dll LockWorkStation
Gavin Taylor w: http://www.gavspace.com -- modified at 1:56 Monday 23rd January, 2006
-
Easy enough. Write a little app that P/Invokes the Win32 API function LockWorkStation[^], preferrably in C++. It'll be a very short little app. Put a shortcut to this little .EXE in the Startup folder of the user ID that's going to be logged in. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
That seems good.:) BUT, (there has to be one) I believe this won't be password protected lock then? Since I need to disable login password if I want windoze to autologin. Or, did I get it wrong?:doh: --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
-
Following on from what Dave was getting at in the above thread, you could always just create a shortcut under the Explorer startup group to run the command line:
rundll32 user32.dll LockWorkStation
Gavin Taylor w: http://www.gavspace.com -- modified at 1:56 Monday 23rd January, 2006
This would also work, but my question above still remains: is this really going to secure my PC if I have to disable login passwords in order for autologin to work?? X| --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
-
This would also work, but my question above still remains: is this really going to secure my PC if I have to disable login passwords in order for autologin to work?? X| --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
Grab a copy of TweakUI[^] and you should be able to automatically set which user you want windows to login as and theres an option to specify a password as well. Gavin Taylor w: http://www.gavspace.com
-
Grab a copy of TweakUI[^] and you should be able to automatically set which user you want windows to login as and theres an option to specify a password as well. Gavin Taylor w: http://www.gavspace.com
I've found some registry keys[^] to do just that (I suppose TweakUI uses them too), thanx for your fast reply ;-) These are the keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ AutoAdminLogon = 1 DefaultDomainName = [Domain name] DefaultUserName = [User name] DefaultPassword = [Password]
--- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left. -
That seems good.:) BUT, (there has to be one) I believe this won't be password protected lock then? Since I need to disable login password if I want windoze to autologin. Or, did I get it wrong?:doh: --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
Yep, you got it wrong. Autologon and Locking the workstation will not affect the screen saver. When the screen saver kicks in, the workstation will still be locked. You'll still have to unlock it to use the machine. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
This would also work, but my question above still remains: is this really going to secure my PC if I have to disable login passwords in order for autologin to work?? X| --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
T1TAN wrote:
I have to disable login passwords in order for autologin to work??
Where was this mentioned???? No one said anything about this. You can't disable login passwords anyway, so I wondering where this came from. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
T1TAN wrote:
I have to disable login passwords in order for autologin to work??
Where was this mentioned???? No one said anything about this. You can't disable login passwords anyway, so I wondering where this came from. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Sorry, I was reading a completely irrelevant MSDN article, and things got a bit messed up in my head :-O --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
-
This would also work, but my question above still remains: is this really going to secure my PC if I have to disable login passwords in order for autologin to work?? X| --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
Try this idea: Refer to http://www.codeproject.com/script/comments/forums.asp?forumid=1644#xx1344036xx[^] create a shortcut to the startup folder. When your computer autologin, it will lock your computer immediately. But you have to configure your download manager first.
-
Hi everyone, this is my problem.. I recently got a 24/7 internet (cable) connection, and I'd like to use it 100% by keeping my PC running 24/7, even when I'm away for the weekend. To make it simple: I need to enable autologin to my account, run some apps (for downloading) and then lock the workstation so my roommate can't mess with my personal files. My OS is WinXP SP2, if that matters at all.:) Is there a way to do this without buying some specialized apps?? Every idea is welcome :) --- http://sprdsoft.cmar-net.org - We Sprd You Softly Our site features contents and several images. All of this is very weird. In the end, war is not about who's right, it's about who's left.
This script[^] is create the file shortcut to lock the desktop. You can customize it to lock the desktop only and configure this script as log on script. Then your computer will be locked immediately after it pass an auto login process. You don't need to wait for a screen saver and lock the system.