I need to run a command to uninstall forefront on some of our workstations and am having a bit of trouble formatting the command.
Here's what needs to happen (in multiple commands)
xcopy \\serverpath\Installer.exe C:\Windows
Install.exe /u /s
Del C:\Windows\Install.exe
I'm using psexec with a computer list but keep running into errors. This is what my command looks like as of right now.
psexec @ComputerList.txt -u domain\administrator cmd /c (xcopy "\\NetworkPath\Forefront Software\Install.exe" "C:\Windows" && Install.exe /u /s && del C:\Windows\Install.exe)
I think the spaces in the path name and quotes are messing things up...
EDIT:
Tried running it with a script with no luck. It looks like scepinstall.exe just hangs on the remote machine. I also tried using the exe that can be found in C:\Windows\ccmsetup\
Thanks for the help