+ Post New Thread
Results 1 to 6 of 6
Windows Thread, redirect startmenu locally- access denied in Technical; Hi, I am aiming to redirect the start menu and desktop to the local machine on our win2k server/xp pro ...
  1. #1
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    416
    Thank Post
    373
    Thanked 28 Times in 24 Posts
    Rep Power
    16

    redirect startmenu locally- access denied

    Hi, I am aiming to redirect the start menu and desktop to the local machine on our win2k server/xp pro client network. I have written a script that creates directories on the c: drive and copies the shortcut icons from the server. The script is called from the user logon batch file.

    It works fine when logging in as an administrator, but not as a student user. When it comes to do the copying, I get access denied. I take it this is because the logon script is run with the student user privilages, which doesn't allow writing to the c-drive.

    But how do I let the student user run this part of the script? The icons may change at anytime, and I need to make sure that each time the user logs in, they get the latest version of the startmenu/desktop. I don't really want to restart the computer for this to happen. Can I change the permission on the local shortcut folder easily and at runtime of the script?

    Below is the jist of the script (called seperately by logon.bat). Many thanks.

    rem rsync script to update local version of shorcuts folder

    rem create dir structure
    md c:\shortcuts
    md c:\shortcuts\studentstartmenu
    md c:\shortcuts\studentsdesktop

    Rem rsync studentstartmenu
    \\server\netlogon\robocopy.exe \\server\users\studentstartmenu c:\shortcuts\studentstartmenu /MIR

    Rem rsync studentstartmenu
    \\server\netlogon\robocopy.exe \\server\users\studentsdesktop c:\shortcuts\studentsdesktop /MIR

    \\server\netlogon\robocopy.exe \\server\Netlogon c:\shortcuts Bginfo.exe
    \\server\netlogon\robocopy.exe \\server\Netlogon c:\shortcuts\ bginfo.bgi

  2. IDG Tech News

  3. #2

    Join Date
    Feb 2008
    Posts
    270
    Thank Post
    14
    Thanked 44 Times in 35 Posts
    Rep Power
    17
    Do that as a machine startup script - there's not any other way around it as your going to have to give the student group write access into the start menu directory on the local disk otherwise.

    Start Menus dont change that often do they (?!) so shouldnt be a problem

    Just out of interest, why haven't you redirected to a network share?

  4. Thanks to ssiruuk2 from:

    rocknrollstar (19th March 2009)

  5. #3
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    416
    Thank Post
    373
    Thanked 28 Times in 24 Posts
    Rep Power
    16
    Thanks for your help on this. I've read quite a few threads on this site, and one view is that local redirects are good because if the network goes down, the icons are still available. Also, when a user clicks on the start menu, windows does a scan of all the icons available. If it's on the network, then it scans the network share for the redirect folder icons. Lots of users at once gives the server a hit, and particularly on wireless, seems unneccesary.

    Anyway, thanks again- I'll add the script to a gpo startup script-- I take it this should be under the user section in the gpo, not the computer section? This way the script would run each time the user logs in?

    Cheers.

  6. #4

    Join Date
    Feb 2008
    Posts
    270
    Thank Post
    14
    Thanked 44 Times in 35 Posts
    Rep Power
    17
    No probs.

    You need to link a GPO to the OU where your computer accounts are located in AD - and its applied under computer configuration for start up scripts, user configuration is for login scripts which is what you dont want here.

    A startup script is literally that.. it runs when the machine boots up to the login screen. So it will refresh your start menu / desktop icons each time its rebooted. Refreshing them each login seems a bit overkill to me!

    Cheers

  7. Thanks to ssiruuk2 from:

    rocknrollstar (20th March 2009)

  8. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    11,848
    Blog Entries
    6
    Thank Post
    592
    Thanked 1,044 Times in 921 Posts
    Rep Power
    224
    I agree a startup script is the way to go here.

  9. #6
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    416
    Thank Post
    373
    Thanked 28 Times in 24 Posts
    Rep Power
    16

    redirect issue on some machines

    Thanks for your help. I've set the script to copy the shortcuts in the computer startup script section in the students gpo, and they appear ok.

    However, on a few computers, when I log in as a student, the desktop/startmenu icons don't show up. The icons are on the local machine, but it doesn't seem as though the redirection is working? All I can see on the desktop is My Computer, My Docs and the IE icon. No wallpaper. However the My docs redirection is working, as well as other GPO settings. Just not the desktop/startmenu redirection.

    On most computers this works fine. I've tried bombprof on the student profiles, and rebooting several times.

    Any thoughts?

    Thanks in advance.

SHARE:
+ Post New Thread

Similar Threads

  1. RIS Access denied file in use
    By kevin_lane in forum Windows
    Replies: 0
    Last Post: 7th January 2009, 10:17 AM
  2. Access Denied - File in Explorer
    By Simcfc73 in forum Windows
    Replies: 4
    Last Post: 10th January 2008, 11:19 AM
  3. need instructions on how to redirect desktop & startmenu
    By projector1 in forum How do you do....it?
    Replies: 5
    Last Post: 9th March 2007, 11:01 AM
  4. Access Denied from Admin Network
    By MrDylan in forum ICT KS3 SATS Tests
    Replies: 9
    Last Post: 25th April 2006, 12:09 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
  •