Remote Support Software

Provide instant remote support to customers and employees:

Click here for a free trial

Remote Desktop Details

You mean something like the script below? In latest operating systems there are possibilities to trigger action according to the event (event log) and this allows for registering login and logout.
Regards
Milos
#Find logged in user of remote computer

$computer=read-host "Enter computer name:"
gwmi win32_computersystem -comp $computer | select USername,Caption,Manufacturer

Need to support users over the internet? click here try our remote control online beta






June 11th, 2012 10:22pm
Thanks Milos but there are few things i need to clear up.
1. I get Access denied on most other PCs, i assume i need X level of access, either some explicit wmi permission or to be a valid user on the remote machine ? Is there a specific "ok to use remote wmi" priviledge ?
2. This returns who is logged in, not where they are logged in from. e.g.
These are Vmware VMs, which means you can get console access as well as remote desktop access.
When you access a non server vm (one login session) from the VM console, it tells you who is logged on and what machine is the end point for RDP. I would like to find the end point via a script. Thanks

Need to support users over the internet? click here try our remote control online beta






June 12th, 2012 11:13pm
Thanks Milos but there are few things i need to clear up.
1. I get Access denied on most other PCs, i assume i need X level of access, either some explicit wmi permission or to be a valid user on the remote machine ? Is there a specific "ok to use remote wmi" priviledge ?
2. This returns who is logged in, not where they are logged in from. e.g.
These are Vmware VMs, which means you can get console access as well as remote desktop access.
When you access a non server vm (one login session) from the VM console, it tells you who is logged on and what machine is the end point for RDP. I would like to find the end point via a script. Thanks

There is an amazing pack of free network admin tools. click here to download it






June 12th, 2012 11:13pm
Hi
This is a bit of gold plating, but it would be good if we could establish remotely in a tool, who was logged onto a VM.
Now i know you can try a Remote Desktop and get a warning about a logged in user, but this is of little help.
=> Ideally i would like to get the machine name of the remote user and the user logged into a VM ? (WMI ?)
The machine name comes in handy when various people are using a generic account like our buildadmin account.
The context here is WIndows 7 and some older XP machines.
NB: I have found reference to the qwinsta or "query session" command, however even though i an admin and have RDP access to a remote the name of a remote VM.
Thanks

There is an amazing pack of free network admin tools. click here to download it






June 13th, 2012 5:33pm
You mean something like the script below? In latest operating systems there are possibilities to trigger action according to the event (event log) and this allows for registering login and logout.
Regards
Milos
#Find logged in user of remote computer

$computer=read-host "Enter computer name:"
gwmi win32_computersystem -comp $computer | select USername,Caption,Manufacturer

There is an amazing pack of free network admin tools. click here to download it






June 13th, 2012 10:19pm
Hi,

Have you tried the Net Session command which is used to manages server/client computer connections?
Here is the document talking about Net Session command

http://technet.microsoft.com/en-us/library/bb490711.aspx


Regards,
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Need to support users over the internet? click here try our remote control online beta






June 14th, 2012 4:09am
Thanks Peterson
This looked promising..
When i run this from an elevated CMD shell on my local machine (win 7) it says there are not entries yet i am logged on.
When i run for another machine which has an RDP session (win7) on it it shows "a session does not exist with the computer name"
=> My guess is it does not work under windows 7
regards

There is an amazing pack of free network admin tools. click here to download it






June 14th, 2012 8:05pm
Hi Greg,

It also works under Windows 7. Please note that Net Session command is used to list or disconnect sessions between the computer and other computers on the network.

If you RDP to the Windows 7 client, and run the Net session in the RDP session, then it works.

Regards,
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Need to support users over the internet? click here try our remote control online beta






June 14th, 2012 10:04pm
Thanks Peterson
This looked promising..
When i run this from an elevated CMD shell on my local machine (win 7) it says there are not entries yet i am logged on.
When i run for another machine which has an RDP session (win7) on it it shows "a session does not exist with the computer name"
=> My guess is it does not work under windows 7
regards

There is an amazing pack of free network admin tools. click here to download it






June 15th, 2012 7:42pm
Hi Greg,

It also works under Windows 7. Please note that Net Session command is used to list or disconnect sessions between the computer and other computers on the network.

If you RDP to the Windows 7 client, and run the Net session in the RDP session, then it works.

Regards,
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

There is an amazing pack of free network admin tools. click here to download it






June 15th, 2012 9:42pm
Hi,

Have you tried the Net Session command which is used to manages server/client computer connections?
Here is the document talking about Net Session command

http://technet.microsoft.com/en-us/library/bb490711.aspx


Regards,
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

There is an amazing pack of free network admin tools. click here to download it






June 16th, 2012 3:41am
Hi Greg,
I have not heard you for a couple of days, could you give me an update about the issue?
Thanks and I look forward to your reply.

Regards,

Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Need to support users over the internet? click here try our remote control online beta






June 18th, 2012 10:19pm
Hi
I was away yesterday. From my viewpoint, net session does not work as i understand it.
In a Windows 7 Sp1, run as admin CMD, net session returns "there are no entries in the list" yet i have two outgoing RDP sessions running.
When i do "net session \\remote_machine" from my machine i get "A session does not exist with that computer name." yet when i go to the file server ("remote machine"i do a net session it returns a big list
of users accessing files, i.e. it is unrelated to Remote desktop sessions.
Thus i think we are at cross purposes, you have your own context of what this does and mine is that i am only interested in remote desktop information, as per the picture above.
Also (as above) i would like to know the answer to "1. I get Access denied on most other PCs, i assume i need X level of access, either some explicit wmi permission or to be a valid user on the remote machine ? Is there a specific "ok to use remote wmi"
priviledge ?"
Thanks for your help anyway

There is an amazing pack of free network admin tools. click here to download it






June 20th, 2012 9:21pm
Hi Greg,
I have not heard you for a couple of days, could you give me an update about the issue?
Thanks and I look forward to your reply.

Regards,

Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

There is an amazing pack of free network admin tools. click here to download it






June 20th, 2012 9:55pm
Hi
I was away yesterday. From my viewpoint, net session does not work as i understand it.
In a Windows 7 Sp1, run as admin CMD, net session returns "there are no entries in the list" yet i have two outgoing RDP sessions running.
When i do "net session \\remote_machine" from my machine i get "A session does not exist with that computer name." yet when i go to the file server ("remote machine"i do a net session it returns a big list
of users accessing files, i.e. it is unrelated to Remote desktop sessions.
Thus i think we are at cross purposes, you have your own context of what this does and mine is that i am only interested in remote desktop information, as per the picture above.
Also (as above) i would like to know the answer to "1. I get Access denied on most other PCs, i assume i need X level of access, either some explicit wmi permission or to be a valid user on the remote machine ? Is there a specific "ok to use remote wmi"
priviledge ?"
Thanks for your help anyway

There is an amazing pack of free network admin tools. click here to download it






June 21st, 2012 9:06pm
Hi ,

Wish these posts will help for you:

http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/60a9ef66-ae65-4b67-abf5-ce5b78c57448/


http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/2eecbf41-42c7-4ae2-872d-73e473b04616

Regards,
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

There is an amazing pack of free network admin tools. click here to download it






June 22nd, 2012 2:01am
Hi ,

Wish these posts will help for you:

http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/60a9ef66-ae65-4b67-abf5-ce5b78c57448/


http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/2eecbf41-42c7-4ae2-872d-73e473b04616

Regards,
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

There is an amazing pack of free network admin tools. click here to download it






June 23rd, 2012 1:59am
Thanks for the help
The first url is a dead end, the 2nd covers authenitication.
As for the original query on finding RDP session information we are unresolved on my side. On our 2008 r2 file server, even though i am on it as a remote desktop user, net session does NOT show me but shows all the people accessing the drives.
From my point of view, "net session" is not the way to resolve my original questions.
Regards Greg

There is an amazing pack of free network admin tools. click here to download it






June 24th, 2012 4:59pm
Thanks for the help
The first url is a dead end, the 2nd covers authenitication.
As for the original query on finding RDP session information we are unresolved on my side. On our 2008 r2 file server, even though i am on it as a remote desktop user, net session does NOT show me but shows all the people accessing the drives.
From my point of view, "net session" is not the way to resolve my original questions.
Regards Greg

Need to support users over the internet? click here try our remote control online beta






June 25th, 2012 4:39pm
Hi,
I thought the post I deliverred to you would answer your questions:

Also (as above) i would like to know the answer to "1. I get Access denied on most other PCs, i assume i need X level of access, either some explicit wmi permission or to be a valid user on the remote machine ? Is there a specific "ok to use remote wmi"
priviledge ?

Since the Net Session doesn't resolve your issue, we may consider the PowerShell command, here is another post wish help you:

http://social.technet.microsoft.com/Forums/uk/winserverpowershell/thread/3659f957-6dc5-4534-9e8b-e29bbcc99b34


Regards,


Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Need to support users over the internet? click here try our remote control online beta






June 26th, 2012 12:05am
Hi,
I thought the post I deliverred to you would answer your questions:

Also (as above) i would like to know the answer to "1. I get Access denied on most other PCs, i assume i need X level of access, either some explicit wmi permission or to be a valid user on the remote machine ? Is there a specific "ok to use remote wmi"
priviledge ?

Since the Net Session doesn't resolve your issue, we may consider the PowerShell command, here is another post wish help you:

http://social.technet.microsoft.com/Forums/uk/winserverpowershell/thread/3659f957-6dc5-4534-9e8b-e29bbcc99b34


Regards,


Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Need to support users over the internet? click here try our remote control online beta






June 26th, 2012 11:46pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics