+ Post New Thread
Results 1 to 8 of 8
Windows Thread, Slow menus in Technical; We have a 2003 domain with xp clients, roaming profiles for all. The students have a redirected start menu so ...
  1. #1
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    261
    Thank Post
    84
    Thanked 34 Times in 23 Posts
    Rep Power
    31

    Slow menus

    We have a 2003 domain with xp clients, roaming profiles for all.
    The students have a redirected start menu so they only get what I want them to get.
    The problem is that once a student logs in and clicks the start menu, it takes an age for the menu to pop up. It has been slow ever since I have started working here, just would like to get it sorted now.
    I have moved the redirected menu form the domain controller, to another server which is TS and idle during the day, also moved it to another server as a final check. All had no improvement in the situation.

    I have tried it after school when no one is around also

    Any ideas would be great.
    Cheers

  2. #2

    MK-2's Avatar
    Join Date
    Oct 2006
    Location
    Nottingham
    Posts
    3,237
    Thank Post
    149
    Thanked 581 Times in 307 Posts
    Blog Entries
    8
    Rep Power
    200
    sometimes its one of the links in the start menu linking to a server that is off, and the start menu is trying to find that link, so say you had a link for word pointing to
    \\server\word\word.exe, the start menu is sat there trying to find \\server but server is off or doesn't exist.
    not sure if it is that, but maybe just look through all your links, check if they point to the right location

  3. #3
    krisd32's Avatar
    Join Date
    Feb 2006
    Location
    Longridge, Preston
    Posts
    545
    Thank Post
    85
    Thanked 68 Times in 47 Posts
    Rep Power
    43
    i would agree with MK-2 sounds like a shortcut issue.

  4. #4

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,157
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    It will be particularly bad if the link points to a now-dead server but even for live servers this can really slow things down.

    If you've never done it, put sysinternals filemon on the machine and run it and then click start - watch the amount of work done by explorer as it builds the menu.

    if you can change the start menu links for anything which does need to be launched from a server so that the icon is picked up from a folder on the C: drive and the shortcut actually points to wscript launching a network based script then you remove a huge amount of network traffic and should see a big increase in speed of start menu appearing.

  5. #5
    mullet_man's Avatar
    Join Date
    Oct 2005
    Location
    Oldham
    Posts
    732
    Thank Post
    34
    Thanked 46 Times in 45 Posts
    Rep Power
    27
    Check out this thread, think Ric_ mentions why they might be slow, http://www.edugeek.net/forums/networ...w-explain.html

    I have this problem, but never got round to recreating all the shortcuts.

  6. #6

    rob_f's Avatar
    Join Date
    May 2008
    Location
    Leeds
    Posts
    228
    Thank Post
    16
    Thanked 76 Times in 58 Posts
    Rep Power
    26
    If you've got a folder redirection on the start menu to a server, you'll always get some lag. As we weren't updating the start menu that often, there wasn't a need for it to be always checked on the server, so i wrote a script to do a sync of the menu on startup to local disk, then point the redirect at that.

    I found it did increase the startup script time, but that was resolved by putting a pointer file on the server with a version number in it. When you change the start menu on the server, increase the version. The script would then compare the local copy of the pointer and if the number is less than the server one, do a sync.

    Whilst doing these syncs you can also take the opportunity to use the script to do things like wallpapers - again faster to have them locally than refer to them on the server. I even made multiple resolution copies of the wallpapers and then had the script check the current screen res and download the relevant wallpaper to keep things looking nice

    Some food for thought hopefully, unfortunately I can't post the script as it's intellectual property of my previous employer. Boo.

  7. #7

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,070
    Thank Post
    210
    Thanked 430 Times in 310 Posts
    Rep Power
    144
    Quote Originally Posted by rob_f View Post
    As we weren't updating the start menu that often, there wasn't a need for it to be always checked on the server, so i wrote a script to do a sync of the menu on startup to local disk, then point the redirect at that. . . . .
    I had exactly the same setup at a previous school, it worked like a charm and also stopped the missing startmenu and desktop problems you can get on wireless laptops using a redirected startmenu when the wireless signal drops. My simple script deleted the existing local copy and re-copied the start menu from the server everytime the machine started up. As it's only a handful of shortcuts it really didn't take too long to do, and extra time taken at startup is out weighed by the benefits in my opinion.

    This script also examines the OU the computer account is in, and copies over additional icons for each set of workstations if you want it to, as defined by the case statement. That means you no longer have dead links on your start menu for programs only installed in a certain area of the school. Hopefully the rest of it is fairly self explanatory.

    Code:
    on error resume next
    
    Const OverWriteFiles = True
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    objFSO.DeleteFolder("C:\settings\startmenu")
    objFSO.CopyFolder "\\DOMAIN\netlogon\students\Shortcuts\Basicicons" , "C:\settings\menu" , OverWriteFiles
    
    Set objWshNetwork = CreateObject("WScript.Network")
    Set objAdsSystemInfo = CreateObject("adsysteminfo")
    Set objComputerName = GetObject("LDAP://" & objAdsSystemInfo.ComputerName)
    Set objOU = GetObject(objComputerName.Parent)
    strOU = replace(objOU.Name,"OU=","")
    
    Select Case strOU
    
     Case "room 1"
    objFSO.CopyFolder "\\school\netlogon\students\Shortcuts\rm1" , "C:\settings\menu" , OverWriteFiles
    
     Case "Room 3"
    objFSO.CopyFolder "\\school\netlogon\students\Shortcuts\rm3" , "C:\settings\menu" , OverWriteFiles
    
     Case "Room 10 laptops"
    objFSO.CopyFolder "\\school\netlogon\students\Shortcuts\rm10LT" , "C:\settings\menu" , OverWriteFiles
    
    End Select
    You can then point your group policy redirect at c:\settings\menu and the machine will use the local start menu from that location

    Mike.

  8. #8

    Join Date
    May 2008
    Posts
    524
    Thank Post
    18
    Thanked 8 Times in 8 Posts
    Rep Power
    16
    Quote Originally Posted by maniac View Post
    I had exactly the same setup at a previous school, it worked like a charm and also stopped the missing startmenu and desktop problems you can get on wireless laptops using a redirected startmenu when the wireless signal drops. My simple script deleted the existing local copy and re-copied the start menu from the server everytime the machine started up. As it's only a handful of shortcuts it really didn't take too long to do, and extra time taken at startup is out weighed by the benefits in my opinion.

    This script also examines the OU the computer account is in, and copies over additional icons for each set of workstations if you want it to, as defined by the case statement. That means you no longer have dead links on your start menu for programs only installed in a certain area of the school. Hopefully the rest of it is fairly self explanatory.

    Code:
    on error resume next
    
    Const OverWriteFiles = True
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    objFSO.DeleteFolder("C:\settings\startmenu")
    objFSO.CopyFolder "\\DOMAIN\netlogon\students\Shortcuts\Basicicons" , "C:\settings\menu" , OverWriteFiles
    
    Set objWshNetwork = CreateObject("WScript.Network")
    Set objAdsSystemInfo = CreateObject("adsysteminfo")
    Set objComputerName = GetObject("LDAP://" & objAdsSystemInfo.ComputerName)
    Set objOU = GetObject(objComputerName.Parent)
    strOU = replace(objOU.Name,"OU=","")
    
    Select Case strOU
    
     Case "room 1"
    objFSO.CopyFolder "\\school\netlogon\students\Shortcuts\rm1" , "C:\settings\menu" , OverWriteFiles
    
     Case "Room 3"
    objFSO.CopyFolder "\\school\netlogon\students\Shortcuts\rm3" , "C:\settings\menu" , OverWriteFiles
    
     Case "Room 10 laptops"
    objFSO.CopyFolder "\\school\netlogon\students\Shortcuts\rm10LT" , "C:\settings\menu" , OverWriteFiles
    
    End Select
    You can then point your group policy redirect at c:\settings\menu and the machine will use the local start menu from that location

    Mike.

    Hi

    Im just about to give this a go but when i change the redirect to C:, wont windows automatically put in the Programs folder in the Menu folder as all the shorcuts have to be in the Programs folder?

    Thanks

SHARE:
+ Post New Thread

Similar Threads

  1. joomla sub-menus
    By HodgeHi in forum EduGeek Joomla 1.5 Package
    Replies: 6
    Last Post: 2nd June 2008, 11:38 AM
  2. creating new menus
    By jkmoch in forum EduGeek Joomla 1.0 Package
    Replies: 2
    Last Post: 5th May 2008, 03:28 AM
  3. Menus 'pop-under'
    By kerlj001 in forum EduGeek Joomla 1.0 Package
    Replies: 10
    Last Post: 27th February 2008, 10:51 AM
  4. Renaming menus
    By ianaddisonuk in forum Web Development
    Replies: 0
    Last Post: 12th August 2007, 02:01 PM
  5. Replies: 13
    Last Post: 14th December 2006, 11:43 AM

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
  •