Enable and Disable Remote Tools - Configuration Manager (2024)

  • Article

You enable or disable the Remote Tools Client Agent, in Configuration Manager, by modifying the site control file settings.

To enable or disable the Remote Tools Client Agent

  1. Set up a connection to the SMS Provider.

  2. Make a connection to the Remote Tools Client Agent section of the site control file by using the SMS_SCI_ClientComp class.

  3. Loop through the array of available properties, making changes as needed.

  4. Commit the changes to the site control file.

Example

The following example method enables or disables the Remote Tools Client Agent by using the SMS_SCI_ClientComp class to connect to the site control file and change properties.

For information about calling the sample code, see Calling Configuration Manager Code Snippets.

Sub EnableDisableRemoteControlClientAgent(swbemServices, _ swbemContext, _ siteCode, _ enableDisableClientAgent) ' Load site control file and get client component section. swbemServices.ExecMethod "SMS_SiteControlFile.Filetype=1,Sitecode=""" & siteCode & """", "Refresh", , , swbemContext Set objSWbemInst = swbemServices.Get("SMS_SCI_ClientComp.Filetype=1,Itemtype='Client Component',Sitecode='" & siteCode & "',ItemName='Remote Control'", , swbemContext) ' Display client agent settings before change. Wscript.Echo " " Wscript.Echo "Properties - Before Change" Wscript.Echo "---------------------------" Wscript.Echo objSWbemInst.ClientComponentName Wscript.Echo objSWbemInst.Flags & " (0 = Disabled, 1 = Enabled)" ' Set the client agent by setting the Flags value to 0 or 1 using the enableDisableClientAgent variable. objSWbemInst.Flags = enableDisableClientAgent ' Save the new client agent settings. objSWbemInst.Put_ , swbemContext swbemServices.ExecMethod "SMS_SiteControlFile.Filetype=1,Sitecode=""" & siteCode & """", "Commit", , , swbemContext ' Refresh the in-memory copy of the site control file and get the client component section. swbemServices.ExecMethod "SMS_SiteControlFile.Filetype=1,Sitecode=""" & siteCode & """", "Refresh", , , swbemContext Set objSWbemInst = swbemServices.Get("SMS_SCI_ClientComp.Filetype=1,Itemtype='Client Component',Sitecode='" & siteCode & "',ItemName='Remote Control'", , swbemContext) ' Display the client agent settings after the change. Wscript.Echo " " Wscript.Echo "Properties - After Change" Wscript.Echo "---------------------------" Wscript.Echo objSWbemInst.ClientComponentName Wscript.Echo objSWbemInst.Flags & " (0 = Disabled, 1 = Enabled)" End Sub 
public void EnableDisableRemoteControlClientAgent(WqlConnectionManager connection, string siteCode, string enableDisableClientAgent) { try { IResultObject siteDefinition = connection.GetInstance(@"SMS_SCI_ClientComp.FileType=1,ItemType='Client Component',SiteCode='" + siteCode + "',ItemName='Remote Control'"); // Display Remote Control client agent settings before changing the properties. Console.WriteLine(); Console.WriteLine("Properties - Before Change"); Console.WriteLine("---------------------------"); Console.WriteLine(siteDefinition["ClientComponentName"].StringValue); Console.WriteLine(siteDefinition["Flags"].StringValue + " (0 = Disabled, 1 = Enabled)"); // Set Remote Control client agent by setting "Flags" value to 0 or 1 by using the enableDisableClientAgent variable. siteDefinition["Flags"].StringValue = enableDisableClientAgent; // Save the settings. siteDefinition.Put(); // Verify the change by reconnecting and getting the value again. IResultObject siteDefinition2 = connection.GetInstance(@"SMS_SCI_ClientComp.FileType=1,ItemType='Client Component',SiteCode='" + siteCode + "',ItemName='Remote Control'"); // Display Remote Control client agent settings after changing the properties. Console.WriteLine(); Console.WriteLine("Properties - After Change"); Console.WriteLine("--------------------------"); Console.WriteLine(siteDefinition2["ClientComponentName"].StringValue); Console.WriteLine(siteDefinition2["Flags"].StringValue + " (0 = Disabled, 1 = Enabled)"); } catch (SmsException ex) { Console.WriteLine("Failed. Error: " + ex.InnerException.Message); throw; } } 

The example method has the following parameters:

ParameterTypeDescription
ParameterTypeDescription
connection

swbemServices

- Managed: WqlConnectionManager
- VBScript: SWbemServices
A valid connection to the SMS Provider.
swbemContext- VBScript: SWbemContextA valid context object. For more information, see How to Add a Configuration Manager Context Qualifier by Using WMI.
siteCode- Managed: String
- VBScript: String
The site code.
enableDisableClientAgent- Managed: String
- VBScript: String
Determines whether the Remote Tools client agent is enabled or disabled.

- 0 - Disabled
- 1 - Enabled

Compiling the Code

This C# example requires:

Namespaces

System

System.Collections.Generic

System.Text

Microsoft.ConfigurationManagement.ManagementProvider

Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine

Assembly

adminui.wqlqueryengine

microsoft.configurationmanagement.managementprovider

Robust Programming

For more information about error handling, see About Configuration Manager Errors.

.NET Framework Security

For more information about securing Configuration Manager applications, see Configuration Manager role-based administration.

See Also

Configuration Manager Software Development Kit
About the Configuration Manager Site Control File
How to Read and Write to the Configuration Manager Site Control File by Using Managed Code
How to Read and Write to the Configuration Manager Site Control File by Using WMI
SMS_SCI_Component Server WMI Class

Enable and Disable Remote Tools - Configuration Manager (2024)

FAQs

How do I enable Remote Control Configuration Manager? ›

In the Configuration Manager console, choose Administration > Client Settings > Default Client Settings. On the Home tab, in the Properties group, choose Properties. In the Default dialog box, choose Remote Tools. Configure the remote control, Remote Assistance and Remote Desktop client settings.

How to enable Remote tools agent? ›

To enable or disable the Remote Tools Client Agent

Make a connection to the Remote Tools Client Agent section of the site control file by using the SMS_SCI_ClientComp class. Loop through the array of available properties, making changes as needed. Commit the changes to the site control file.

How do I disable Configuration Manager? ›

Stop ConfigMgr Client Activities
  1. In your Configuration Manager console, right-click on a device.
  2. Click Right Click Tools > Client Tools > Stop ConfigMgr Client Activities.
  3. Confirm that you want to stop the ConfigMgr client.
Mar 11, 2022

Why should I disable remote access? ›

If you don't secure your router properly, you could expose your devices and data to unwanted access, malware, or denial-of-service attacks. One way to reduce the risk of these threats is to disable or limit remote management and UPnP services on your router.

How do I enable Remote management? ›

How to enable the Remote Desktop Administration feature manually?
  1. Click start>Run.
  2. Enter gpedit.msc.
  3. Click OK.
  4. Double-click Computer Configuration>Administrative Templates>Network>Network Connections>Windows Firewall.
  5. Double-click Domain Profile>Windows Firewall: Allow remote administration exception.
  6. Select Enabled.

Where is the Configuration Manager remote control? ›

To remotely administer a client computer from the Configuration Manager console
  1. In the Configuration Manager console, choose Assets and Compliance > Devices or Device Collections.
  2. Select the computer that you want to remotely administer and then, in the Home tab, in the Device group, choose Start > Remote Control.
Oct 4, 2022

How do I configure settings in Configuration Manager? ›

In the Configuration Manager console, go to the Administration workspace, and select the Client Settings node. On the Home tab of the ribbon, in the Create group, select Create Custom Client Settings. Then choose either Create Custom Client Device Settings or Create Custom Client User Settings.

How do I disable user configuration? ›

To disable user or computer configuration settings:
  1. Expand Group Policy Objects in the Group Policy Management console.
  2. Right-click the policy and navigate to GPO Status.
  3. Select either User Configuration Settings Disabled or Computer Configuration Settings Disabled.

How do I disable system configuration services? ›

Press the Windows key + R on the keyboard to open a Run window. Enter msconfig into the Run window and then choose OK to open. Select Services on the System Configuration window. To remove any Microsoft services from this list, check the box Hide all Microsoft services.

Is it OK to disable remote access Connection Manager? ›

Test the connection.

If you're asking, “Can I disable Remote Access Connection Manager?” the answer is yes. But unless you desperately need those system resources, it's best to keep it running in the background to make speedy connections.

What happens when I enable remote access? ›

When you allow remote connections to your PC, you can use another device to connect to your PC and have access to all of your apps, files, and network resources as if you were sitting at your desk. You can use Remote Desktop to connect to Professional and Enterprise SKUs of Windows.

Which option should enable for remote access? ›

When you're ready, select Start > Settings > System > Remote Desktop, and turn on Enable Remote Desktop.

How do I enable Remote Desktop Manager? ›

On the device you want to connect to, select Start and then choose the Settings icon on the left. Select the System group followed by the Remote Desktop item. Use the slider to enable Remote Desktop. It's also recommended to keep the PC awake and discoverable to facilitate connections.

How do I enable remote access connection manager? ›

Find Remote Access Connection Manager on the list and double-click it to open the properties.
  1. Change its startup type to Automatic.
  2. If the service status is Stopped, start it.
  3. Apply the changes.
Nov 20, 2023

How do I enable remote access to my computer? ›

When you're ready, select Start > Settings > System > Remote Desktop, and turn on Enable Remote Desktop.

How do I enable Remote WMI access? ›

Enabling WMI in a remote monitor

Right click WMI Control and click Properties. In the WMI Control Properties screen, go to the Security tab. Click the Security button. Under Group or user names, select the user that will be requesting WMI data and click Add.

Top Articles
If your Apple Pay Later purchase is declined - Apple Support
SHETH | 21Shares Short Ethereum ETP
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Terence Hammes MD

Last Updated:

Views: 5614

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Terence Hammes MD

Birthday: 1992-04-11

Address: Suite 408 9446 Mercy Mews, West Roxie, CT 04904

Phone: +50312511349175

Job: Product Consulting Liaison

Hobby: Jogging, Motor sports, Nordic skating, Jigsaw puzzles, Bird watching, Nordic skating, Sculpting

Introduction: My name is Terence Hammes MD, I am a inexpensive, energetic, jolly, faithful, cheerful, proud, rich person who loves writing and wants to share my knowledge and understanding with you.