Solved

See logged on or locked status of another windows computer

Posted on 2014-11-16
13
75 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 2
13 Comments
 
LVL 81

Expert Comment

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

Expert Comment

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

Expert Comment

by:David Johnson, CD, MVP
ID: 40446474
should work, Qlemu, I'd forgotten about that.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 70

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 70

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 70

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 70

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 70

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 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