Solved

See logged on or locked status of another windows computer

Posted on 2014-11-16
13
72 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 80

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 80

Expert Comment

by:David Johnson, CD, MVP
ID: 40446474
should work, Qlemu, I'd forgotten about that.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
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.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

839 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