Jump to content
Sign in to follow this  

Move on boot help

Recommended Posts

I had a script working to install avast for us then move a copy of our ini file to the avast config folder but it would seem in one of the updates microsoft changed something with pending file rename so it cut's it off now tried on multiple vm machines and inhouse box's here is the code

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager", "PendingFileRenameOperations", "REG_MULTI_SZ", "\??\\PC Repair Centers\temp\avast5.ini" & @LF & "!\??\\documents and settings\all users\Application Data\Alwil Software\Avast5\avast5.ini")

Well this worked fine for xp for awhile not on vista so we had to edit settings by hand. Well now I am thinking of using sysinternals movefile option for vista 7 and xp but can not find any examples of someone getting it to work and Iwas wondering if any one has used it to move files throguh auto it if so can you get me started on how you got it to work.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...