Jump to content

Recommended Posts

Posted

Hi all,

Hoping someone can assist

I have some stand alone XP pro pc's that i want to run scripts at logon, however my first thought, using the logon script part of the users profile properties wont work. I know i can use mmc to load local policy etc and do it that way, and it works, but it should also work as i describe in the first part of this thread, the fact its not is bugging me now that i have to find out what i'm doing wrong.

One error i did get was to state that the path i used was not relative!! Using . or %systemdrive% then the rest of the path cure's this error but the script still dont run.

Any ideas???


Posted

make sure your logon scripts are in the "netlogon" share of the server.

then in properties box of the user in active directory, just type in then name of the login script....

ie.... logonscript.bat or logonscript.cmd

Posted

as i recall you had to set up a locally shared folder called netlogon and put the scripts in it. I remember doing it once a long time ago

Posted (edited)

If you have XP Pro, "Run..." --> "gpedit.msc". From the computer configuration you can set startup/shutdown scripts, or under user configuration you can set logon/logoff scripts.

Word of caution: group policy editor comes with the same warning as the registry editor, caution should be used when making changes.

Edited by TheFlash428
Posted

thnxs for the replies,

I have found my silly mistake :blushing:

Just to round up for those that may be looking for answers.....

1st i wouldn't recommend using this

just put your logon script in the "%allusersprofile%\Start Menu\Programs\Startup" folder

Points to remeber when setting up logon scripts for local users

you can use any directory you like really but need to share it as netlogon

this directory is read only - so bare in mind when writing script, this was my mistake :blushing:

Case closed, problem solved many thanks

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...