Re: run once logon script
- From: Kurt <kurtl@xxxxxxxxxxxxxxxxx>
- Date: Thu, 01 Feb 2007 21:49:15 -0800
khmmc wrote:
Thanks for an answer. You would think that MS would have some facility to do this. Do you have a rcommendation as to where the semaphore text file should be created, it will be run by multiple workstations/users ?It should be out of the way, not on users desktops :-). Obviously, if it needs to run once per user it should go into something specific to that user, like "documents and settings\%username%" or something. Or if it just needs to run once per machine, wherever you think it will be safest. You can also have the script write to a file or create a file on a server so you'll know when all of the machines/users have run it.
"Florian Frommherz" wrote:
Howdie!
khmmc wrote:How do I craft a logon script/batch file to run only once applied through the GPO ?You can't, as Group Policy logon/startup scripts will always execute on startup. But you can have a workaround: execute the script and after its initial completion, create a textfile or whatever to check for when executed once more. By checking then for the file, you'll be able to tell whether the script got executed before or not.
cheers,
Florian
--
Nachwuschsadmin aus dem Süddeutschen/Germany.
eMail: Vorname [bei] frickelsoft [Punkt] net.
blog: http://www.frickelsoft.net/blog.
....kurt
.
- References:
- Re: run once logon script
- From: Florian Frommherz
- Re: run once logon script
- Prev by Date: Computer Policy Does n Not Apply
- Next by Date: Re: Computer Policy Does n Not Apply
- Previous by thread: Re: run once logon script
- Next by thread: Re: run once logon script
- Index(es):
Relevant Pages
|
Loading