Uninstall FOG-Client (Service) after deploying with Snapin?
- 
 Hi, 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 /nointeractiveBut 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? Thank you 
 Regards
 Chris
- 
 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)
- 
 … i assigned the Snapin at the Host. Hostmanagement->Host Menu->Snapin 
- 
 @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. 
- 
 yupp the task is running. But the unistall doesnt work. i think the wmic command doesnt work. 
- 
 Can you take a screenshot of the snapin settings? (The run with, run with args, … ) 
- 
 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 
 chris
- 
 Sorry again, 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? regards 
 chris
- 
 @csieb Checked the client log? 
- 
 yep… snapinclient sleeping for 446 seconds. nothing else. 
- 
 @csieb could you please post/upload your fog logfile. 
- 
 this is the client log.0_1460720119613_fog.log 
- 
 
- 
 
- 
 any ideas?  
- 
 @csieb Can you try using the FOGService.msi file as the snapin file and then running 
 FOGService.msi /quiet /uninstall

