CCMClean Uninstall via Group Policy (Full Version)

All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003



Message


Fguillot -> CCMClean Uninstall via Group Policy (6/11/2008 12:55:30 PM)

I have about 250 clients that I need to uninstall the SMS2003 advance client.  The first time SMS was installed it was not installed correctly. So we are going to start from scratch with SCCM.  Does anyone know how to uninstall the advance client with CCMClean via group policy.

Thanks in advance




skissinger -> RE: CCMClean Uninstall via Group Policy (6/11/2008 2:44:20 PM)

Personally; I wouldn't worry about it.  Whatever method you use to install the ConfigMgr client will upgrade whatever SMS2003 client is hanging about.




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/11/2008 3:04:43 PM)

So even if I am puching the client from another server (SCCM) completly I should be fine?




jsandys -> RE: CCMClean Uninstall via Group Policy (6/11/2008 3:21:26 PM)

If you are still worried about it, you can easily run ccmclean using psexec from the SysInternals toolkit.




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/11/2008 4:13:52 PM)

I have not used this tool before, and excuse my lack of knowledge.  But could you a sample syntex that I would use to be able to uninstall the client.

Once again sorry if I come across as a newbie




jnelson993 -> RE: CCMClean Uninstall via Group Policy (6/11/2008 4:20:39 PM)

Learn to do google searches...they're your friend :)

Removing the SMS client
http://support.microsoft.com/kb/826842

Get CCMCLEAN from the SMS 2003 Toolkit
http://technet.microsoft.com/en-us/sms/bb676787.aspx

Get psexec from sysinternals
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Run CCMCLEAN /? to get the command-line parameters.

This stuff is just WAY too easy to do it all for you :)




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/11/2008 4:23:59 PM)

Thanks,
I have been searching, I guess not good enough. Once again thanks for all of your help.




jnelson993 -> RE: CCMClean Uninstall via Group Policy (6/11/2008 4:26:30 PM)

Well, despite the snide remark, I AM glad to help :)




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/11/2008 4:32:37 PM)

Once again thanks for everyone's help.  But I guess what I need to know if it is possible to have this application distribute, and ran so that it uninstall the client via group policy.  None of the links have stated that.  So I am not sure if it is possible, and wanted to if and how. 




jsandys -> RE: CCMClean Uninstall via Group Policy (6/11/2008 4:42:33 PM)

You could create a startup script (not login) that will run ccmclean.  The problem with this is that you will get no feedback about where it has run or where it has run successfully.  With psexec, you supply a list of systems and an executable to run and it promptly runs that exectuable on all the systems in the list giving immediate feedback and results.  




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/11/2008 4:48:19 PM)

Cool, I guess I will have to learn how to use this tool.  Thanks, for the answer to the Group Policy question




kangwnl -> RE: CCMClean Uninstall via Group Policy (6/11/2008 5:18:24 PM)

Here is a batch file you can run using PSEXEC. Assumes you run it from a machine with the SMS Toolkit in E:\Program Files\SMS 2003 Toolkit 2 dir. Pass the computer name as a parameter

@echo off
cls
echo Removing SMS Client
xcopy /Y "E:\Program Files\SMS 2003 Toolkit 2\ccmclean.exe" \\%1\c$\windows
psexec.exe \\%1 -s C:\windows\ccmclean.exe /q
del /q /f \\%1\c$\windows\ccmclean.exe"
echo Ccmclean has finished....
pause




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/11/2008 8:17:25 PM)

How can I use this script with a text file, that contains a list of all the computers that I want to remove the SMS client




jsandys -> RE: CCMClean Uninstall via Group Policy (6/11/2008 10:21:20 PM)

Actually, you don't even need to use a batch file.  Create a text file with the list of systems seperated by carriage returns; I called it systemlist.txt for the below command line.  Run the following command line from a directory where ccmclean.exe exists using an admin account (or use the -u option to specify an admin account to use).

psexec @systemlist.txt -s -c ccmclean.exe

@systemlist.txt tells psexec to run the command on each system specified in the systemlist.txt text file
-s tells psexec to run the command using the remote system "System" context
-c tells psexec to copy the executable to the remote system so that it can run it from there
And of course ccmclean.exe is the exectuable to run

Full details and further options for psexec: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/12/2008 7:19:25 AM)

Thanks again, I was able to run this on a single test machine and it worked fine.

Sorry to have asked so many questions on this particular topic, but I hope as it helped me that it will help someone else.




Fguillot -> RE: CCMClean Uninstall via Group Policy (6/13/2008 11:35:28 AM)

It is me again, I to roll out the ccmclean via psexec and now I am getting this error
Logon Failure: The target account name is incorrect.




EdwardKK -> RE: CCMClean Uninstall via Group Policy (6/13/2008 1:54:00 PM)

Does the existing SMS client run advertizements?  If so, you can simply advert ccmclean to your clients.  It does work and it's easy.  I've done it before on systems that had cache sizes set wrong etc. 

if that doesn't work, I would run ccmclean via a startup script, but have that script then create a txt file on a server share someplace.  Then you can see what machines it's run on.  it's simple to review the results and doesn't require more tools to figure out.

Another way to verify is you can create a collection of these machines you need to have removed and then delete those machines records from SMS.  if the SMS heartbeat still exists on those clients, those machines will come back into SMS, which is a clue that ccmclean did not remove the client.





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.1875