Solved

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

Posted on 2007-03-29
3
194 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
ID: 18818438
0
 
LVL 16

Expert Comment

by:The_Kirschi
ID: 18819553
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
ID: 18820433
Shift that worked perfectly thanks!
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
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...
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 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