Solved

Local admin logon reporting script

Posted on 2011-09-21
3
200 Views
Last Modified: 2012-05-12
I run a user logon script that writes each domain user's logon and off times to a text file. Works great. I also now need a script that I can push to all domain computers that will record each time that the machine's local administrator logs on and off. I know that some users have been given the admin password for machines and need to find out which machines are being used. Don't want to change all local admin machine passwords yet!

Thanks in advance for any help.

Gill
0
Comment
Question by:gillpardesc
3 Comments
 
LVL 7

Accepted Solution

by:
Dusan_Bajic earned 250 total points
Comment Utility
It is little unclear, you already have a script that writes time when someone logs in. Will it not record when local admin logs in, same as for any other user? It could be so if script is pushed to domain users only, but then all you have to do is to apply script to domain computers.  
0
 
LVL 8

Assisted Solution

by:jawa29
jawa29 earned 250 total points
Comment Utility
Hi Gill

Am I right in thinking that the current script is either set by the users AD account? or on Group Policy?

Group Policy objects only apply to AD accounts, the Computer section does apply to the local Machine but has no option to run a Logon script only Start up scripts.

You have a few options to achieve this. (all of these options will run the script when any user logs in, including Domain Users)

1. Edit the local User Policy to add the script you already have gpedit.msc

2. Add your script to the Run key in HKLM\Software\Microsoft\Windows\CurrentVersion\Run

3. Set-up a scheduled task to run everytime a user logs in

2 & 3 could be set-up through a startup script on the Machine.

Jawa29
0
 

Author Closing Comment

by:gillpardesc
Comment Utility
Abandoned this but thanks to those who replied
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Companies that have implemented Microsoft’s Active Directory need to ensure that the Active Directory is configured and operating properly. If there are issues found and not resolved, it eventually leads the components to fail or stop working and fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

728 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