Removing the SMS Clients two minute wait for Policy Processing
Removing the SMS Clients two minute wait for Policy Processing is often needed in your test, packaging, or development environments. Recently one of our developers indicated that 2 minutes adds up to a lot of waiting during test cycles. Considering a lot can happen in "two minutes" I remembered finding something about this very issue.
On the 1e blog, Phil Wilcock outlines a process developed by Simon Burbidge from IE came up with. Basically, you modify the client with a mof which removes the 2 minute wait. Now your agent service will be able to process policy without waiting 2 minutes. Keep in mind, this is not a change for your entire infrastructure, but only in those rare cases you need to compress time a little and remove the SMS Clients two minute wait. Hey, in some cases 2 minutes can be a lifetime! :)
Here's the process:
1. Open notepad (or your favorite text editor).
2. Create a text file called setwait.mof.
3. Select the text below, and past into your setwait.mof file.
#pragma namespace("\\\\.\\root\\ccm\\policy\\machine\\Requestedconfig")
instance of CCM_PolicyAgent_Configuration
{
PolicySource = "Local";
PolicyDownloadMethod = "BITS";
PolicyEnableUserGroupSupport = true;
PolicyRequestAssignmentTimeout = 65;
PolicyTimeUntilAck = 43200;
PolicyTimeUntilExpire = 86400;
AuthorityName = "SMS:xxx";
PolicyTimeUntilUpdateActualConfig = 0;
};
4. Find the site code "SMS:xxx".
5. Replace "xxx" with your site code.
6. Run the command "mofcomp.exe setwait.mof" to compile the MOF on your SMS client.
7. Restart your SMS Agent Host service
Thanks to the guys at 1e, you should now have removed the SMS Clients 2 minute wait for policy processing. Oh, be sure to test this before applying to any production computers!
On the 1e blog, Phil Wilcock outlines a process developed by Simon Burbidge from IE came up with. Basically, you modify the client with a mof which removes the 2 minute wait. Now your agent service will be able to process policy without waiting 2 minutes. Keep in mind, this is not a change for your entire infrastructure, but only in those rare cases you need to compress time a little and remove the SMS Clients two minute wait. Hey, in some cases 2 minutes can be a lifetime! :)
Here's the process:
1. Open notepad (or your favorite text editor).
2. Create a text file called setwait.mof.
3. Select the text below, and past into your setwait.mof file.
#pragma namespace("\\\\.\\root\\ccm\\policy\\machine\\Requestedconfig")
instance of CCM_PolicyAgent_Configuration
{
PolicySource = "Local";
PolicyDownloadMethod = "BITS";
PolicyEnableUserGroupSupport = true;
PolicyRequestAssignmentTimeout = 65;
PolicyTimeUntilAck = 43200;
PolicyTimeUntilExpire = 86400;
AuthorityName = "SMS:xxx";
PolicyTimeUntilUpdateActualConfig = 0;
};
4. Find the site code "SMS:xxx".
5. Replace "xxx" with your site code.
6. Run the command "mofcomp.exe setwait.mof" to compile the MOF on your SMS client.
7. Restart your SMS Agent Host service
Thanks to the guys at 1e, you should now have removed the SMS Clients 2 minute wait for policy processing. Oh, be sure to test this before applying to any production computers!
Comments