+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Wireless Networks Thread, Adding shortcuts to ALL USERS start menu in Technical; This problem has had me stumped most of the day so I'll throw it open to see if someone has ...
  1. #1
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    119

    Adding shortcuts to ALL USERS start menu

    This problem has had me stumped most of the day so I'll throw it open to see if someone has a solution in 30 seconds..

    Background:
    - All school packages are installed using GPO from a shared directory as per standard
    - Some packages however are centralised on the server and the users simply click a shortcut on their local machine to get start using the software.
    - The login script sets the mapped drives up AFTER the GPO installs run.

    So, what I was trying to do was create these shortcuts in the ALLUSERS start menu so they could just click through.. I opted to try and do some wininstall and MaSAI captures to see if that would do the trick but every time they were ruined when put into a GPO install..

    Now what I was seeing was my nice long pathnames in the shortcuts being truncated when installed by GPO but not when I ran the MSI locally (and logged in).

    Took me a few hours to realise that of course the mapped drives didn't exist when the GPO kicked in so it wasn't finding them and, I'm guessing here, truncating them to 8 characters long.

    It wasn't doing it properly though ie: "s:\long named thing\" was being set as "s:\long nam\" instead of the usual DOS version of "s:\long n~1\"


    So I've since looking around with a view to adding something to my VBS scipt but all I can find is desktop shortcuts scripts and not a damn thing for the ALL USERS start menu...


    all in all a bit of a crap, wasted day but if anyone could share some insights at this point I'm all ears.

  2. #2
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    119

    Re: Adding shortcuts to ALL USERS start menu

    Ain't it sodding typical..

    Just as I'm typing out the problem I realise what the solution is...

    I've edited all the paths used in the MSI to use the 8 character limit and it's worked..

    A whole day wasted *sob* but I seriously hope this saves some other poor sod from this gem... 8)

  3. #3

    Join Date
    Sep 2006
    Location
    Essex
    Posts
    786
    Thank Post
    1
    Thanked 34 Times in 32 Posts
    Rep Power
    24

    Re: Adding shortcuts to ALL USERS start menu

    Just my two pence worth but.. I usually write a script to add shortcuts to the all user start menu or desktop. I find it cleaner and easier to manage.

  4. #4
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: Adding shortcuts to ALL USERS start menu

    Hi djm968,

    Any chance you could post or forward me a copy of your script so I can adapt it for use here.

    I'm in the process of removing WinSuite at last and need to copy quite a few program shortcuts so the students and teachers still have all programs available.

    Many Thanks

    Simon

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Adding shortcuts to ALL USERS start menu

    Who need's a script? I just use robocopy..

  6. #6

    Join Date
    Sep 2006
    Location
    Essex
    Posts
    786
    Thank Post
    1
    Thanked 34 Times in 32 Posts
    Rep Power
    24

    Re: Adding shortcuts to ALL USERS start menu

    This is a simple script to create a folder in the start menu called "anyprogram" with an admin subfolder.

    The script also changes permissions so that students do not have access to the newly created admin folder and copies shortcuts to the respective folders.

    You will obviously need to rename the script to with a cmd or bat extension and modify the server and share for your envionment.

    Enjoy

  7. #7

    Join Date
    Sep 2006
    Location
    Essex
    Posts
    786
    Thank Post
    1
    Thanked 34 Times in 32 Posts
    Rep Power
    24

    Re: Adding shortcuts to ALL USERS start menu

    Forgot the attachement!!!
    Attached Files Attached Files

  8. #8
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: Adding shortcuts to ALL USERS start menu

    Thanks again. I'm starting to get on top of things now, and I'm going to start to learn scripts and flash I think.

    Cheers,

    Simon.

  9. #9

    Join Date
    Sep 2006
    Location
    Essex
    Posts
    786
    Thank Post
    1
    Thanked 34 Times in 32 Posts
    Rep Power
    24

    Re: Adding shortcuts to ALL USERS start menu

    Quote Originally Posted by ninjabeaver
    Thanks again. I'm starting to get on top of things now, and I'm going to start to learn scripts and flash I think.

    Cheers,

    Simon.
    The thing is I am really lazy and try not to move from my chair too much

    Once you master scripting you will wonder how you ever managed without.

  10. #10
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: Adding shortcuts to ALL USERS start menu

    OK, I've done the script .bat and it works fine from my logon as with administrator access.

    I've a logon script .bat file which calls the shortcut .bat for the teachers machines (I'm testing a lite version on them first).

    The thing is that the script is reporting access denied when doing anything from the script.

    I'm thinking (probably wrongly) that I need to set Admin access in the script as it makes the folders and then xcopies the shortcuts to them.


    LOGIN.BAT
    Code:
    @BREAK OFF
    @ECHO OFF
    
    @BREAK OFF
    @ECHO OFF
    
    net use i: \\phserver2\apps
    net use p: \\phserver2\careers
    net use s: \\phServer3\Flo
    net use t: \\phServer1\Public
    net use n: \\phserver2\Headstart
    
    %0%\..\kix32.exe logon.kix
    
    net stop messenger
    
    TICONS.BAT
    
    EXIT
    TICONS.BAT
    Code:
    REM Make New Program Groups (Folders)
    MD "C:\Documents and Settings\All Users\Start Menu\Programs\Brooke Weston"
    MD "C:\Documents and Settings\All Users\Start Menu\Programs\DiDA"
    MD "C:\Documents and Settings\All Users\Start Menu\Programs\OCR Nationals"
    MD "C:\Documents and Settings\All Users\Start Menu\Programs\Learn Premium"
    MD "C:\Documents and Settings\All Users\Start Menu\Programs\Birchfield"
    
    REM Folder Rights for New Folders (Allows Icons to be copied)
    CACLS "C:\Documents and Settings\All Users\Start Menu\Programs\Brooke Weston" /T /E /P teachers:F
    CACLS "C:\Documents and Settings\All Users\Start Menu\Programs\DiDA" /T /E /P teachers:F
    CACLS "C:\Documents and Settings\All Users\Start Menu\Programs\OCR Nationals" /T /E /P teachers:F
    CACLS "C:\Documents and Settings\All Users\Start Menu\Programs\Learn Premium2" /T /E /P teachers:F
    CACLS "C:\Documents and Settings\All Users\Start Menu\Programs\Birchfield" /T /E /P teachers:F
    
    REM Move New ShortCuts to Specified Folders
    XCOPY "I:\New Icons\Birchfield" "C:\Documents and Settings\All Users\Start Menu\Programs\Birchfield" /C /Q /Y /I
    XCOPY "I:\Focus Educational Software" "C:\Documents and Settings\All Users\Start Menu\Programs\Focus Educational Software\" /C /Q /Y /I
    XCOPY "I:\Learn Premium.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Learn Premium\" /C /Q /Y /I
    XCOPY "I:\PICAXE Programming Editor.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\Technology\" /C /Q /Y /I
    XCOPY "I:\DiDA" "C:\Documents and Settings\All Users\Start Menu\Programs\DiDA" /C /Q /Y /I
    XCOPY "I:\Brooke Weston" "C:\Documents and Settings\All Users\Start Menu\Programs\Brooke Weston" /C /Q /Y /I
    XCOPY "I:\OCR Nationals" "C:\Documents and Settings\All Users\Start Menu\Programs\OCR Nationals" /C /Q /Y /I
    It's either that or I'm using CACLS wrongly. I'd really appreciate some advice, pointers or fixes for this.

    Thanks everyone in advance,

    Simon.

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Adding shortcuts to ALL USERS start menu

    Are you running this at user login or machine startup?

  12. #12

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Adding shortcuts to ALL USERS start menu

    The default NTFS permissions on the ALL USER folder tree is for users (and hence Domain Users) to be readonly. You wouldn't want your students changing shortuts and menus on whim.

  13. #13
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: Adding shortcuts to ALL USERS start menu

    Sorry Geoff. This is run at user login. I'll also point out that we are still running WinSuite, but this is the first stage of removing it totally from the network. Slowly moving the students from Yr9 to Yr 13 off of it.

  14. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Adding shortcuts to ALL USERS start menu

    you need to run it at machine startup instead. Your users probably don't have sufficent permission to alter permissions on folders in all users and/or add files there.

  15. #15
    ninjabeaver's Avatar
    Join Date
    Jun 2005
    Location
    Norfolk
    Posts
    1,090
    Thank Post
    183
    Thanked 100 Times in 88 Posts
    Rep Power
    47

    Re: Adding shortcuts to ALL USERS start menu

    OK Geoff, thanks. But how do I do that please?

    Sorry, I'm in NooB mode. But this is all new to me.



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 5
    Last Post: 1st November 2011, 02:05 PM
  2. Start menu redirection
    By Andi in forum Network and Classroom Management
    Replies: 28
    Last Post: 5th December 2007, 02:48 PM
  3. Start Menu Issue in XP
    By rixi in forum Windows
    Replies: 1
    Last Post: 18th October 2007, 05:48 PM
  4. Annoying Shortcuts appearing in Start Menu
    By markesmith in forum Wireless Networks
    Replies: 2
    Last Post: 18th September 2006, 08:27 PM
  5. Adding shortcuts to Sims.net
    By eejit in forum Windows
    Replies: 26
    Last Post: 22nd June 2005, 04:35 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •