My organization is attempting to run an executable from a batch file that removes a user's Windows profile folder and associated registry keys. The executable is called remprof.exe (http://ctrl-alt-del.com.au/CAD_TSUtils.htm).
It runs file when executed from individual hosts, but errors out when launched by PDQ Deploy (error code 2). NTFS permissions are likely not the issue, as access to the service account has been granted to the folder and files within. We were wondering if anyone else has had any success with this particular scenario or can offer any suggestions. I have attached the program and batch script. Thanks!
Please sign in to leave a comment.