Solved

See logged on or locked status of another windows computer

Posted on 2014-11-16
13
70 Views
Last Modified: 2014-12-14
We have no admin access in this environment but do have the ability to login remotely to another computer using the remote desktop feature built into W7.  However, before connecting, I would prefer to check and make sure that nobody is using it.  The locked and/or login status is needed.  Assistance is greatly appreciated.
0
Comment
Question by:frugalmule
  • 6
  • 5
  • 2
13 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40446278
There is no way without a domain involved.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40446345
And what about query session /server:ComputerName listing the remote sessions?
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40446474
should work, Qlemu, I'd forgotten about that.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:frugalmule
ID: 40447603
hmm,  forgive my ignorance here.  Let's assume the IP of the machine I need to inquire about is 192.168.x.x.  It is on a domain called ad.local.  How do I write the syntax?

I'm checking to see if anyone is currently logged-in.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40447635
query session /server:192.168.x.x
0
 

Author Comment

by:frugalmule
ID: 40447724
Error 5 getting session names, access denied.  I tried hostname and fully qualified hostname also
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40447742
Then try by making a network drive connection first, which provides the appropriate credentials:
net use \\192.168.x.x /u:Domain\User Password
query session /server:192.168.x.x
net use \\192.168.x.x /d

Open in new window

0
 

Author Comment

by:frugalmule
ID: 40460850
I'm not 100% clear on what each line does.
In line 1 specifically, u seems to indicate user but then you typed Domain.  I'm a little fuzzy here.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40460895
Domain is either the domain or computer name. User and Password are obvious, and need to be replaced, like the IP.
0
 

Author Comment

by:frugalmule
ID: 40461160
you didn't understand my question
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40461562
You didn't understand the answer?!
0
 

Author Comment

by:frugalmule
ID: 40463485
Does U: mean user?
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 40463537
All of this terms need to get replaced by real data:
  Domain
  User
  Password
  192.168.x.x

/u:  is the switch name of net use to indicate a username is following.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

785 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