SOLVED Uninstall FOG-Client (Service) after deploying with Snapin?
i like the project very much. But now i’m struggling a little bit. I hope someone can help…
After deploying 80 PCs with Sysprep, HostnameChange etc. etc. i need to clean the machines. Clean means it is not allowed any other software is installed exept a few on a list. Unfortunately FOG Service is not on the list. So i have to remove the FOG-Client from every machine after the deploy process.
So what i did…
I created a cmd File with content and added it as a snapin to a host:
wmic product where name=”FOG Service” call uninstall /nointeractive
But nothing happened even in the Logfile. “Snapinmanager says 499 second sleep”
What am i doing wrong? Is there a better way to remove “FOG Service” automaticly?
@csieb Can you try using the FOGService.msi file as the snapin file and then running
FOGService.msi /quiet /uninstall
@csieb could you please post/upload your fog logfile.
yep… snapinclient sleeping for 446 seconds. nothing else.
@csieb Checked the client log?
The problem isnt realy solved. The wmic command now work localy but via snapin task it doesn’t. The task doesn’t start even if i restart the service on client or reboot the client.
Under tasks->Snapin task-> state=queued
(i have no DNS Server setped in this subnet.)
plz can you help me?
Ok problem solved. It was a wmic command issue.
thats the correct line in .cmd file to uninstall “Fog Service”
wmic product where name=‘FOG Service’ call uninstall /nointeractive
thank you guys
Can you take a screenshot of the snapin settings? (The run with, run with args, … )
yupp the task is running. But the unistall doesnt work. i think the wmic command doesnt work.
@csieb Once assigned, you need to tell the host to run that snapin.
This can be done with Host->Basic Tasks->Advanced Tasks->All/Single Snapin task.
… i assigned the Snapin at the Host.
Did you only “add” the snapin or do you also deployed it to the client(s) ?
(for v1.2: <Host> -> Basic Tasks -> Advanced -> Single Snapin)