Solved

See logged on or locked status of another windows computer

Posted on 2014-11-16
13
68 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 78

Expert Comment

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

Expert Comment

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

Expert Comment

by:David Johnson, CD, MVP
ID: 40446474
should work, Qlemu, I'd forgotten about that.
0
 

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 68

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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 68

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 68

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 68

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 68

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, 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.

912 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now