berrick Posted May 25, 2006 Share 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??? Link to comment Share on other sites More sharing options...
net_user Posted May 25, 2006 Share 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 Link to comment Share on other sites More sharing options...
berrick Posted May 25, 2006 Author Share Posted May 25, 2006 thnxs for the replybut as i stated these are stand alone not on network. used by multiple users Link to comment Share on other sites More sharing options...
IcemanND Posted May 25, 2006 Share 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 Link to comment Share on other sites More sharing options...
net_user Posted May 26, 2006 Share Posted May 26, 2006 just put your logon script in the "%allusersprofile%\Start Menu\Programs\Startup" folder Link to comment Share on other sites More sharing options...
TheFlash428 Posted May 26, 2006 Share 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 Link to comment Share on other sites More sharing options...
berrick Posted May 26, 2006 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now