分享好友 最新动态首页 最新动态分类 切换频道
Use the service connection tool for Configuration Manager
2024-12-26 13:50

Applies to: Configuration Manager (current branch)

Use the service connection tool when your service connection point is in offline mode. You can also use it when your Configuration Manager site system servers aren't connected to the internet. The tool can help you keep your site up to date with the latest updates to Configuration Manager.

When you run the tool, it connects to the Configuration Manager cloud service, uploads usage information for your hierarchy, and downloads updates. Uploading usage data is necessary to enable the cloud service to provide the correct updates for your environment.

  • The site has a service connection point, and you configure it for an Offline, on-demand connection.

  • Run the tool from a command prompt as an administrator. There's no user interface.

  • You run the tool from the service connection point and a computer that can connect to the internet. Each of these computers needs to have a x64-bit OS, and have the following components:

    • Both the Visual C++ Redistributable x86 and x64 files. By default, Configuration Manager installs the x64 version on the computer that hosts the service connection point. This tool requires the Microsoft Visual C++ 2015-2019 redistributable package (14.28.29914.0), or later, on the computer that you are running it from. To download this component, see Microsoft Visual C++ Redistributable latest supported downloads.

    • This tool requires .NET version 4.6.2, and version 4.8 is recommended. For more information, see Site and site system prerequisites.

    • Starting in version 2309, this tool requires installation of the ODBC Driver 18 for SQL Server (x64). To download this component, see Download ODBC Driver for SQL Server.

  • The account you use to run the tool needs the following permissions:

    • Local administrator on the computer that hosts the service connection point

    • Read permissions to the site database

  • You need a method to transfer the files between the computer with internet access and the service connection point. For example, a USB drive with sufficient free space to store the files and updates.

  1. Prepare: Run the tool on the service connection point. It puts your usage data into a .cab file at the location you specify. Copy the data file to the computer with an internet connection.

  2. Connect: Run the tool on the computer with an internet connection. It uploads your usage data, and then downloads Configuration Manager updates. Copy the downloaded updates to the service connection point.

    You can upload multiple data files at one time, each from a different hierarchy. You can also specify a proxy server and a user for the proxy server.

  3. Import: Run the tool on the service connection point. It imports the updates, and adds them to your site. You can then view and install those updates in the Configuration Manager console.

  • Put all exported data files from separate hierarchies into the same folder. Give each file a unique name. If necessary, you can manually rename them.

  • When you run the tool to upload data to Microsoft, you specify the folder that contains the data files.

  • When you run the tool to import data, the tool only imports the data for that hierarchy.

If the computer with an internet connection requires a proxy server, the tool supports a basic proxy configuration. Use the optional parameters -proxyserveruri and -proxyusername. For more information, see Command-line parameters.

The tool supports options to control what files you download. By default, the tool downloads only the latest available update that applies to the version of your site. It doesn't download hotfixes.

To modify this behavior, use one of the following parameters to change what files it downloads:

  • -downloadall: Download all updates, including updates and hotfixes, whatever the version of your site.

  • -downloadhotfix: Download all hotfixes whatever the version of your site.

  • -downloadsiteversion: Downloads updates and hotfixes with a later version than the version of your site.

For more information, see Command-line parameters.

The service connection tool is in the Configuration Manager installation media at the following path: . Always use the service connection tool that matches the version of Configuration Manager that you use. All of these files must be in the same folder for the service connection tool to work.

Copy the ServiceConnectionTool folder with all of its contents to the computer with an internet connection.

In this procedure, the command-line examples use the following file names and folder locations. You don't need to use these paths and file names. You can use alternatives that match your environment and preferences.

  • The path to the Configuration Manager installation media source files on the service connection point:

  • The path to a USB drive where you store the data to transfer between computers:

  • The name of the data file that you export from the site:

  • The name of the empty folder where the tool stores downloaded updates for Configuration Manager:

  1. On the computer that hosts the service connection point, open a command prompt as an administrator, and change directory to the tool location. For example:

  2. Run the following command to prepare the data file:

    The data in the file is based on the level of diagnostic and usage data that you configure for the site. For more information, see Overview of diagnostics and usage data. You can use the tool to export the data to a CSV file to view the contents. For more information, see -export.

  3. After the tool finishes exporting the usage data, copy the data file to a computer that has access to the internet.

  1. On the computer with internet access, open a command prompt as an administrator, and change directory to the tool location. This location is a copy of the entire ServiceConnectionTool folder. For example:

  2. Run the following command to upload the data file and download the Configuration Manager updates:

    For more examples, see Command line parameters.

  3. After the tool finishes downloading the updates, copy them to the service connection point.

  1. On the computer that hosts the service connection point, open a command prompt as an administrator, and change directory to the tool location. For example:

  2. Run the following command to import the updates:

  3. After the import completes, close the command prompt. It only imports updates for the applicable hierarchy.

  4. In the Configuration Manager console, go to the Administration workspace, and select the Updates and Servicing node. Imported updates are now available to install. For more information, see Install in-console updates.

  • ServiceConnectionTool.log: Each time you run the service connection tool, it writes to this log file. The path of the log file is always the same location as the tool. This log file provides simple details about the tool usage based on the parameters you use. Each time you run the tool, the tool replaces any existing log file.

  • ConfigMgrSetup.log: During the Connect phase, the tool writes to this log file at the root of the system drive. This log file provides more detailed information. For example, what files the tool downloads, and if the hash checks are successful.

This section lists in alphabetical order all of the available parameters for the service connection tool.

Use during the Connect phase on the computer with internet access. It connects to the Configuration Manager cloud service to upload the data file, and download updates.

It requires the following parameters:

  • -usagedatasrc: The location of the data file to upload
  • -updatepackdest: A path for the downloaded updates

You can also use the following optional parameters:

  • -proxyserveruri: The FQDN of the proxy server
  • -proxyusername: A user name for the proxy server
  • -downloadall: Download everything, including updates and hotfixes, whatever the version of your site.
  • -downloadhotfix: Download all hotfixes, whatever the version of your site.
  • -downloadsiteversion: Download updates and hotfixes that have a later version than the version of your site.

Example of connect without a proxy server

Example of connect with a proxy server

Example of connect to download only site version applicable updates

A required parameter with the -export parameter to specify the path and file name of the CSV file to export. For more information, see -export.

An optional parameter with the -connect parameter to download everything, including updates and hotfixes, whatever the version of your site. For more information, see -connect.

An optional parameter with the -connect parameter to only download all hotfixes, whatever the version of your site. For more information, see -connect.

An optional parameter with the -connect parameter to only download updates and hotfixes that have a later version than the version of your site. For more information, see -connect.

Use during the Prepare phase to export usage data to a CSV file. Run it as an administrator on the service connection point. This action lets you review the contents of the usage data before you upload to Microsoft. It requires the -dest parameter to specify the location of the CSV file.

Example of export

Use during the Import phase on the service connection point to import the updates to the site. It requires the -updatepacksrc parameter to specify the location of the downloaded updates.

Example of import

Use during the Prepare phase on the service connection point to export usage data from the site. It requires the -usagedatadest parameter to specify the location of the exported data file.

Example of prepare

An optional parameter with the -connect parameter to specify the FQDN of your proxy server. For more information, see -connect.

An optional parameter with the -connect parameter to specify the username to authenticate with your proxy server. For more information, see -connect.

A required parameter with the -connect parameter to specify a path for the downloaded updates. For more information, see -connect.

A required parameter with the -import parameter to specify a path of the downloaded updates. For more information, see -import.

A required parameter with the -prepare parameter to specify a path and file name of the exported data file. For more information, see -prepare.

Install in-console updates

最新文章
金科重整方案落地:冯仑等投资人注资超33亿,未来布局特殊资产
  12月13日晚,金科地产集团股份有限公司(简称“金科股份”)发布的关于重整最新进展公告显示,上海品器联合体(上海品器、北京天娇绿苑联合体)已与金科股份及重庆金科正式签署重整投资协议,金科股份将累计获超33亿元的资金支持。  
电脑下载库音乐全攻略,轻松获取海量音乐资源,简单教程大揭秘!
本文介绍了如何轻松下载库音乐,简单易懂。通过本教程,您可以方便地获取海量音乐资源。您需要选择可信赖的音乐下载网站,然后搜索您喜欢的歌曲或歌手。点击下载按钮并按照提示完成下载过程。您可以将下载的音乐保存在本地计算机上,随时随
聊城事业单位招聘网——解密聊城各类事业单位招聘信息
聊城事业单位招聘网是聊城地区最权威的事业单位招聘信息发布平台。作为求职者在聊城地区找寻事业单位岗位的利器,聊城事业单位招聘网致力于为求职者提供最新、最全面的招聘信息和职位资讯。聊城是山东省的一个地级市,下设2个市辖区、7个县
外链建设指南:为支持视频内容的网站打造强有力的外链347
在竞争激烈的数字格局中,创建吸引观众的外链策略至关重要。对于支持视频内容的网站而言,建立高质量外链尤为重要,因为它可以极大地影响网站的可见性和权威性。规划外链建设策略1. 确定目标受众明确了解网站的目标受众对于创建有效的链接
直通车推广怎么收费,直通车推广的扣费规则
随着电商行业的飞速发展,越来越多的商家开始在各大电商平台上开设店铺,想要在竞争激烈的市场中脱颖而出,简单依靠自然流量已经远远不够。因此,许多卖家会选择使用推广工具来增加店铺的曝光率和转化率,而在淘宝平台上,直通车无疑是最为
聊城大学建筑工程学院2024年硕士研究生复试录取工作方案
根据《教育部关于印发〈2024年全国硕士研究生招生工作管理规定〉的通知》(教学[2023]2号)和《聊城大学2024年硕士研究生复试录取工作方案》的相关要求,结合学院实际,现将我院2024年硕士研究生招生考试复试相关工作安排如下:一、组织领
粉丝必看!如何设计一个吸睛的Logo?AI免费神器让你的专业形象更出众
还在找人花钱做logo设计?当然这里申明下,小编还是建议大家尊重设计劳动力尽量选择付费不过小编就是喜欢免费的,今天就给大家带来一个免费在线生成LOGO的工具。工具名称:搜狐简单AI工具地址https://ai.sohu.com/pc/generate/textToImg?030
浙马纪录挑战赛 |2024第五届浙马纪录挑战赛竞赛规程!
2024第五届浙马纪录挑战赛竞赛规程一、组织单位主办单位:临平区人民政府、浙江省马拉松及路跑协会 承办单位:临平区文化和广电旅游体育局、杭州雁渡寒潭体育运动俱乐部 协办单位:浙江黄龙体育文化培训有限公司、杭州电视台青少•体育频道
利用YouTube玩转独立站营销和SEO
YouTube是世界最大的社交平台之一,也是世界第二大的搜索引擎和世界最大的视频网站。虽然网络上能找到很多关于优化YouTube视频创作和频道运营的教程,但是如何利用YouTube来使您的网站实际受益呢?以下8点建议将会帮助你! 接下来,我们会
选品时如何评估竞争热度:搜索量多少算是竞争不激烈?
讲到选品时,我总是反复强调,除非你家大业大资金雄厚运营彪悍,否则,一定要选择偏冷门的产品。 那什么才算是偏冷门的产品呢? 为了让选品更有针对性、可量化,我专门给出建议:选择Best Seller日销量在50-150单的产品。 这样的产品,大卖
相关文章
推荐文章
发表评论
0评