myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


CCMClean Uninstall via Group Policy

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> CCMClean Uninstall via Group Policy Page: [1]
Login
Message << Older Topic   Newer Topic >>
CCMClean Uninstall via Group Policy - 6/11/2008 12:55:30 PM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
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
Post #: 1
RE: CCMClean Uninstall via Group Policy - 6/11/2008 2:44:20 PM   
skissinger


Posts: 1992
Score: 129
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
Personally; I wouldn't worry about it.  Whatever method you use to install the ConfigMgr client will upgrade whatever SMS2003 client is hanging about.

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
Microsoft MVP - ConfigMgr

(in reply to Fguillot)
Post #: 2
RE: CCMClean Uninstall via Group Policy - 6/11/2008 3:04:43 PM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
So even if I am puching the client from another server (SCCM) completly I should be fine?

(in reply to skissinger)
Post #: 3
RE: CCMClean Uninstall via Group Policy - 6/11/2008 3:21:26 PM   
jsandys


Posts: 464
Score: 17
Joined: 3/24/2005
From: San Antonio, TX
Status: offline
If you are still worried about it, you can easily run ccmclean using psexec from the SysInternals toolkit.

_____________________________

Jason
________________________________________
http://myitforum.com/cs2/blogs/jsandys/default.aspx

(in reply to Fguillot)
Post #: 4
RE: CCMClean Uninstall via Group Policy - 6/11/2008 4:13:52 PM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
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

(in reply to jsandys)
Post #: 5
RE: CCMClean Uninstall via Group Policy - 6/11/2008 4:20:39 PM   
jnelson993


Posts: 805
Score: 113
Joined: 2/18/2005
From: Minneapolis, MN
Status: offline
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 :)


_____________________________

Number2 (John Nelson)
MyITForum - Blog
MyITForum - Forum Posts

(in reply to Fguillot)
Post #: 6
RE: CCMClean Uninstall via Group Policy - 6/11/2008 4:23:59 PM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
Thanks,
I have been searching, I guess not good enough. Once again thanks for all of your help.

(in reply to jnelson993)
Post #: 7
RE: CCMClean Uninstall via Group Policy - 6/11/2008 4:26:30 PM   
jnelson993


Posts: 805
Score: 113
Joined: 2/18/2005
From: Minneapolis, MN
Status: offline
Well, despite the snide remark, I AM glad to help :)

_____________________________

Number2 (John Nelson)
MyITForum - Blog
MyITForum - Forum Posts

(in reply to Fguillot)
Post #: 8
RE: CCMClean Uninstall via Group Policy - 6/11/2008 4:32:37 PM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
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. 

(in reply to jnelson993)
Post #: 9
RE: CCMClean Uninstall via Group Policy - 6/11/2008 4:42:33 PM   
jsandys


Posts: 464
Score: 17
Joined: 3/24/2005
From: San Antonio, TX
Status: offline
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.  

_____________________________

Jason
________________________________________
http://myitforum.com/cs2/blogs/jsandys/default.aspx

(in reply to Fguillot)
Post #: 10
RE: CCMClean Uninstall via Group Policy - 6/11/2008 4:48:19 PM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
Cool, I guess I will have to learn how to use this tool.  Thanks, for the answer to the Group Policy question

(in reply to jsandys)
Post #: 11
RE: CCMClean Uninstall via Group Policy - 6/11/2008 5:18:24 PM   
kangwnl

 

Posts: 14
Score: 0
Joined: 6/5/2008
Status: offline
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

(in reply to Fguillot)
Post #: 12
RE: CCMClean Uninstall via Group Policy - 6/11/2008 8:17:25 PM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
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

(in reply to kangwnl)
Post #: 13
RE: CCMClean Uninstall via Group Policy - 6/11/2008 10:21:20 PM   
jsandys


Posts: 464
Score: 17
Joined: 3/24/2005
From: San Antonio, TX
Status: offline
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


_____________________________

Jason
________________________________________
http://myitforum.com/cs2/blogs/jsandys/default.aspx

(in reply to Fguillot)
Post #: 14
RE: CCMClean Uninstall via Group Policy - 6/12/2008 7:19:25 AM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
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.

(in reply to jsandys)
Post #: 15
RE: CCMClean Uninstall via Group Policy - 6/13/2008 11:35:28 AM   
Fguillot

 

Posts: 43
Score: 0
Joined: 6/11/2008
Status: offline
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.

(in reply to Fguillot)
Post #: 16
RE: CCMClean Uninstall via Group Policy - 6/13/2008 1:54:00 PM   
EdwardKK


Posts: 119
Score: 0
Joined: 5/14/2007
Status: offline
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.


(in reply to Fguillot)
Post #: 17
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> CCMClean Uninstall via Group Policy Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.672