|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Copy a shortcut to desktop at startupI 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 Show quoteHide quote "Fabrussio" <Fabrus***@discussions.microsoft.com> wrote in message news:E3CF4669-DD70-47D0-A01D-8340B369D5A0@microsoft.com... > 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. 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 Show quoteHide quote "Ray Costanzo [MVP]" wrote: > Does the file already exist in that location and is it read only? > > Ray at work > > "Fabrussio" <Fabrus***@discussions.microsoft.com> wrote in message > news:E3CF4669-DD70-47D0-A01D-8340B369D5A0@microsoft.com... > > 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. > > > have you tried using the "runas" command?
Show quoteHide quote "Fabrussio" wrote: > 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 > > > "Ray Costanzo [MVP]" wrote: > > > Does the file already exist in that location and is it read only? > > > > Ray at work > > > > "Fabrussio" <Fabrus***@discussions.microsoft.com> wrote in message > > news:E3CF4669-DD70-47D0-A01D-8340B369D5A0@microsoft.com... > > > 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. > > > > > > 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 Show quoteHide quote "Fabrussio" <Fabrus***@discussions.microsoft.com> wrote in message news:E5AAAC84-790D-4442-B7E6-BBA138B3C401@microsoft.com... > 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 > > > "Ray Costanzo [MVP]" wrote: > > > Does the file already exist in that location and is it read only? > > > > Ray at work > > > > "Fabrussio" <Fabrus***@discussions.microsoft.com> wrote in message > > news:E3CF4669-DD70-47D0-A01D-8340B369D5A0@microsoft.com... > > > 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. > > > > > >
W2K & Hyperthreading w/ Intel
Insolent dot matrix printer Basic Disk Mirror Problem logon failure Reboot itself OE Quotefix - is there something better? WINS error prompted before windows 2k server rolling to log-on scr Users Recycler??? SQL Server OLAP Cube Setup Problem difference between DVD-R and DVD+R |
|||||||||||||||||||||||