board logo
DogMan
  • DogMan
  • 100% (Exalted)
  • Newbie Topic Starter
2 months ago
What does this policy do?
Recycling Computers  is my hobby so if you have any old PCs or Macs..
Sponsor

Want to thank us? Use: Patreon or PayPal or Bitcoins: bc1q4whppe29dw77rm4kv4pln0gqae4yjnxly0dny0hky6yhnafukzjsyrsqhk

All opinions expressed within these pages are sent in by members of the public or by our staff in their spare time, and as such do not represent any opinion held by sircles.net Ltd or their partners.

sirclesadmin
2 months ago

Windows SBS CSE Policy is a default Group Policy Object (GPO) found in Windows Small Business Server (SBS) environments, most notably SBS 2008 and SBS 2011.


The acronym CSE in this context stands for Client Side Extensions, though the policy itself is primarily used for the initial setup and management of client computers joined to the SBS domain.


Key Functions



  • Agent Installation: It is responsible for pushing the SBS Client Agent to domain-joined workstations. This agent allows the SBS console to monitor the health and status of client computers.

  • Startup Scripts: The policy triggers a startup script (typically ClientAgent.vbs) located in the server's SysVol folder.

  • Sbslogon Execution: It runs sbslogon.exe, which helps automate the configuration of the client environment to match the server's requirements.

  • WMI Filtering: It is usually linked to a WMI Filter (like "Windows SBS Client") that ensures the policy only applies to specific versions of Windows (e.g., Windows XP, Vista, or Windows 7) and ignores the server itself.


Why You Might Be Seeing It



  1. Migration Issues: If you are migrating from an old SBS server to a newer version of Windows Server (like Windows Server Essentials or Standard), these policies often stick around and can cause errors in the event logs if the old server's SysVol path is no longer reachable.

  2. Event Viewer Errors: You might see errors stating "File not found: \\ServerName\SysVol\...\ClientAgent.vbs." This happens if the policy is still active but the corresponding script files were deleted or moved.

  3. Slow Logons: If the client agent is trying to install or run a script from a server that no longer exists, it can cause significant delays during the Windows startup process.




Note: If you have moved away from Small Business Server to a modern environment, this policy is generally considered "legacy" and can usually be unlinked or deleted after ensuring that client management is handled by your new server configuration.


DogMan
  • DogMan
  • 100% (Exalted)
  • Newbie Topic Starter
2 months ago
OK What about 'Windows SBS Client Policy'?
Recycling Computers  is my hobby so if you have any old PCs or Macs..
sirclesadmin
2 months ago

While Windows SBS CSE Policy focuses on the technical "plumbing" (installing the agent and running scripts), the Windows SBS Client Policy is the actual rulebook that dictates the user experience and security settings for workstations on an SBS network.


If the "CSE" policy is the delivery truck, the "Client Policy" is the cargo.


Core Responsibilities


This GPO is designed to standardize the environment across all office computers. Its primary functions usually include:



  • Windows Update Settings: Configures the "Automatic Updates" feature so that workstations receive their patches from the SBS server (via WSUS) rather than directly from Microsoft.

  • Windows Firewall: Sets specific firewall exceptions so the SBS server can "see" and manage the client computers.

  • Security Settings: Often includes basic password complexity requirements and account lockout thresholds.

  • WinRM (Windows Remote Management): Enables remote management capabilities so the administrator can perform tasks on the workstation from the SBS console.

  • Error Reporting: Redirects system errors to the server so the administrator can monitor the health of the network.




Comparison at a Glance




















Policy Name Primary Purpose Key Mechanism
Windows SBS CSE Policy Infrastructure & Connectivity Startup scripts (ClientAgent.vbs)
Windows SBS Client Policy Configuration & Security Registry settings and Windows services

Troubleshooting Common Issues


If you are seeing errors related to this policy in a modern environment (where the SBS server is gone), you may encounter:



  1. Update Failures: Computers might still be looking for a non-existent SBS server for Windows Updates, preventing them from staying secure.

  2. "Orphaned" Settings: Even if you delete the GPO, some settings (like Registry "tattoos") might persist on the local machine.

  3. WMI Filter Conflicts: Like the CSE policy, this is usually tied to a WMI filter. If the filter isn't updated during a migration, the policy might fail to apply to newer versions of Windows (like Windows 10 or 11).


In a post-SBS world, these policies are typically replaced by Default Domain Policy or custom GPOs tailored to the specific needs of a modern Windows Server or Azure AD environment.


DogMan
  • DogMan
  • 100% (Exalted)
  • Newbie Topic Starter
2 months ago
OK I want to get rid of the WSUS dependency as it is no longer present
Recycling Computers  is my hobby so if you have any old PCs or Macs..
sirclesadmin
2 months ago

To remove the WSUS dependency left over by the Windows SBS Client Policy, you effectively need to tell the client computers to stop looking at a specific local server and start looking back at Microsoft's public servers.


Since Group Policy settings often "tattoo" the registry (meaning they stay even after the policy is deleted), the safest approach is a two-step process: disabling the policy and then cleaning the registry.




Step 1: Disable the Policy in Group Policy Management


If the SBS server is gone but you are on a new domain controller, or if the GPO still exists:



  1. Open Group Policy Management (gpmc.msc).

  2. Locate the Windows SBS Client Policy.

  3. Do not just delete it yet. Right-click it and select Edit.

  4. Navigate to:
    Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Update.

  5. Find the setting Specify intranet Microsoft update service location.

  6. Set it to Disabled. This tells Windows to stop looking for an internal URL.

  7. Find Configure Automatic Updates and set it to Not Configured (or configure it to your new preference).




Step 2: Force the Clients to Reset


Even after changing the GPO, local machines might still have the old SBS server address stuck in their registry. You can run these commands via an Administrative Command Prompt on the affected machines (or via a startup script):


1. Clear the Registry Keys


These commands delete the specific entries that point to the old WSUS server:


reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUServer /f 
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUStatusServer /f

2. Reset the Update Service


This stops the service, clears the temporary update cache (which may be bloated with old SBS data), and restarts it:


net stop wuauserv 
net stop bits
rd /s /q %windir%\SoftwareDistribution
net start wuauserv
net start bits

3. Force a Check-In


Finally, tell Windows to check directly with Microsoft:


wuauclt /detectnow 
gpupdate /force



How to Verify


After performing these steps, go to Settings > Windows Update > Advanced Options.



  • If you see a message saying "Some settings are managed by your organization," the old GPO or registry keys are still active.

  • If that message is gone, and you can click "Check for updates" and successfully download files, the SBS/WSUS dependency is officially broken.



Tip: If you have many machines, the most efficient way is to create a new GPO called "WSUS Cleanup" that applies the "Disabled" setting to the "Specify intranet Microsoft update service location" and link it to the top of your domain.



DogMan
  • DogMan
  • 100% (Exalted)
  • Newbie Topic Starter
2 months ago
 WUpol1.png You have insufficient rights to see the content.
It's not configured in there..
Recycling Computers  is my hobby so if you have any old PCs or Macs..
sirclesadmin
2 months ago

Based on the screenshot, it looks like you are checking the Computer Configuration section, but everything is marked as "Not configured." This tells us one of two things: either you're looking at the wrong Group Policy Object (GPO), or the settings are actually hidden in the User Configuration section (which is less common for WSUS but possible in SBS environments).


However, if you are certain this is the correct GPO and it shows "Not configured," the WSUS dependency is likely coming from a different policy or is "tattooed" into the registry.


Here is how to track it down:


1. Find the "Secret" Source


Instead of hunting through every GPO, let's see exactly which policy is winning. On one of the affected client computers:



  1. Open Command Prompt as Administrator.

  2. Type: gpresult /h report.html

  3. Open the report.html file that appears in that folder.

  4. Look for "Specify intranet Microsoft update service location." It will tell you exactly which GPO is setting that value.




2. Check "All Settings"


In your screenshot, look at the very bottom of the left-hand folder tree (under the highlighted "Windows Update" folder). There is a folder called "All Settings."



  • Click that.

  • Click the State column header to sort by "Enabled."

  • If there is a WSUS setting active in this specific GPO, it will jump to the top, regardless of which sub-folder it's hidden in.




3. The "Legacy" SBS Trap


Small Business Server often used a specific WMI Filter. If you are looking at the "Default Domain Policy" and it's not there, check for a GPO specifically named:



  • Update Services Common Settings Policy

  • Update Services Client Computers Policy


These were the specific names SBS used for WSUS management, separate from the "Client Policy."




4. Forced Cleanup (If the GPO is missing)


If you can't find the GPO but the machines are still stuck, it means the settings are "orphaned" in the registry. You can kill the dependency immediately by running this on the client machine:



  1. Click Start, type regedit, and hit Enter.

  2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

  3. If you see a folder called AU, look inside it.

  4. Delete the values WUServer and WUStatusServer.

  5. Restart the Windows Update service.


Does gpresult show a different policy name than the one you're currently editing?


DogMan
  • DogMan
  • 100% (Exalted)
  • Newbie Topic Starter
2 months ago
Well you can see top left which policy I'm looking at
Recycling Computers  is my hobby so if you have any old PCs or Macs..
sirclesadmin
2 months ago

Ah, eagle eyes-you're right. I see it now in the title bar: you are specifically editing the Windows SBS Client Policy.


If that policy shows "Not configured" for every setting in that list, then that specific GPO is currently a "ghost"-it exists, but it isn't actually doing anything regarding Windows Updates.


This means the WSUS dependency is coming from somewhere else. Here is how to nail it down:


1. The "True" SBS Update Policies


In a standard SBS setup, the Windows SBS Client Policy usually handled firewall and remote desktop, while two other policies handled the actual WSUS/Update settings. Look in your Group Policy Management list for:



  • Update Services Common Settings Policy

  • Update Services Client Computers Policy


Check those two. One of them is almost certainly where the "Specify intranet Microsoft update service location" setting is hiding.


2. The "Winning" Policy (The Shortcut)


Since we know the setting is active on your machines but "Not configured" in the GPO you're looking at, let's use the Settings Results tab to find the culprit:



  1. In the main Group Policy Management window (not the Editor), click on the Group Policy Results node at the very bottom of the left pane.

  2. Run the wizard for one of your affected computers.

  3. Once the report generates, click the Settings tab.

  4. Expand Administrative Templates > Windows Components > Windows Update.

  5. Look for the "Intranet Update Service" setting. Next to it, under the Winning GPO column, it will tell you the exact name of the policy you need to edit.


3. Check for Local Policies


If the SBS server was decommissioned or the domain is messy, someone might have set a Local Group Policy on the machine images.



  • On a client machine, run gpedit.msc.

  • Check the same path: Computer Configuration > Admin Templates > Windows Components > Windows Update.

  • If it's "Enabled" there, that's your culprit.


4. Direct Registry Kill (The "I'm Done With This" Method)


If you just want the dependency gone and don't want to hunt through old SBS policies, you can override it. Create a brand new GPO, call it "Kill WSUS," and set Specify intranet Microsoft update service location to Disabled.


Because "Disabled" explicitly tells Windows "Don't use a local server," it will override any "Enabled" settings from the old SBS policies as long as your new GPO has a higher precedence (is higher in the list).


Which policies do you see listed in your GPMC alongside that SBS Client Policy?


DogMan
  • DogMan
  • 100% (Exalted)
  • Newbie Topic Starter
2 months ago
How can I see which policies are affecting the current machine/user?
Recycling Computers  is my hobby so if you have any old PCs or Macs..