Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copyfile not working with restricted user - Windows XP

Status
Not open for further replies.
Aug 14, 2003
94
US
Q: The following script copies a file from a network shared folder to C:\windows\fonts, when I add this to our GPO startup scripts it runs when logging in as a local admin on a pc but not a restricted user? Is there something I can modify in this script?? HELP!

Const OverwriteExisting = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "\\Server\folder\3 of 9 Barcode.TTF" , "C:\WINDOWS\Fonts\", OverwriteExisting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top