cumminbk Posted October 12, 2005 Share Posted October 12, 2005 Alright for my unatteded install i make changes to the start menu. These changes only effect the admin account though and i want them to effect all acounts.This is the batch code i am using DEL "%systemdrive%\Documents and Settings\Default User\Start Menu\Programs\Windows Media Player.lnk"DEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"MOVE "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu"MOVE "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs"RD /S /Q "%systemdrive%\Documents and Settings\All Users\Documents\My Music\Sample Playlists"RD /S /Q "%systemdrive%\Documents and Settings\All Users\Documents\My Music\Sync Playlists"I thought that placeing IE link in the All Users folder it would be in the start menu for "all users" but instead when another user logs on there is an IE link but it is broken. Also when i us this commandDEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"Outlook express icon i still in other user accounts other than the admin one. How do i remove it so it is not in any acounts? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 12, 2005 Share Posted October 12, 2005 (edited) use the %allusers% variable.Sorry got cunfused. Edited October 12, 2005 by kelsenellenelvian Link to comment Share on other sites More sharing options...
Shark007 Posted October 12, 2005 Share Posted October 12, 2005 kelsenellenelvian seems a bit tired, %allusers% wont get you anywhere.I changed your commands slightly.My start menu is modified, so i dont knw the default locations.Hopefully, you can work from this, and get what you need done.DEL /F /Q "%systemdrive%\Documents and Settings\Default User\Start Menu\Programs\Windows Media Player.lnk"DEL /F /Q "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"MOVE /Y "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk" "%AllUsersProfile%\Start Menu\"MOVE /Y "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk" "%AllUsersProfile%\Start Menu\Programs\"RD /S /Q "%AllUsersProfile%\Documents\My Music\Sample Playlists"RD /S /Q "%AllUsersProfile%\Documents\My Music\Sync Playlists"shark Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 12, 2005 Share Posted October 12, 2005 Yeah I know I got confused and then re-read the first post... Link to comment Share on other sites More sharing options...
cumminbk Posted October 13, 2005 Author Share Posted October 13, 2005 @Shark007 well thanks for shortening my code but i still could not get this to work how i wanted it to. any other suggestions? 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