Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 08, 2003

How to Locate Roaming Users

Two strategies offer many possibilities
RSS
View this exclusive article with VIP access -- click here to join |
See More Active Directory (AD) Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

In environments in which you have roaming users—that is, users who don't use the same computer every day—an important piece of information you might need to know is the machines that these users are logged on to. You need to know this information before you can remotely troubleshoot a problem (e.g., missing registry keys, missing environment variables) on a roaming user's computer.

By default, you can gather roaming users' machine information by filtering the Security logs on your domain controllers (DCs). However, this solution is time-consuming and potentially error prone, especially if you have two or more large Security logs. Instead, you can use one of two strategies to acquire this information. If you don't have too many computers on the network, you can simply poll each computer for the logged-on user. Alternatively, you can have users advertise the machines they're logged on to. By advertising I mean that the users can write to a central repository the name of the machine that they're logged on to. The advertising can be part of roaming users' logon script. Let's look at how you can implement both of these strategies and look at their advantages and disadvantages. . . .

Reader Comments
<P>I've integrated the loguser.vbs module into our login script, but I'm trying to find an easy way to display the information on a Web page. Given the user's full name, I'm trying to execute an LDAP query to retrieve the computer name via objUser.Get("wWWHomePage"). This results in a rather cryptic error message: "The Active Directory datatype cannot be converted to/from a native DS datatype." This value is just a string value, so I don't understand why it's returning this error. If anyone has a hint or solution, I'd greatly appreciate it.</P>

Mike Koch October 02, 2003


<P>On the top of page four (Web article), Steve says that the "wwwHomePage" and "url" fields are not read-only for users. I find that this is not the case. Are you sure these fields aren't read-only? I have a very vanilla install of AD and mine are read-only. I like the idea of using AD to store these settings and would like to use it instead of SQL or something like that. Is there anything I can do?</P>

FeroCeles October 16, 2003


<P>Great idea to store the Computername in the wwwHomePage attrib. I am making the addition to my logon script now. A quicker why to quickly bind to the user is use the ADSystemInfo object.
Simply:<BR>
Set WshADS = CreateObject("ADSystemInfo")<BR>
Set objUser = GetObject("LDAP://" & _<BR> <DD>WshADS.UserName)</P>

<P>This works with Win2K and higher. I have read that it is supposed to work on Win95 and NT if the AD Extension Client is installed, but I haven't had any luck.</P>

<P>Thanks again for a cool trick.</P>

Tony Colgrove November 05, 2003


why am i unable to view the entire post ???

killavirus October 15, 2008 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Microsoft Touts Xbox 360 'Black Friday' Success

Microsoft this week revealed that its Xbox 360 video game console outsold its Sony PlayStation 3 rival 3-to-1 on "Black Friday," which curiously describes the three day weekend after Thanksgiving, a period that unofficially kicks off the holiday selling ...

How can I stop and start services from the command line?

...


Active Directory (AD) Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

Managing Unix/Linux with Microsoft System Center Operations Manager 2007 Cross Platform Extensions Beta

Addressing the Insider Threat with NetIQ Security and Administration Solutions

Related Events Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Task Automation eBooks Spam Fighting and Email Security for the 21st Century

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing