Copy a shortcut to desktop at startup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I very simply want to copy a shortcut to:
c:\documents and settings\all users\desktop
Using a STARTUP script I am getting "access denied"...but I thought startup
scripts ran as 'system' which has write access to the 'desktop' folder???

How can I copy it another way?
Folder Redirection is not an option.
 
Does the file already exist in that location and is it read only?

Ray at work
 
No, it's just a shortcut to a program.
I am using a simple .bat file in the startup scripts part of GPO.
xcopy \\server\folder\file.lnk c:\docume~1\alluse~1\desktop /c /q /y

the \\server\folder share has administrators, domain users and computers FC
permissions. The bat file runs but errors with access denied. In windows
logged in as admin running the file manually it works fine. Our users are
highly restricted.

thanks 4 any advice
 
have you tried using the "runas" command?

Fabrussio said:
No, it's just a shortcut to a program.
I am using a simple .bat file in the startup scripts part of GPO.
xcopy \\server\folder\file.lnk c:\docume~1\alluse~1\desktop /c /q /y

the \\server\folder share has administrators, domain users and computers FC
permissions. The bat file runs but errors with access denied. In windows
logged in as admin running the file manually it works fine. Our users are
highly restricted.

thanks 4 any advice
 
A startup script runs under the local system account, so it doesn't have
access to a network share that needs a domain account to authenticate.

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top