Prevent SW distribution for certain machines (Full Version)

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



Message


jbeardsley -> Prevent SW distribution for certain machines (9/30/2008 1:16:19 PM)

Hello all. I read a MS KB article that said you could prevent a specific machine from receiving SMS software installations by using a registry key but the KB article (http://support.microsoft.com/kb/207729) was actually about something else so it never mentioned which key to use. Can someone send me the registry key that I can use to prevent software distribution on certain machines while still having the SMS client installed on those machines? Thanks everyone.




hcortez463 -> RE: Prevent SW distribution for certain machines (9/30/2008 1:19:43 PM)

is this it
http://myitforum.com/cs2/blogs/socal/archive/2007/04/05/preventing-the-sms-client-from-installing.aspx




jbeardsley -> RE: Prevent SW distribution for certain machines (9/30/2008 1:21:53 PM)

Thanks but no, thats not it. Thats how to prevent the SMS client from installing on a machine. I still need the SMS client installed for reporting purposes but I want to prevent it from receiving software installations.




jbeardsley -> RE: Prevent SW distribution for certain machines (9/30/2008 1:23:41 PM)

On the MS KB article, it says this under Summary:

In some scenarios, you may want to exclude specific computers from the Microsoft Systems Management Server (SMS) 2.0 Remote Client Installation or SMS 2003 Client Push Installation process. Although you can use a registry key to prevent SMS client software installation on computers, the excluded computers are still discovered.




cstauffer911 -> RE: Prevent SW distribution for certain machines (9/30/2008 1:26:37 PM)

I guess you could create a child primary site and assign the machines in question to it. Then turn off software distribution. But I am not aware of a way to turn off individual machines because of machine policy refresh.




hcortez463 -> RE: Prevent SW distribution for certain machines (9/30/2008 1:27:39 PM)

:) exclude in your query




cstauffer911 -> RE: Prevent SW distribution for certain machines (9/30/2008 1:33:58 PM)

Well yeah there is that way but i dont think that is what he means.

Heck you could even use SCCM and create an overlapping Maintanance plan to ensure that updates and packages never make it to the system.




skissinger -> RE: Prevent SW distribution for certain machines (9/30/2008 1:47:05 PM)

I've never done it; but using Roger Zanders SMS Client Center, can't you uncheck Software Distribution? Essentially setting a local policy?  Or is that only temporary until the next policy refresh?




hcortez463 -> RE: Prevent SW distribution for certain machines (9/30/2008 1:47:42 PM)

yeah i know Chris.. just joking.. hmm intersting question,  I guess i have never thougth of this one. If this is possible I would think it would affect ll SD and patching.. is that the goal.




rspinelli682 -> RE: Prevent SW distribution for certain machines (9/30/2008 4:19:48 PM)

I'm 95% sure that I used this and it stopped software adverts to the machine.  You should test it to make sure, since im not 100% sure it worked.

Copy the section below save it as a .mof, then mofcomp the .mof file on the machine you don't want to receive adverts.

#pragma namespace("\\\\.\\root\\ccm\\policy\\machine\\requestedconfig")
[CCM_Policy_PartialPolicy(true)]
instance of CCM_SoftwareDistributionClientConfig
{
SiteSettingsKey = 1;
PolicySource = "Local";

// override only this property, all others from the Site/Management Point
[CCM_Policy_Override(true)]
Enabled = FALSE;
};

That should disable software from being deployed via SMS to the machine.  If the client gets reinstalled I think it will start getting software distributions again.




aparrott -> RE: Prevent SW distribution for certain machines (10/1/2008 4:40:42 PM)

rspinelli682 has got your answer.  I can say that we've used this functionality on a few random clients within our environment with no adverse effects.  In case you're interested, the following MOF will disable everything except inventory...

#pragma namespace("\\\\.\\root\\ccm\\policy\\machine\\requestedconfig")
// Inventory (hardware & software)
instance of CCM_InventoryClientConfig
{
  [CCM_Policy_Override(true)]
  ComponentName = "SmsInventory";
  PolicySource = "Local";
  SiteSettingsKey = 1;
  Enabled = TRUE;
};

// Remote tools
instance of CCM_RemoteToolsConfig
{
  [CCM_Policy_Override(true)]
  ComponentName = "SmsRemoteTools";
  PolicySource = "Local";
  Type = 1;  
  Enabled = FALSE;
};
// Software Distribution
instance of CCM_SoftwareDistributionClientConfig
{
  [CCM_Policy_Override(true)]
  ComponentName = "SmsSoftwareDistribution";
  PolicySource = "Local";
  SiteSettingsKey = 1;  
  Enabled = FALSE;
};
// Software Metering
instance of CCM_SoftwareMeteringClientConfig
{
  [CCM_Policy_Override(true)]
  ComponentName = "SmsSoftwareMetering";
  PolicySource = "Local";
  SiteSettingsKey = 1;
  Enabled = FALSE;
};
// Source Update
instance of CCM_SourceUpdateClientConfig
{
  [CCM_Policy_Override(true)]
  ComponentName = "SmsSourceUpdateAgent";
  PolicySource = "Local";
  SiteSettingsKey = 1;
  Enabled = FALSE;
};




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.359375