Solved

is there a way to find out what PC a user is using.

Posted on 2007-03-29
3
168 Views
Last Modified: 2013-12-04
Is it possible to find out what computer a user is logging onto via server 2003 and xp?

I have a user (large organization) and Im not sure of the PC they are logging into but I need to stop them from doing something... is there a way to track this down?
0
Comment
Question by:urobins
3 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
Comment Utility
0
 
LVL 16

Expert Comment

by:The_Kirschi
Comment Utility
How about running a little small script each time a user logs on?

Here is the code:

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objWshNetwork = WScript.CreateObject("WScript.Network")
strComputerName = objWshNetwork.ComputerName
strUserName = objWshNetwork.Username

Set objTextFile = objFSO.CreateTextFile("C:\" & strComputerName & "_" & strUsername & ".txt", True)


The script will create file in C:\ with the Computername and the Username of the user who just logged on. Just replace C:\ with a share like \\server\share1. Take the code and save it in a textfile with vbs-Extension, e. g. loggedon.vbs. Run the file via group policy. Put it in the user section. You will always know who logged on to which machine.

Furthermore you can restrict users to log on to specific workstations only. Go into AD properties of the user. Select the account tab and click on the Log on to button. Specify the desired workstations
0
 

Author Comment

by:urobins
Comment Utility
Shift that worked perfectly thanks!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

13 Experts available now in Live!

Get 1:1 Help Now