file copy permissions issue

BatchPatch Forums Home Forums BatchPatch Support Forum file copy permissions issue

  • This topic has 3 replies, 2 voices, and was last updated 7 years ago by doug.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8924
    deepfriedbutter
    Participant

    I have copied some fonts to servers for a script to run an install and after the install is complete, the files are locked by ‘system’

    Fri-09:46:21> Copy File/Folder: The process cannot access the file ‘\hostnamec$pathfilename.file’ because it is being used by another process.

    That process is ‘system’. I have tried to reboot the server and nothing works outside of booting into safe mode to delete them. This also doesn’t happen on every server. About 50%

    Here is a link to the thread discussing my font install script

    /forum/topic/ps1-font-install-script-not-working#post-81909

    #10350
    doug
    Moderator

    This doesn’t really seem like a BatchPatch problem. It might be an issue with your script or perhaps it’s something else, especially considering that you do not experience the problem on all computers where you run the script.

    #10351
    deepfriedbutter
    Participant

    I was just wondering if it had to do with the remote execution method.

    #10352
    doug
    Moderator

    I doubt it. I would suggest very carefully reviewing your script. I have not reviewed your script carefully, but the behavior you are describing seems like maybe your script is linking the font paths to ‘\hostnamec$pathfilename.file’ such that Windows locks those files when it boots, instead of linking the font files to a location in C:Windowsfonts. So SYSTEM is locking the files because Windows is using them for font reference instead of using font files in C:Windowsfonts.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.