+ Post New Thread
Results 1 to 6 of 6
Scripts Thread, Desktop Icons script help in Coding and Web Development; Hey anyone have a script or software (free) that will copy all users/desktop differential(ly) from a network location?? We tried ...
  1. #1
    tommccann's Avatar
    Join Date
    Jun 2009
    Posts
    252
    Thank Post
    46
    Thanked 39 Times in 31 Posts
    Rep Power
    0

    Desktop Icons script help

    Hey anyone have a script or software (free) that will copy all users/desktop
    differential(ly) from a network location??

    We tried redirected desktops but over wireless it slowed the login speed right down, the lovely children keep deleting the desktop icon and i would love an easy fix

    Thanks in advance

  2. #2
    TechSupp's Avatar
    Join Date
    Mar 2007
    Location
    South Yorkshire
    Posts
    1,972
    Thank Post
    320
    Thanked 126 Times in 106 Posts
    Rep Power
    42
    Sorry to drag this back up but wondering if there was a script to do this? Very similar problem and a simpler solution would be to just copy the shortcuts from a shared location each time they logon, so looking for a scripts t do the same...anyone?
    Would thnk I would need one to remove all shortcuts before copying the new ones at domain gpo level first?

  3. #3

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351
    have a login script do this

    xcopy \\server\share\*.* "C:\documents and settings\%username%\desktop" /e /s /v (you will need to check the command line switches)

    that would be perminant copy

    if you want temporary then just add something like to a logout script

    del C:\Documents and settings\%username%\desktop\*.*

    if you want just a temporary one then you could add

  4. Thanks to glennda from:

    TechSupp (10th February 2011)

  5. #4
    DEvans's Avatar
    Join Date
    Sep 2010
    Location
    Droitwich, Worcestershire
    Posts
    74
    Thank Post
    3
    Thanked 16 Times in 10 Posts
    Rep Power
    22
    We redirect the desktops like you tried, however we lock them down to prevent deletion of the icons. If you are using profiles you can allocate a default desktop and they can have exclusive rights to their own desktop, allowing them to add and remove data. However, to keep things simple (from a backup pespective) we redirect all their documents to a certain location, so by locking down the desktop it forces them to save data in the "my documents", so when we backup we don't need to worry about different locations of data.

    In my opinion, locking down the desktop and redirecting it is more ideal, as you can then manage which icons appear for certain users.

    You can script it of course, depends on how many icons you want to add. I'm sure there is a point where the script will be so long, that a redirection might be the faster option.

    Script method I've seen used

    Code:
    'Set a path to the executable on the computer for your chosen software in a constant
    
    Const strSoftwareA = "C:\Program Files\Software\certainfile.filetype"
    
    'Check if that software Exists on the computer using your Constant 
    
    	IF objFSO.FolderExists(strsoftwareA) = true Then
    
    'If a certain file exists, that means it is installed and therefore we make the link
    'The lnk file is a shortcut to the executable.
    
    		MakeIcon "\SoftwareA.lnk", (strSoftwareA & "certainexe.exe"), "", "", (strSoftwareA & "certainexe.exe, 1"), "Software A Name", strSoftwareA
    	
    End If
    Last edited by DEvans; 9th June 2011 at 12:01 PM.

  6. #5

    Join Date
    Oct 2009
    Location
    gateshead Tyne and Wear
    Posts
    12
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi

    we have mapped a drive letter in the login script (kix) use r: "\\server-pdc\pupil_desktop$" then redirected the desktop with gpo to the "R" drive and set the server share to read only for students.

    seems to work on on wireless or wired

    cheers
    Paul

  7. #6
    DEvans's Avatar
    Join Date
    Sep 2010
    Location
    Droitwich, Worcestershire
    Posts
    74
    Thank Post
    3
    Thanked 16 Times in 10 Posts
    Rep Power
    22
    Thats an interesting method paul, we just setup a direct share for the desktops.

    e.g. For staff Redirect all users to one location --> \\servername\desktops\Staff

    Then I stick all the software shortcuts into this folder, making sure they are shortcuts to the .exes on the local machine and not a .exe itself, that can cause all sorts of grief on a locked down system. Staff cannot add/delete any files to their desktops and if they want to do that I need to alter the policies to grant users exclusive access to their desktops, that way it saves in their roaming profile and doesn't mess around with my share.

    Same for the Start menus

    Redirect all users to one location --> \\servername\startmenu\staff\

    (if you are using Windows XP make sure you redirect the start menu to the root (like mine above) and put a "programs" folder within that.

    So for example I am redirecting to ..\startmenu\staff but inside that folder I have another folder called programs and then put my links into that, makes it nice and neat, doing it like that. Like it should look.

    For Windows 7 though, thats a totally different ball game haha.



SHARE:
+ Post New Thread

Similar Threads

  1. desktop icons via gpo
    By goodhead in forum Windows
    Replies: 8
    Last Post: 2nd November 2011, 12:12 AM
  2. Help me move my desktop icons!
    By TechSupp in forum Windows
    Replies: 3
    Last Post: 23rd August 2010, 11:50 AM
  3. Replies: 0
    Last Post: 22nd April 2010, 11:08 PM
  4. Desktop Shortcuts and icons
    By leco in forum How do you do....it?
    Replies: 4
    Last Post: 13th October 2009, 09:22 AM
  5. desktop icons
    By Danielstaunton in forum Learning Network Manager
    Replies: 4
    Last Post: 21st September 2007, 10:40 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
  •