I wrote a simple vbscript in order to backup my printers daily using printbrm.exe. Running the script the first time works properly however, any time after I get the following error:
Printbrm.exe (the Printer Migration Wizard or the command-line tool) failed to create destination file D:\Backup\test.printerExport while backing up print queues.
Error reported: 0x80070050. The file exists.
This can occur if the user does not have permission to create a file in the destination location, or if there is insufficient disk space or system resources.
Is there any option that I can set to force that the .printerexport file is overwritten every time the script runs?
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.