I would like to use a script to copy a .vbs file to a users startup folder in Windows 7.
The user has admin rights but I continue to get "access denied" errors.
Any help with this one?
I can copy it manually, with no problems
Here is my script
Set FSO =CreateObject("scripting.FileSystemObject")
FSO.CopyFile "\eosIS_ShareAuto-loginlock.vbs", "C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup"