Solved

automatically locking a workstation

Posted on 2004-03-25
15
1,549 Views
Last Modified: 2012-05-04
Where is the setting (in registry or otherwise) to automatically lock a win2000/xp workstation after it has been inactive for a set amount of time?  I don't want to use a screensaver.  I know this is possible as some of my computers do this.

Thanks in advance
0
Comment
Question by:lin28987
  • 6
  • 4
  • 4
  • +1
15 Comments
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
>>Creating a Desktop Shortcut to Lock a Windows Workstation
To create the shortcut:
Right-click an empty area of the desktop, point to New, and then click Shortcut.
In the Create Shortcut Wizard, type %windir%\System32\rundll32.exe user32.dll,LockWorkStation in the Type the location of the item box, and then click Next. Note that LockWorkStation is case sensitive.
On the "Type a name for this shortcut" page, type Lock Workstation in the Type a name for this shortcut box, and then click Finish.
Right-click the shortcut you just made, and then click Properties.
Click the Shortcut tab, and then click Change Icon.
In the Change Icon dialog box, type %SystemRoot%\system32\SHELL32.dll in the Look for icons in this file box, and then click OK.
Browse through the available icons, and then select an icon that makes it easy for the users to identify that the shortcut is to be used to lock the workstation. Click the icon you want to use, and then click OK.
Click OK.
Double-click the shortcut, and note that the workstation automatically locks itself. The user must press CTRL+ALT_DELETE, and then type his or her credentials to unlock the workstation.
<<

ref:http://support.microsoft.com/?kbid=314969
0
 

Author Comment

by:lin28987
Comment Utility
Thank you, however, I was wanting the system to lock after a predetermined amount of time.  Say 10 minutes of inactivity.  Someone metioned that I must implement a group policy???  I'm not sure if this is true or not.

Thanks in advance
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
I believe what you're asking may be limited TO as screensaver - although you can use the Windows Logon screensaver for this purpose -set it to secure to enable the Ctrl+Alt+Del sequence to unlock.
Read this PAQ:http:Q_20578240.html
0
 
LVL 7

Expert Comment

by:4auHuk
Comment Utility
To automatically lock workstation you should configure Screensaver and turn on "password protect" option.
Screensaver can be configured in Screensaver tab of Display properties.

You can also configure Screensaver with group policies:
User Configuration\Administrative Templates\Control Panel\Display
"Activate Screen Saver"
"Password protect the screen saver"
"Screen Saver timeout"
"Screen Saver executable name"


hth,
4auHuk
0
 
LVL 7

Expert Comment

by:4auHuk
Comment Utility
oops, too late... :)
0
 
LVL 40

Expert Comment

by:Fatal_Exception
Comment Utility
I just drilled down through my Group Policies to make sure, and I can not find any function that allows a lock other than using the screensaver, with password resume... and the power saving options...    I believe what is happening in your case is that you have the power savings time set, and upon resume it is asking for a password..  These are the only two ways I know of that you can lock a workstation..  Will look further...
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility

This is the registry setting to enable the screen saver, set it to logon.scr and secure it.
Now when the 'screen saver' kicks in, it will appear that it's just locked the workstation (which it has, but using the logon screen saver)...

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="1"
"ScreenSaverIsSecure"="1"
"ScreenSaveTimeOut"="600"
"SCRNSAVE.EXE"="C:\\WINNT\\System32\\logon.scr"
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 40

Expert Comment

by:Fatal_Exception
Comment Utility
In other words, you have your systems set to go to standby, then upon resume, you have password set option enabled..

FE
0
 
LVL 7

Accepted Solution

by:
4auHuk earned 100 total points
Comment Utility
Just found a nice trick to accomplish this without screensaver.
This method uses sheduled tasks with "Only start this task if the computer is idle for x minutes" option configured.

How to make Win2K "Lock" after Period of Inactivity:
http://www.novell.com/coolsolutions/zenworks/features/trenches/tr_lock_win2k_idle_zw.html
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
4auHuk,
"slick sir...very slick..."
0
 
LVL 40

Expert Comment

by:Fatal_Exception
Comment Utility
Yea...  and from Novell too..  :)
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
LOL
0
 
LVL 7

Expert Comment

by:4auHuk
Comment Utility
Thanks :)

"Figaro here, Figaro there..."
lol


~4auHuk
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
lin28987 - if I may ask - why a "B" on this?
This is an excellent answer, IMHO...
0
 
LVL 40

Expert Comment

by:Fatal_Exception
Comment Utility
Creative, too..
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now