Solved

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

Posted on 2007-03-29
3
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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