Jill,
If your only having a problem with deleting the files when someone is logged in, you probably have a process somewhere in task manager that is using those files. Until that process is stopped, you will not be able to delete the files. Try opening up task manager (CTRL+ALT+DEL, click task...
I've tried the RemovePrinterConnection method, but it seems to only work for Network printers. When I enum printer connections, it only displays network printer connections. I tried the RemovePrinterConnection method using the UNC name of the printer as an argument (\\ComputerName\PrinterName)...
Does anyone know how to delete a local printer using VBScript. There are plenty of resources out there that describe deleting a network printer connection, but nothing on deleting a local printer. I tried this
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
&...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.