• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 78
  • Last Modified:

See logged on or locked status of another windows computer

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
frugalmule
Asked:
frugalmule
  • 6
  • 5
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
There is no way without a domain involved.
0
 
QlemoC++ DeveloperCommented:
And what about query session /server:ComputerName listing the remote sessions?
0
 
David Johnson, CD, MVPOwnerCommented:
should work, Qlemu, I'd forgotten about that.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
frugalmuleAuthor Commented:
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
 
QlemoC++ DeveloperCommented:
query session /server:192.168.x.x
0
 
frugalmuleAuthor Commented:
Error 5 getting session names, access denied.  I tried hostname and fully qualified hostname also
0
 
QlemoC++ DeveloperCommented:
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
 
frugalmuleAuthor Commented:
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
 
QlemoC++ DeveloperCommented:
Domain is either the domain or computer name. User and Password are obvious, and need to be replaced, like the IP.
0
 
frugalmuleAuthor Commented:
you didn't understand my question
0
 
QlemoC++ DeveloperCommented:
You didn't understand the answer?!
0
 
frugalmuleAuthor Commented:
Does U: mean user?
0
 
QlemoC++ DeveloperCommented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 6
  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now