Copy shortcut to desktop in login script

Experts.  I have a windows xp/2003 AD environment with 200+ users.  Depending on the department the user is in, their desktop is redirected to that department's standard desktop folder located on the file server.  I don't want the user to be able to add anything to the desktop, so I gave the user read permissions only to the desktop folder.  Now, the powers that be have asked that each user have a shortcut to their timesheet placed on their desktop.  Since there are too many users, I would like to script this.  

So, how can I copy the shortcut to the desktop when the user logs in if they have read-only permissons?  Can you temporarily adjust the permission level so the shortcut can be placed and then revert back to read-only?  The login script is a batch file and I would like to stick with that, if possible.  Thanks for the help!
LVL 9
samiam41Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cedarghostCommented:
copy c:\shortcut.lnk  c:\Windows\Profiles\%username%\desktop\
or where ever your profiles are being stored.
I don't know about temporarily changing permissions.
0
samiam41Author Commented:
cedarghost- Thanks for the post.  I have the location designated in the script, I need to know how to allow the user the ability to copy this shortcut on a temporary basis.
0
oBdACommented:
That's not possible; and that's rather okay, otherwise it would open the system to all sorts of misuse ...
You could only do it with some "runas" derivate, but that means putting a password more or less in clear text into the netlogon share.
But since the desktop is redirected to a file share anyway, why not simply copy the shortcut into all the folders on the share?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

samiam41Author Commented:
How I wish I had another engineer like yourself here to bounce ideas off so that I didn't wast everyone's time posting a question like that.  I wasn't sure what was possible with scripts and I learned one of the boundaries.  I guess I will have to resort to copying them all to the desktop.  

I will post here a link to the next question I am going to ask regarding how I can dump the folder names from an existing directory to a text file and then use that text file to create a new set of folders in a new directory.  I'm nto sure if robocopy will do this but I figured I would at least ask since I have no one else here that will know.

Thanks for the help as always.
0
samiam41Author Commented:
oBdA- Hey, is there a way that we can have you look at a post when we submit it?  I know I worked with another expert who we would send the link to and they would look at it.  Not sure if this was something you did.  I know you must have a million other things going on but you have resolved so many issues we had.  Thanks in advance for your consideration.
0
oBdACommented:
Just post in an old question of yours; as you can see, I get the notifications and check ...
Might take some time, though.
0
samiam41Author Commented:
10-4
0
samiam41Author Commented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.