Identify Currently Logged on Users - Copy files using GPO

Objective

You would like to view the details of currently logged on users on the computer from IPAM tool. For this to work, you should copy two files to the users computers. This document will explain you the steps to copy these files using the Windows GPO.

Steps to Copy Files via GPO

Follow the steps below on a Domain Controller

Download the LoggedOnUser.zip file Using OpUtils Server

  1. Click the IP Address Manager tab
  2. In the Settings section, click Currently Logged On User
  3. Click Download Zip

Copy the zip to a Network Share

  1. Create a Network Share and copy this zip file to that share
  2. unzip the file - you will see an exe and a vbs file within that zip

Copy these Files using GPO

  1. Click start>Run
  2. Enter gpmc.msc
  3. Click OK
  4. Right-click the domain and select Create and Link a GPO here
  5. Specify a name for the GPO
  6. Select the GPO
  7. Note: If you want to run the script in only a few client computers, follow the steps given below. To install the agent in all your client computers skip these steps and go to step 8:
    1. Click the Scope tab
    2.  In the Security Filtering section, click Add
    3.  In the Select User, Computer, or Group dialog box, click Object Types
    4.  Select specific computer object types
    5.  Click OK
    6.  Specify the computer names
    7.  Click Check Names
    8.  Click OK
  8.  Right-click the GPO and click Edit
  9. Expand User Configuration>Windows Settings>Scripts
  10. Right-click logon and click Properties
  11. Click Show Files
  12. Drag and drop the CurrentlyLoggedOnUserIPAM.vbs & CurrentlyLoggedOnUser.exe to this location and Copy the location (\\Domain name\SysVol\mydomain.com\Policies\{ID}\User\Scripts\Logon) and close.
  13. In the Startup Properties dialog box, click Add
  14. Browse and select the CurrentlyLoggedOnUserIPAM.vbs script
  15. Specify the script parameters as \\Domain name\SysVol\mydomain.com\Policies\{ID}\User\Scripts\Logon
    Note : The copied location is specified in the script parameter.
  16. Click OK to close the Add a Script dialog box
  17. Click OK to close the Logon Properties dialog box
  18. Close the Group Policy Object Editor
  19. Close the Group Policy Management dialog box

The script will be executed when the client computers next reboot. After the execution of the script, the Logged On User Data is automatically pushed to OpUtils Server.

Applies to: IP Address Manager

Keywords: IP Address Manager, IPAM, Currently Logged on Users, Windows GPO

24/5 Support

Support will be available 24hrs a day and five days a week (Monday through Friday), excluding USA & India public holidays.

Tel   : +1-888-720-9500
Email :

Speak to us

  • Join the OpUtils Community, to get instant answers for your queries, register with our Forum.
  • Tweet the latest happenings in OpUtils, follow us at Twitter.