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: 2304
  • 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: 6741
  • 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.
‎"Be polite, be professional, but have a plan to kill everybody you meet." Maj. Gen. James Mattis
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post November 4th, 2009, 6:35 am

In other words you are trying to figure this out remotely via a command line?
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 108 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.