Link to home
Start Free TrialLog in
Avatar of Ted Penner
Ted PennerFlag for United States of America

asked on

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.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

There is no way without a domain involved.
And what about query session /server:ComputerName listing the remote sessions?
should work, Qlemu, I'd forgotten about that.
Avatar of Ted Penner

ASKER

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.
query session /server:192.168.x.x
Error 5 getting session names, access denied.  I tried hostname and fully qualified hostname also
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

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.
Domain is either the domain or computer name. User and Password are obvious, and need to be replaced, like the IP.
you didn't understand my question
You didn't understand the answer?!
Does U: mean user?
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial