System/PC Status if Locked

  • surajul
  • Born
  • Born
  • No Avatar
  • Joined: Nov 02, 2009
  • Posts: 2
  • Status: Offline

Post November 2nd, 2009, 11:59 pm

Hi,

Please to know the status of System/PC if it is locked. I am looking for a command which can say the status of the system if it is locked. to lock the system in Windows we have command like "rundll32.exe user32.dll, LockWorkStation" in similar way do we have any command in Windows to find the status if its locked/unlock.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 2nd, 2009, 11:59 pm

  • jflynn
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Jun 23, 2006
  • Posts: 2219
  • Loc: Baker City, Oregon
  • Status: Offline

Post November 3rd, 2009, 8:29 am

are you refering to a password lock?
Stand Up! STand Up and Shout!
  • surajul
  • Born
  • Born
  • No Avatar
  • Joined: Nov 02, 2009
  • Posts: 2
  • Status: Offline

Post November 4th, 2009, 4:24 am

I am looking for a command which can give information if the system is locked. Here locked means the user has logged into the PC and after some time locked (Window key+L) or automatic lock after some time when PC is ideal.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 6330
  • Loc: Martinsburg, WV
  • Status: Offline

Post November 4th, 2009, 6:15 am

Read through this

http://blogs.technet.com/heyscriptinggu ... cript.aspx

I'm not much of a scripting guy but within the article he mentions finding locked workstations.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Offline

Post November 4th, 2009, 6:35 am

In other words you are trying to figure this out remotely via a command line?
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 214 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.