Post: Logon Script/Batch File Needed
09-16-2010, 08:29 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello.

Okay i require either a logon script or batch file that will tell me these 5things:

1. Date
2. Time
3. Computer Name
4. User Name
5. If that user has local admin privelidges

And it would be super if it would all right to a .txt file.

I know a code similar to this would work but i would need it to be able to run from a server instead of from each individual machine.

    date /T >>filename.log
time /T >>filename.log

IsAdmin >>filename.log

echo %computername% = Computer Name >>filename.log

echo %username% = User Name >>filename.log

echo -=Done=-


the thing is that this needs IsAdmin to run on every machine and plus i cant get it to say this user has no admin rights if the user does not.

Thanks

Liam
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo