berrick Posted May 25, 2006 Posted May 25, 2006 Hi all,Hoping someone can assistI 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???
net_user Posted May 25, 2006 Posted May 25, 2006 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
berrick Posted May 25, 2006 Author Posted May 25, 2006 thnxs for the replybut as i stated these are stand alone not on network. used by multiple users
IcemanND Posted May 25, 2006 Posted May 25, 2006 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
net_user Posted May 26, 2006 Posted May 26, 2006 just put your logon script in the "%allusersprofile%\Start Menu\Programs\Startup" folder
TheFlash428 Posted May 26, 2006 Posted May 26, 2006 (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 May 26, 2006 by TheFlash428
berrick Posted May 26, 2006 Author Posted May 26, 2006 thnxs for the replies,I have found my silly mistake 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" folderPoints to remeber when setting up logon scripts for local usersyou can use any directory you like really but need to share it as netlogonthis directory is read only - so bare in mind when writing script, this was my mistake Case closed, problem solved many thanks
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now