MarkDown update: replace deprecated HTML tags

- As requested in issue ticket #9449
(**<strong> tags causing issue in localized articles**),
this Pull Request aims to remove HTML tags known to cause layout and
readability issues in the MS Docs document pages, Frame Overflow being
a frequent and obvious layout-breaking issue in translated articles.

Changes proposed:
- Replace HTML tag <strong> </strong> with its MD equivalent ** **
- Replace single asterisk * with underscore _ (when combined with **)
- Simplify usage of bold formatting (** **) to only the outer pair
- Replace HTML tag <em> </em> with MarkDown underscore _ _

Whitespace changes:
- Remove redundant end-of-line (EOL) blanks (trailing space)
- Normalize spacing in numbered lists and bullet point lists to 1 space
- Replace end-of-file (EOF) consecutive blank lines with 1 NewLine
- Normalize layout spacing in MarkDown tables (consistency)
- Normalize layout to 1 blank line after H2, H3, H4 headings
- Allow up to 2 blank lines spacing (not 3 or more), ex. H1 page title

Closes #9449
This commit is contained in:
illfated 2021-04-24 11:49:32 +02:00
parent f7d1ea21d2
commit 594bfb310b
5 changed files with 221 additions and 247 deletions

View File

@ -13,23 +13,24 @@ ms.date: 11/19/2019
--- ---
# DiagnosticLog CSP # DiagnosticLog CSP
The DiagnosticLog configuration service provider (CSP) provides the following feature areas:
The DiagnosticLog configuration service provider (CSP) provides the following feature areas:
- [DiagnosticArchive area](#diagnosticarchive-area). Capture and upload event logs, log files, and registry values for troubleshooting. - [DiagnosticArchive area](#diagnosticarchive-area). Capture and upload event logs, log files, and registry values for troubleshooting.
- [Policy area](#policy-area). Configure Windows event log policies, such as maximum log size. - [Policy area](#policy-area). Configure Windows event log policies, such as maximum log size.
- [EtwLog area](#etwlog-area). Control ETW trace sessions. - [EtwLog area](#etwlog-area). Control ETW trace sessions.
- [DeviceStateData area](#devicestatedata-area). Provide additional device information. - [DeviceStateData area](#devicestatedata-area). Provide additional device information.
- [FileDownload area](#filedownload-area). Pull trace and state data directly from the device. - [FileDownload area](#filedownload-area). Pull trace and state data directly from the device.
The following are the links to different versions of the DiagnosticLog CSP DDF files: The following are the links to different versions of the DiagnosticLog CSP DDF files:
- [DiagnosticLog CSP version 1.4](diagnosticlog-ddf.md#version-1-4) - [DiagnosticLog CSP version 1.4](diagnosticlog-ddf.md#version-1-4)
- [DiagnosticLog CSP version 1.3](diagnosticlog-ddf.md#version-1-3) - [DiagnosticLog CSP version 1.3](diagnosticlog-ddf.md#version-1-3)
- [DiagnosticLog CSP version 1.2](diagnosticlog-ddf.md#version-1-2) - [DiagnosticLog CSP version 1.2](diagnosticlog-ddf.md#version-1-2)
The following shows the DiagnosticLog CSP in tree format. The following shows the DiagnosticLog CSP in tree format.
``` ```
./Vendor/MSFT ./Vendor/MSFT/DiagnosticLog
DiagnosticLog
----EtwLog ----EtwLog
--------Collectors --------Collectors
------------CollectorName ------------CollectorName
@ -59,7 +60,8 @@ DiagnosticLog
----------------DataBlocks ----------------DataBlocks
--------------------BlockNumber --------------------BlockNumber
``` ```
<a href="" id="--vendor-msft-diagnosticlog"></a>**./Vendor/MSFT/DiagnosticLog**
<a href="" id="--vendor-msft-diagnosticlog"></a>**./Vendor/MSFT/DiagnosticLog**
The root node for the DiagnosticLog CSP. The root node for the DiagnosticLog CSP.
Rest of the nodes in the DiagnosticLog CSP are described within their respective feature area sections. Rest of the nodes in the DiagnosticLog CSP are described within their respective feature area sections.
@ -68,18 +70,18 @@ Rest of the nodes in the DiagnosticLog CSP are described within their respective
The DiagnosticArchive functionality within the DiagnosticLog CSP is used to trigger devices to gather troubleshooting data into a zip archive file and upload that archive to cloud storage. DiagnosticArchive is designed for ad-hoc troubleshooting scenarios, such as an IT admin investigating an app installation failure using a collection of event log events, registry values, and app or OS log files. The DiagnosticArchive functionality within the DiagnosticLog CSP is used to trigger devices to gather troubleshooting data into a zip archive file and upload that archive to cloud storage. DiagnosticArchive is designed for ad-hoc troubleshooting scenarios, such as an IT admin investigating an app installation failure using a collection of event log events, registry values, and app or OS log files.
> [!Note] > [!NOTE]
> DiagnosticArchive is a "break glass" backstop option for device troubleshooting. Diagnostic data such as log files can grow to many gigabytes. Gathering, transferring, and storing large amounts of data may burden the user's device, the network and cloud storage. Management servers invoking DiagnosticArchive must take care to minimize data gathering frequency and scope. > DiagnosticArchive is a "break glass" backstop option for device troubleshooting. Diagnostic data such as log files can grow to many gigabytes. Gathering, transferring, and storing large amounts of data may burden the user's device, the network and cloud storage. Management servers invoking DiagnosticArchive must take care to minimize data gathering frequency and scope.
The following section describes the nodes for the DiagnosticArchive functionality. The following section describes the nodes for the DiagnosticArchive functionality.
<a href="" id="diagnosticarchive"></a>**DiagnosticArchive** <a href="" id="diagnosticarchive"></a>**DiagnosticArchive**
Added in version 1.4 of the CSP in Windows 10, version 1903. Root node for the DiagnosticArchive functionality. Added in version 1.4 of the CSP in Windows 10, version 1903. Root node for the DiagnosticArchive functionality.
The supported operation is Get. The supported operation is Get.
<a href="" id="diagnosticarchive-archivedefinition"></a>**DiagnosticArchive/ArchiveDefinition** <a href="" id="diagnosticarchive-archivedefinition"></a>**DiagnosticArchive/ArchiveDefinition**
Added in version 1.4 of the CSP in Windows 10, version 1903. Added in version 1.4 of the CSP in Windows 10, version 1903.
The supported operations are Add and Execute. The supported operations are Add and Execute.
@ -87,7 +89,7 @@ The data type is string.
Expected value: Expected value:
Set and Execute are functionality equivalent, and each accepts a `Collection` XML snippet (as a string) describing what data to gather and where to upload it. The results are zipped and uploaded to the specified SasUrl. The zipped filename format is "DiagLogs-{ComputerName}-YYYYMMDDTHHMMSSZ.zip". Set and Execute are functionality equivalent, and each accepts a `Collection` XML snippet (as a string) describing what data to gather and where to upload it. The results are zipped and uploaded to the specified SasUrl. The zipped filename format is "DiagLogs-{ComputerName}-YYYYMMDDTHHMMSSZ.zip".
The following is an example of a `Collection` XML. The following is an example of a `Collection` XML.
``` xml ``` xml
@ -107,16 +109,16 @@ The following is an example of a `Collection` XML.
``` ```
The XML should include the following elements within the `Collection` element: The XML should include the following elements within the `Collection` element:
**ID** **ID**
The ID value uniquely identifies this data-gathering request. To avoid accidental repetition of data gathering, the CSP ignores subsequent Set or Execute invocations with the same ID value. The CSP expects the value to be populated when the request is received, so it must be generated by the IT admin or the management server. The ID value uniquely identifies this data-gathering request. To avoid accidental repetition of data gathering, the CSP ignores subsequent Set or Execute invocations with the same ID value. The CSP expects the value to be populated when the request is received, so it must be generated by the IT admin or the management server.
**SasUrl** **SasUrl**
The SasUrl value is the target URI to which the CSP uploads the zip file containing the gathered data. It is the responsibility of the management server to provision storage in such a way that the storage server accepts the device's HTTP PUT to this URL. For example, the device management service could: The SasUrl value is the target URI to which the CSP uploads the zip file containing the gathered data. It is the responsibility of the management server to provision storage in such a way that the storage server accepts the device's HTTP PUT to this URL. For example, the device management service could:
- Provision cloud storage reachable by the target device, such as a Microsoft Azure blob storage container - Provision cloud storage reachable by the target device, such as a Microsoft Azure blob storage container
- Generate a Shared Access Signature URL granting the possessor (the target device) time-limited write access to the storage container - Generate a Shared Access Signature URL granting the possessor (the target device) time-limited write access to the storage container
- Pass this value to the CSP on the target device through the `Collection` XML as the `SasUrl` value. - Pass this value to the CSP on the target device through the `Collection` XML as the `SasUrl` value.
**One or more data gathering directives, which may include any of the following:** **One or more data gathering directives, which may include any of the following:**
- **RegistryKey** - **RegistryKey**
- Exports all of the key names and values under a given path (recursive). - Exports all of the key names and values under a given path (recursive).
@ -133,53 +135,53 @@ The SasUrl value is the target URI to which the CSP uploads the zip file contain
- This directive type allows the execution of specific commands such as ipconfig.exe. Note that DiagnosticArchive and the Commands directives are not a general-purpose scripting platform. These commands are allowed in the DiagnosticArchive context to handle cases where critical device information may not be available through existing log files. - This directive type allows the execution of specific commands such as ipconfig.exe. Note that DiagnosticArchive and the Commands directives are not a general-purpose scripting platform. These commands are allowed in the DiagnosticArchive context to handle cases where critical device information may not be available through existing log files.
- Expected input value: The full command line including path and any arguments, such as `%windir%\\system32\\ipconfig.exe /all`. - Expected input value: The full command line including path and any arguments, such as `%windir%\\system32\\ipconfig.exe /all`.
- Output format: Console text output from the command is captured in a text file and included in the overall output archive. For commands which may generate file output rather than console output, a subsequent FolderFiles directive would be used to capture that output. The example XML above demonstrates this pattern with mdmdiagnosticstool.exe's -out parameter. - Output format: Console text output from the command is captured in a text file and included in the overall output archive. For commands which may generate file output rather than console output, a subsequent FolderFiles directive would be used to capture that output. The example XML above demonstrates this pattern with mdmdiagnosticstool.exe's -out parameter.
- Privacy guardrails: To enable diagnostic data capture while reducing the risk of an IT admin inadvertently capturing user-generated documents, only the following commands are allowed: - Privacy guardrails: To enable diagnostic data capture while reducing the risk of an IT admin inadvertently capturing user-generated documents, only the following commands are allowed:
- %windir%\\system32\\certutil.exe - %windir%\\system32\\certutil.exe
- %windir%\\system32\\dxdiag.exe - %windir%\\system32\\dxdiag.exe
- %windir%\\system32\\gpresult.exe - %windir%\\system32\\gpresult.exe
- %windir%\\system32\\msinfo32.exe - %windir%\\system32\\msinfo32.exe
- %windir%\\system32\\netsh.exe - %windir%\\system32\\netsh.exe
- %windir%\\system32\\nltest.exe - %windir%\\system32\\nltest.exe
- %windir%\\system32\\ping.exe - %windir%\\system32\\ping.exe
- %windir%\\system32\\powercfg.exe - %windir%\\system32\\powercfg.exe
- %windir%\\system32\\w32tm.exe - %windir%\\system32\\w32tm.exe
- %windir%\\system32\\wpr.exe - %windir%\\system32\\wpr.exe
- %windir%\\system32\\dsregcmd.exe - %windir%\\system32\\dsregcmd.exe
- %windir%\\system32\\dispdiag.exe - %windir%\\system32\\dispdiag.exe
- %windir%\\system32\\ipconfig.exe - %windir%\\system32\\ipconfig.exe
- %windir%\\system32\\logman.exe - %windir%\\system32\\logman.exe
- %windir%\\system32\\tracelog.exe - %windir%\\system32\\tracelog.exe
- %programfiles%\\windows defender\\mpcmdrun.exe - %programfiles%\\windows defender\\mpcmdrun.exe
- %windir%\\system32\\MdmDiagnosticsTool.exe - %windir%\\system32\\MdmDiagnosticsTool.exe
- %windir%\\system32\\pnputil.exe - %windir%\\system32\\pnputil.exe
- **FoldersFiles** - **FoldersFiles**
- Captures log files from a given path (without recursion). - Captures log files from a given path (without recursion).
- Expected input value: File path with or without wildcards, such as "%windir%\\System32", or "%programfiles%\\*.log". - Expected input value: File path with or without wildcards, such as "%windir%\\System32", or "%programfiles%\\*.log".
- Privacy guardrails: To enable diagnostic log capture while reducing the risk of an IT admin inadvertently capturing user-generated documents, only paths under the following roots are allowed: - Privacy guardrails: To enable diagnostic log capture while reducing the risk of an IT admin inadvertently capturing user-generated documents, only paths under the following roots are allowed:
- %PROGRAMFILES% - %PROGRAMFILES%
- %PROGRAMDATA% - %PROGRAMDATA%
- %PUBLIC% - %PUBLIC%
- %WINDIR% - %WINDIR%
- %TEMP% - %TEMP%
- %TMP% - %TMP%
- Additionally, only files with the following extensions are captured: - Additionally, only files with the following extensions are captured:
- .log - .log
- .txt - .txt
- .dmp - .dmp
- .cab - .cab
- .zip - .zip
- .xml - .xml
- .html - .html
- .evtx - .evtx
- .etl - .etl
<a href="" id="diagnosticarchive-archiveresults"></a>**DiagnosticArchive/ArchiveResults** <a href="" id="diagnosticarchive-archiveresults"></a>**DiagnosticArchive/ArchiveResults**
Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting displays the results of the last archive run. Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting displays the results of the last archive run.
The supported operation is Get. The supported operation is Get.
The data type is string. The data type is string.
A Get to the above URI will return the results of the data gathering for the last diagnostics request. For the example above it returns: A Get to the above URI will return the results of the data gathering for the last diagnostics request. For the example above it returns:
@ -230,6 +232,7 @@ A Get to the above URI will return the results of the data gathering for the las
Each data gathering node is annotated with the HRESULT of the action and the collection is also annotated with an overall HRESULT. In this example, note that the mdmdiagnosticstool.exe command failed. Each data gathering node is annotated with the HRESULT of the action and the collection is also annotated with an overall HRESULT. In this example, note that the mdmdiagnosticstool.exe command failed.
### Making use of the uploaded data ### Making use of the uploaded data
The zip archive which is created and uploaded by the CSP contains a folder structure like the following: The zip archive which is created and uploaded by the CSP contains a folder structure like the following:
```powershell ```powershell
@ -313,7 +316,7 @@ foreach( $element in $resultElements )
Copy-Item $file.FullName -Destination (Join-Path -Path $reformattedArchivePath -ChildPath $leafSummaryString) Copy-Item $file.FullName -Destination (Join-Path -Path $reformattedArchivePath -ChildPath $leafSummaryString)
} }
} }
#endregion #endregion
Remove-Item -Path $diagnosticArchiveTempUnzippedPath -Force -Recurse Remove-Item -Path $diagnosticArchiveTempUnzippedPath -Force -Recurse
``` ```
That example script produces a set of files similar to the following, which can be a useful view for an administrator interactively browsing the results without needing to navigate any sub-folders or refer to `results.xml` repeatedly: That example script produces a set of files similar to the following, which can be a useful view for an administrator interactively browsing the results without needing to navigate any sub-folders or refer to `results.xml` repeatedly:
@ -341,17 +344,17 @@ The Policy functionality within the DiagnosticLog CSP configures Windows event l
The following section describes the nodes for the Policy functionality. The following section describes the nodes for the Policy functionality.
<a href="" id="policy"></a>**Policy** <a href="" id="policy"></a>**Policy**
Added in version 1.4 of the CSP in Windows 10, version 1903. Root node to control settings for channels in Event Log. Added in version 1.4 of the CSP in Windows 10, version 1903. Root node to control settings for channels in Event Log.
The supported operation is Get. The supported operation is Get.
<a href="" id="policy-channels"></a>**Policy/Channels** <a href="" id="policy-channels"></a>**Policy/Channels**
Added in version 1.4 of the CSP in Windows 10, version 1903. Node that contains Event Log channel settings. Added in version 1.4 of the CSP in Windows 10, version 1903. Node that contains Event Log channel settings.
The supported operation is Get. The supported operation is Get.
<a href="" id="policy-channels-channelname"></a>**Policy/Channels/_ChannelName_** <a href="" id="policy-channels-channelname"></a>**Policy/Channels/_ChannelName_**
Added in version 1.4 of the CSP in Windows 10, version 1903. Dynamic node to represent a registered channel. The node name must be a valid Windows event log channel name, such as ``Microsoft-Client-Licensing-Platform%2FAdmin``. When specifying the name in the LocURI, it must be URL encoded, otherwise it may unexpectedly translate into a different URI. Added in version 1.4 of the CSP in Windows 10, version 1903. Dynamic node to represent a registered channel. The node name must be a valid Windows event log channel name, such as ``Microsoft-Client-Licensing-Platform%2FAdmin``. When specifying the name in the LocURI, it must be URL encoded, otherwise it may unexpectedly translate into a different URI.
Supported operations are Add, Delete, and Get. Supported operations are Add, Delete, and Get.
@ -414,7 +417,7 @@ Get **Channel**
</SyncBody> </SyncBody>
</SyncML> </SyncML>
``` ```
<a href="" id="policy-channels-channelname-maximumfilesize"></a>**Policy/Channels/_ChannelName_/MaximumFileSize** <a href="" id="policy-channels-channelname-maximumfilesize"></a>**Policy/Channels/_ChannelName_/MaximumFileSize**
Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting specifies the maximum size of the log file in megabytes. Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting specifies the maximum size of the log file in megabytes.
If you enable this policy setting, you can configure the maximum log file size to be between 1 megabyte and 2 terabytes in megabyte increments. If you enable this policy setting, you can configure the maximum log file size to be between 1 megabyte and 2 terabytes in megabyte increments.
@ -510,7 +513,7 @@ Replace **MaximumFileSize**
</SyncML> </SyncML>
``` ```
<a href="" id="policy-channels-channelname-sddl"></a>**Policy/Channels/_ChannelName_/SDDL** <a href="" id="policy-channels-channelname-sddl"></a>**Policy/Channels/_ChannelName_/SDDL**
Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting represents SDDL string controlling access to the channel. Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting represents SDDL string controlling access to the channel.
Supported operations are Add, Delete, Get, and Replace. Supported operations are Add, Delete, Get, and Replace.
@ -519,7 +522,7 @@ The data type is string.
Default string is as follows: Default string is as follows:
https://docs.microsoft.com/windows/desktop/WES/eventmanifestschema-channeltype-complextype. https://docs.microsoft.com/windows/desktop/WES/eventmanifestschema-channeltype-complextype.
Add **SDDL** Add **SDDL**
``` xml ``` xml
@ -608,14 +611,14 @@ Replace **SDDL**
</SyncML> </SyncML>
``` ```
<a href="" id="policy-channels-channelname-actionwhenfull"></a>**Policy/Channels/_ChannelName_/ActionWhenFull** <a href="" id="policy-channels-channelname-actionwhenfull"></a>**Policy/Channels/_ChannelName_/ActionWhenFull**
Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting controls Event Log behavior when the log file reaches its maximum size. Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting controls Event Log behavior when the log file reaches its maximum size.
Supported operations are Add, Delete, Get, and Replace. Supported operations are Add, Delete, Get, and Replace.
The data type is string. The data type is string.
The following are the possible values: The following are the possible values:
- Truncate — When the log file reaches its maximum file size, new events are not written to the log and are lost. - Truncate — When the log file reaches its maximum file size, new events are not written to the log and are lost.
- Overwrite — When the log file reaches its maximum file size, new events overwrite old events. - Overwrite — When the log file reaches its maximum file size, new events overwrite old events.
- Archive — When the log file reaches its maximum size, the log file is saved to the location specified by the "Archive Location" policy setting. If archive location value is not set, the new file is saved in the same directory as current log file. - Archive — When the log file reaches its maximum size, the log file is saved to the location specified by the "Archive Location" policy setting. If archive location value is not set, the new file is saved in the same directory as current log file.
@ -709,14 +712,14 @@ Replace **ActionWhenFull**
</SyncML> </SyncML>
``` ```
<a href="" id="policy-channels-channelname-enabled"></a>**Policy/Channels/_ChannelName_/Enabled** <a href="" id="policy-channels-channelname-enabled"></a>**Policy/Channels/_ChannelName_/Enabled**
Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting specifies whether the channel should be enabled or disabled. Added in version 1.4 of the CSP in Windows 10, version 1903. This policy setting specifies whether the channel should be enabled or disabled.
Supported operations are Add, Delete, Get, and Replace. Supported operations are Add, Delete, Get, and Replace.
The data type is boolean. The data type is boolean.
The following are the possible values: The following are the possible values:
- TRUE — Enables the channel. - TRUE — Enables the channel.
- FALSE — Disables the channel. - FALSE — Disables the channel.
@ -828,22 +831,22 @@ The DiagnosticLog CSP maintains a log file for each collector node and the log f
For each collector node, the user can: For each collector node, the user can:
- Start or stop the session with all registered and enabled providers - Start or stop the session with all registered and enabled providers
- Query session status - Query session status
- Change trace log file mode - Change trace log file mode
- Change trace log file size limit - Change trace log file size limit
The configurations log file mode and log file size limit does not take effect while trace session is in progress. These are applied when user stops the current session and then starts it again for this collector. The configurations log file mode and log file size limit does not take effect while trace session is in progress. These are applied when user stops the current session and then starts it again for this collector.
For each registered provider in this collector, the user can: For each registered provider in this collector, the user can:
- Specify keywords to filter events from this provider - Specify keywords to filter events from this provider
- Change trace level to filter events from this provider - Change trace level to filter events from this provider
- Enable or disable the provider in the trace session - Enable or disable the provider in the trace session
The changes on **State**, **Keywords**, and **TraceLevel** takes effect immediately while trace session is in progress. The changes on **State**, **Keywords**, and **TraceLevel** takes effect immediately while trace session is in progress.
> [!Note] > [!NOTE]
> Microsoft-WindowsPhone-Enterprise-Diagnostics-Provider (GUID - 3da494e4-0fe2-415C-b895-fb5265c5c83b) has the required debug resource files built into Windows OS, which will allow the logs files to be decoded on the remote machine. Any other logs may not have the debug resources required to decode. > Microsoft-WindowsPhone-Enterprise-Diagnostics-Provider (GUID - 3da494e4-0fe2-415C-b895-fb5265c5c83b) has the required debug resource files built into Windows OS, which will allow the logs files to be decoded on the remote machine. Any other logs may not have the debug resources required to decode.
### Channel-based tracing ### Channel-based tracing
@ -864,34 +867,34 @@ For more information about using DiagnosticLog to collect logs remotely from a P
To gather diagnostics using this CSP: To gather diagnostics using this CSP:
1. Specify a *CollectorName* for the container of the target ETW providers. 1. Specify a *CollectorName* for the container of the target ETW providers.
2. (Optional) Set logging and log file parameters using the following options: 2. (Optional) Set logging and log file parameters using the following options:
- <a href="#etwlog-collectors-collectorname-tracelogfilemode">TraceLogFileMode</a> - <a href="#etwlog-collectors-collectorname-tracelogfilemode">TraceLogFileMode</a>
- <a href="#etwlog-collectors-collectorname-logfilesizelimitmb">LogFileSizeLimitMB</a> - <a href="#etwlog-collectors-collectorname-logfilesizelimitmb">LogFileSizeLimitMB</a>
3. Indicate one or more target ETW providers by supplying its *ProviderGUID* to the Add operation of EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*. 3. Indicate one or more target ETW providers by supplying its *ProviderGUID* to the Add operation of EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*.
4. (Optional) Set logging and log file parameters using the following options: 4. (Optional) Set logging and log file parameters using the following options:
- <a href="#etwlog-collectors-collectorname-providers-providerguid-tracelevel">TraceLevel</a> - <a href="#etwlog-collectors-collectorname-providers-providerguid-tracelevel">TraceLevel</a>
- <a href="#etwlog-collectors-collectorname-providers-providerguid-keywords">Keywords</a> - <a href="#etwlog-collectors-collectorname-providers-providerguid-keywords">Keywords</a>
5. Start logging using **TraceControl** EXECUTE command “START”. 5. Start logging using **TraceControl** EXECUTE command “START”.
6. Perform actions on the target device that will generate activity in the log files. 6. Perform actions on the target device that will generate activity in the log files.
7. Stop logging using **TraceControl** EXECUTE command “STOP”. 7. Stop logging using **TraceControl** EXECUTE command “STOP”.
8. Collect the log file located in the `%temp%` folder using the method described in [Reading a log file](#reading-a-log-file). 8. Collect the log file located in the `%temp%` folder using the method described in [Reading a log file](#reading-a-log-file).
The following section describes the nodes for EtwLog functionality. The following section describes the nodes for EtwLog functionality.
<a href="" id="etwlog"></a>**EtwLog** <a href="" id="etwlog"></a>**EtwLog**
Node to contain the Error Tracing for Windows log. Node to contain the Error Tracing for Windows log.
The supported operation is Get. The supported operation is Get.
<a href="" id="etwlog-collectors"></a>**EtwLog/Collectors** <a href="" id="etwlog-collectors"></a>**EtwLog/Collectors**
Interior node to contain dynamic child interior nodes for active providers. Interior node to contain dynamic child interior nodes for active providers.
The supported operation is Get. The supported operation is Get.
<a href="" id="etwlog-collectors-collectorname"></a>**EtwLog/Collectors/**<strong>*CollectorName*</strong> <a href="" id="etwlog-collectors-collectorname"></a>**EtwLog/Collectors/_CollectorName_**
Dynamic nodes to represent active collector configuration. Dynamic nodes to represent active collector configuration.
Supported operations are Add, Delete, and Get. Supported operations are Add, Delete, and Get.
@ -937,7 +940,7 @@ Delete a collector
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-collectors-collectorname-tracestatus"></a>**EtwLog/Collectors/*CollectorName*/TraceStatus** <a href="" id="etwlog-collectors-collectorname-tracestatus"></a>**EtwLog/Collectors/*CollectorName*/TraceStatus**
Specifies whether the current logging status is running. Specifies whether the current logging status is running.
The data type is an integer. The data type is an integer.
@ -947,11 +950,11 @@ The supported operation is Get.
The following table represents the possible values: The following table represents the possible values:
| Value | Description | | Value | Description |
|-------|-------------| | ----- | ----------- |
| 0 | Stopped | | 0 | Stopped |
| 1 | Started | | 1 | Started |
<a href="" id="etwlog-collectors-collectorname-tracelogfilemode"></a>**EtwLog/Collectors/*CollectorName*/TraceLogFileMode** <a href="" id="etwlog-collectors-collectorname-tracelogfilemode"></a>**EtwLog/Collectors/*CollectorName*/TraceLogFileMode**
Specifies the log file logging mode. Specifies the log file logging mode.
The data type is an integer. The data type is an integer.
@ -961,11 +964,11 @@ Supported operations are Get and Replace.
The following table lists the possible values: The following table lists the possible values:
| Value | Description | | Value | Description |
|-------|--------------------| | ----- | ------------------ |
| EVENT_TRACE_FILE_MODE_SEQUENTIAL (0x00000001) | Writes events to a log file sequentially; stops when the file reaches its maximum size. | | EVENT_TRACE_FILE_MODE_SEQUENTIAL (0x00000001) | Writes events to a log file sequentially; stops when the file reaches its maximum size. |
| EVENT_TRACE_FILE_MODE_CIRCULAR (0x00000002) | Writes events to a log file. After the file reaches the maximum size, the oldest events are replaced with incoming events. | | EVENT_TRACE_FILE_MODE_CIRCULAR (0x00000002) | Writes events to a log file. After the file reaches the maximum size, the oldest events are replaced with incoming events. |
<a href="" id="etwlog-collectors-collectorname-tracecontrol"></a>**EtwLog/Collectors/*CollectorName*/TraceControl** <a href="" id="etwlog-collectors-collectorname-tracecontrol"></a>**EtwLog/Collectors/*CollectorName*/TraceControl**
Specifies the logging and report action state. Specifies the logging and report action state.
The data type is a string. The data type is a string.
@ -973,9 +976,9 @@ The data type is a string.
The following table lists the possible values: The following table lists the possible values:
| Value | Description | | Value | Description |
|-------|--------------------| | ----- | ------------------ |
| START | Start log tracing. | | START | Start log tracing. |
| STOP | Stop log tracing | | STOP | Stop log tracing. |
The supported operation is Execute. The supported operation is Execute.
@ -1029,7 +1032,7 @@ Stop collector trace logging
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-collectors-collectorname-logfilesizelimitmb"></a>**EtwLog/Collectors/*CollectorName*/LogFileSizeLimitMB** <a href="" id="etwlog-collectors-collectorname-logfilesizelimitmb"></a>**EtwLog/Collectors/*CollectorName*/LogFileSizeLimitMB**
Sets the log file size limit, in MB. Sets the log file size limit, in MB.
The data type is an integer. The data type is an integer.
@ -1038,15 +1041,15 @@ Valid values are 1-2048. The default value is 4.
Supported operations are Get and Replace. Supported operations are Get and Replace.
<a href="" id="etwlog-collectors-collectorname-providers"></a>**EtwLog/Collectors/*CollectorName*/Providers** <a href="" id="etwlog-collectors-collectorname-providers"></a>**EtwLog/Collectors/*CollectorName*/Providers**
Interior node to contain dynamic child interior nodes for active providers. Interior node to contain dynamic child interior nodes for active providers.
The supported operation is Get. The supported operation is Get.
<a href="" id="etwlog-collectors-collectorname-providers-providerguid"></a>**EtwLog/Collectors/*CollectorName*/Providers/**<strong>*ProviderGUID*</strong> <a href="" id="etwlog-collectors-collectorname-providers-providerguid"></a>**EtwLog/Collectors/*CollectorName*/Providers/_ProviderGUID_**
Dynamic nodes to represent active provider configuration per provider GUID. Dynamic nodes to represent active provider configuration per provider GUID.
> [!Note] > [!NOTE]
> Microsoft-WindowsPhone-Enterprise-Diagnostics-Provider (GUID - 3da494e4-0fe2-415C-b895-fb5265c5c83b) has the required debug resource files built into Windows OS, which will allow the logs files to be decoded on the remote machine. Any other logs may not have the debug resources required to decode. > Microsoft-WindowsPhone-Enterprise-Diagnostics-Provider (GUID - 3da494e4-0fe2-415C-b895-fb5265c5c83b) has the required debug resource files built into Windows OS, which will allow the logs files to be decoded on the remote machine. Any other logs may not have the debug resources required to decode.
Supported operations are Add, Delete, and Get. Supported operations are Add, Delete, and Get.
@ -1092,7 +1095,7 @@ Delete a provider
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-collectors-collectorname-providers-providerguid-tracelevel"></a>**EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*/TraceLevel** <a href="" id="etwlog-collectors-collectorname-providers-providerguid-tracelevel"></a>**EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*/TraceLevel**
Specifies the level of detail included in the trace log. Specifies the level of detail included in the trace log.
The data type is an integer. The data type is an integer.
@ -1102,12 +1105,12 @@ Supported operations are Get and Replace.
The following table lists the possible values: The following table lists the possible values:
| Value | Description | | Value | Description |
|-------|--------------------| | ----- | ------------------ |
| 1 TRACE_LEVEL_CRITICAL | Abnormal exit or termination events | | 1 TRACE_LEVEL_CRITICAL | Abnormal exit or termination events |
| 2 TRACE_LEVEL_ERROR | Severe error events | | 2 TRACE_LEVEL_ERROR | Severe error events |
| 3 TRACE_LEVEL_WARNING | Warning events such as allocation failures | | 3 TRACE_LEVEL_WARNING | Warning events such as allocation failures |
| 4 TRACE_LEVEL_INFORMATION | Non-error events, such as entry or exit events | | 4 TRACE_LEVEL_INFORMATION | Non-error events, such as entry or exit events |
| 5 TRACE_LEVEL_VERBOSE | Detailed information | | 5 TRACE_LEVEL_VERBOSE | Detailed information |
Set provider **TraceLevel** Set provider **TraceLevel**
@ -1132,7 +1135,7 @@ Set provider **TraceLevel**
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-collectors-collectorname-providers-providerguid-keywords"></a>**EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*/Keywords** <a href="" id="etwlog-collectors-collectorname-providers-providerguid-keywords"></a>**EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*/Keywords**
Specifies the provider keywords to be used as MatchAnyKeyword for this provider. Specifies the provider keywords to be used as MatchAnyKeyword for this provider.
The data type is a string. The data type is a string.
@ -1156,7 +1159,7 @@ Get provider **Keywords**
</Target> </Target>
</Item> </Item>
</Get> </Get>
<Final/> <Final/>
</SyncBody> </SyncBody>
</SyncML> </SyncML>
``` ```
@ -1181,24 +1184,24 @@ Set provider **Keywords**
<Data>12345678FFFFFFFF</Data> <Data>12345678FFFFFFFF</Data>
</Item> </Item>
</Replace> </Replace>
<Final/> <Final/>
</SyncBody> </SyncBody>
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-collectors-collectorname-providers-providerguid-state"></a>**EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*/State** <a href="" id="etwlog-collectors-collectorname-providers-providerguid-state"></a>**EtwLog/Collectors/*CollectorName*/Providers/*ProviderGUID*/State**
Specifies if this provider is enabled in the trace session. Specifies if this provider is enabled in the trace session.
The data type is a boolean. The data type is a boolean.
Supported operations are Get and Replace. This change will be effective during active trace session. Supported operations are Get and Replace. This change will be effective during active trace session.
The following table lists the possible values: The following table lists the possible values:
| Value | Description | | Value | Description |
|-------|--------------------| | ----- | ------------------ |
| TRUE | Provider is enabled in the trace session. This is the default. | | TRUE | Provider is enabled in the trace session. This is the default. |
| FALSE | Provider is disabled in the trace session. | | FALSE | Provider is disabled in the trace session. |
Set provider **State** Set provider **State**
@ -1223,12 +1226,12 @@ Set provider **State**
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-channels"></a>**EtwLog/Channels** <a href="" id="etwlog-channels"></a>**EtwLog/Channels**
Interior node to contain dynamic child interior nodes for registered channels. Interior node to contain dynamic child interior nodes for registered channels.
The supported operation is Get. The supported operation is Get.
<a href="" id="etwlog-channels-channelname"></a>**EtwLog/Channels/**<strong>*ChannelName*</strong> <a href="" id="etwlog-channels-channelname"></a>**EtwLog/Channels/_ChannelName_**
Dynamic nodes to represent a registered channel. The node name must be a valid Windows event log channel name, such as "Microsoft-Client-Licensing-Platform%2FAdmin" Dynamic nodes to represent a registered channel. The node name must be a valid Windows event log channel name, such as "Microsoft-Client-Licensing-Platform%2FAdmin"
Supported operations are Add, Delete, and Get. Supported operations are Add, Delete, and Get.
@ -1274,7 +1277,7 @@ Delete a channel
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-channels-channelname-export"></a>**EtwLog/Channels/*ChannelName*/Export** <a href="" id="etwlog-channels-channelname-export"></a>**EtwLog/Channels/*ChannelName*/Export**
Node to trigger the command to export channel event data into the log file. Node to trigger the command to export channel event data into the log file.
The supported operation is Execute. The supported operation is Execute.
@ -1298,7 +1301,7 @@ Export channel event data
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-channels-channelname-filter"></a>**EtwLog/Channels/*ChannelName*/Filter** <a href="" id="etwlog-channels-channelname-filter"></a>**EtwLog/Channels/*ChannelName*/Filter**
Specifies the XPath query string to filter the events while exporting. Specifies the XPath query string to filter the events while exporting.
The data type is a string. The data type is a string.
@ -1326,7 +1329,7 @@ Get channel **Filter**
</SyncML> </SyncML>
``` ```
<a href="" id="etwlog-channels-channelname-state"></a>**EtwLog/Channels/*ChannelName*/State** <a href="" id="etwlog-channels-channelname-state"></a>**EtwLog/Channels/*ChannelName*/State**
Specifies if the Channel is enabled or disabled. Specifies if the Channel is enabled or disabled.
The data type is a boolean. The data type is a boolean.
@ -1335,10 +1338,10 @@ Supported operations are Get and Replace.
The following table lists the possible values: The following table lists the possible values:
| Value | Description | | Value | Description |
|-------|--------------------| | ----- | -------------------- |
| TRUE | Channel is enabled. | | TRUE | Channel is enabled. |
| FALSE | Channel is disabled. | | FALSE | Channel is disabled. |
Get channel **State** Get channel **State**
@ -1388,10 +1391,10 @@ The DeviceStateData functionality within the DiagnosticLog CSP provides addition
The following section describes the nodes for the DeviceStateData functionality. The following section describes the nodes for the DeviceStateData functionality.
<a href="" id="devicestatedata"></a>**DeviceStateData** <a href="" id="devicestatedata"></a>**DeviceStateData**
Added in version 1.3 of the CSP in Windows 10, version 1607. Node for all types of device state data that are exposed. Added in version 1.3 of the CSP in Windows 10, version 1607. Node for all types of device state data that are exposed.
<a href="" id="devicestatedata-mdmconfiguration"></a>**DeviceStateData/MdmConfiguration** <a href="" id="devicestatedata-mdmconfiguration"></a>**DeviceStateData/MdmConfiguration**
Added in version 1.3 of the CSP in Windows 10, version 1607. Triggers the snapping of device management state data with SNAP. Added in version 1.3 of the CSP in Windows 10, version 1607. Triggers the snapping of device management state data with SNAP.
The supported value is Execute. The supported value is Execute.
@ -1418,9 +1421,11 @@ The supported value is Execute.
``` ```
## FileDownload area ## FileDownload area
The FileDownload feature of the DiagnosticLog CSP enables a management server to pull data directly from the device. In the FileDownload context the client and server roles are conceptually reversed, with the management server acting as a client to download the data from the managed device. The FileDownload feature of the DiagnosticLog CSP enables a management server to pull data directly from the device. In the FileDownload context the client and server roles are conceptually reversed, with the management server acting as a client to download the data from the managed device.
### Comparing FileDownload and DiagnosticArchive ### Comparing FileDownload and DiagnosticArchive
Both the FileDownload and DiagnosticArchive features can be used to get data from the device to the management server, but they are optimized for different workflows. Both the FileDownload and DiagnosticArchive features can be used to get data from the device to the management server, but they are optimized for different workflows.
- FileDownload enables the management server to directly pull byte-level trace data from the managed device. The data transfer takes place through the existing OMA-DM/SyncML context. It is typically used together with the EtwLogs feature as part of an advanced monitoring or diagnostic flow. FileDownlod requires granular orchestration by the management server, but avoids the need for dedicated cloud storage. - FileDownload enables the management server to directly pull byte-level trace data from the managed device. The data transfer takes place through the existing OMA-DM/SyncML context. It is typically used together with the EtwLogs feature as part of an advanced monitoring or diagnostic flow. FileDownlod requires granular orchestration by the management server, but avoids the need for dedicated cloud storage.
@ -1428,16 +1433,16 @@ Both the FileDownload and DiagnosticArchive features can be used to get data fro
The following section describes the nodes for the FileDownload functionality. The following section describes the nodes for the FileDownload functionality.
<a href="" id="filedownload"></a>**FileDownload** <a href="" id="filedownload"></a>**FileDownload**
Node to contain child nodes for log file transportation protocols and corresponding actions. Node to contain child nodes for log file transportation protocols and corresponding actions.
<a href="" id="filedownload-dmchannel"></a>**FileDownload/DMChannel** <a href="" id="filedownload-dmchannel"></a>**FileDownload/DMChannel**
Node to contain child nodes using DM channel for transport protocol. Node to contain child nodes using DM channel for transport protocol.
<a href="" id="filedownload-dmchannel-filecontext"></a>**FileDownload/DMChannel/**<strong>*FileContext*</strong> <a href="" id="filedownload-dmchannel-filecontext"></a>**FileDownload/DMChannel/_FileContext_**
Dynamic interior nodes that represents per log file context. Dynamic interior nodes that represents per log file context.
<a href="" id="filedownload-dmchannel-filecontext-blocksizekb"></a>**FileDownload/DMChannel/*FileContext*/BlockSizeKB** <a href="" id="filedownload-dmchannel-filecontext-blocksizekb"></a>**FileDownload/DMChannel/*FileContext*/BlockSizeKB**
Sets the log read buffer, in KB. Sets the log read buffer, in KB.
The data type is an integer. The data type is an integer.
@ -1488,7 +1493,7 @@ Get **BlockSizeKB**
</SyncML> </SyncML>
``` ```
<a href="" id="filedownload-dmchannel-filecontext-blockcount"></a>**FileDownload/DMChannel/*FileContext*/BlockCount** <a href="" id="filedownload-dmchannel-filecontext-blockcount"></a>**FileDownload/DMChannel/*FileContext*/BlockCount**
Represents the total read block count for the log file. Represents the total read block count for the log file.
The data type is an integer. The data type is an integer.
@ -1514,7 +1519,7 @@ Get **BlockCount**
</SyncML> </SyncML>
``` ```
<a href="" id="filedownload-dmchannel-filecontext-blockindextoread"></a>**FileDownload/DMChannel/*FileContext*/BlockIndexToRead** <a href="" id="filedownload-dmchannel-filecontext-blockindextoread"></a>**FileDownload/DMChannel/*FileContext*/BlockIndexToRead**
Represents the read block start location. Represents the read block start location.
The data type is an integer. The data type is an integer.
@ -1567,7 +1572,7 @@ Set **BlockIndexToRead** at 1
</SyncML> </SyncML>
``` ```
<a href="" id="filedownload-dmchannel-filecontext-blockdata"></a>**FileDownload/DMChannel/*FileContext*/BlockData** <a href="" id="filedownload-dmchannel-filecontext-blockdata"></a>**FileDownload/DMChannel/*FileContext*/BlockData**
The data type is Base64. The data type is Base64.
The only supported operation is Get. The only supported operation is Get.
@ -1591,21 +1596,22 @@ Get **BlockData**
</SyncML> </SyncML>
``` ```
<a href="" id="filedownload-dmchannel-filecontext-datablocks"></a>**FileDownload/DMChannel/*FileContext*/DataBlocks** <a href="" id="filedownload-dmchannel-filecontext-datablocks"></a>**FileDownload/DMChannel/*FileContext*/DataBlocks**
Node to transfer the selected log file block to the DM server. Node to transfer the selected log file block to the DM server.
<a href="" id="filedownload-dmchannel-filecontext-datablocks-blocknumber"></a>**FileDownload/DMChannel/*FileContext*/DataBlocks/**<strong>*BlockNumber*</strong> <a href="" id="filedownload-dmchannel-filecontext-datablocks-blocknumber"></a>**FileDownload/DMChannel/*FileContext*/DataBlocks/_BlockNumber_**
The data type is Base64. The data type is Base64.
The supported operation is Get. The supported operation is Get.
### Reading a log file ### Reading a log file
To read a log file:
1. Enumerate log file under **./Vendor/MSFT/DiagnosticLog/FileDownload/DMChannel**. To read a log file:
2. Select a log file in the Enumeration result. 1. Enumerate log file under **./Vendor/MSFT/DiagnosticLog/FileDownload/DMChannel**.
3. Set **BlockSizeKB** per DM server payload limitation. 2. Select a log file in the Enumeration result.
4. Get **BlockCount** to determine total read request. 3. Set **BlockSizeKB** per DM server payload limitation.
5. Set **BlockIndexToRead** to initialize read start point. 4. Get **BlockCount** to determine total read request.
6. Get **BlockData** for upload log block. 5. Set **BlockIndexToRead** to initialize read start point.
7. Increase **BlockIndexToRead**. 6. Get **BlockData** for upload log block.
8. Repeat steps 5 to 7 until **BlockIndexToRead == (BlockIndexToRead 1)**. 7. Increase **BlockIndexToRead**.
8. Repeat steps 5 to 7 until **BlockIndexToRead == (BlockIndexToRead 1)**.

View File

@ -17,13 +17,13 @@ ms.date: 06/26/2017
The Provisioning configuration service provider is used for bulk user enrollment to an MDM service. The Provisioning configuration service provider is used for bulk user enrollment to an MDM service.
> **Note**  Bulk enrollment does not work when two factor authentication is enabled. > [!NOTE]
> Bulk enrollment does not work when two-factor authentication is enabled.
For bulk enrollment step-by-step guide, see [Bulk enrollment](bulk-enrollment-using-windows-provisioning-tool.md). For bulk enrollment step-by-step guide, see [Bulk enrollment](bulk-enrollment-using-windows-provisioning-tool.md).
The following shows the Provisioning configuration service provider in tree format. The following shows the Provisioning configuration service provider in tree format.
``` ```
./Vendor/MSFT/ProvisioningCommands ./Vendor/MSFT/ProvisioningCommands
ProvisioningCommands ProvisioningCommands
@ -40,43 +40,34 @@ ProvisioningCommands
----------------RestartRequired ----------------RestartRequired
----------------ContinueInstall ----------------ContinueInstall
``` ```
<a href="" id="--vendor-msft"></a>**./Vendor/MSFT**
<a href="" id="--vendor-msft"></a>**./Vendor/MSFT/ProvisioningCommands**
Root node for Provisioning CSP. Root node for Provisioning CSP.
<a href="" id="provisioning-enrollments"></a>**Provisioning/Enrollments** <a href="" id="provisioning-enrollments"></a>**Provisioning/Enrollments**
Node for defining bulk enrollment of users into an MDM service. Node for defining bulk enrollment of users into an MDM service.
<a href="" id="provisioning-enrollments-upn"></a>**Provisioning/Enrollments/**<strong>*UPN*</strong> <a href="" id="provisioning-enrollments-upn"></a>**Provisioning/Enrollments/_UPN_**
Unique identifier for the enrollment. For bulk enrollment, this must a service account that is allowed to enroll multiple users. Example, "generic-device@contoso.com" Unique identifier for the enrollment. For bulk enrollment, this must a service account that is allowed to enroll multiple users. Example, "generic-device@contoso.com"
<a href="" id="provisioning-enrollments-upn-discoveryservicefullurl"></a>**Provisioning/Enrollments/*UPN*/DiscoveryServiceFullURL** <a href="" id="provisioning-enrollments-upn-discoveryservicefullurl"></a>**Provisioning/Enrollments/*UPN*/DiscoveryServiceFullURL**
The full URL for the discovery service. The full URL for the discovery service.
<a href="" id="provisioning-enrollments-upn-secret"></a>**Provisioning/Enrollments/*UPN*/Secret** <a href="" id="provisioning-enrollments-upn-secret"></a>**Provisioning/Enrollments/*UPN*/Secret**
This information is dependent on the AuthPolicy being used. Possible values: This information is dependent on the AuthPolicy being used. Possible values:
- Password string for on-premises authentication enrollment - Password string for on-premises authentication enrollment
- Federated security token for federated enrollment - Federated security token for federated enrollment
- Certificate thumb print for certificated based enrollment - Certificate thumb print for certificated based enrollment
<a href="" id="provisioning-enrollments-upn-authpolicy"></a>**Provisioning/Enrollments/*UPN*/AuthPolicy** <a href="" id="provisioning-enrollments-upn-authpolicy"></a>**Provisioning/Enrollments/*UPN*/AuthPolicy**
Specifies the authentication policy used by the MDM service. Valid values: Specifies the authentication policy used by the MDM service. Valid values:
- OnPremise - OnPremise
- Certificate - Certificate
<a href="" id="provisioning-enrollments-upn-policyservicefullurl"></a>**Provisioning/Enrollments/*UPN*/PolicyServiceFullURL** <a href="" id="provisioning-enrollments-upn-policyservicefullurl"></a>**Provisioning/Enrollments/*UPN*/PolicyServiceFullURL**
Specifies the policy service URL. Specifies the policy service URL.
<a href="" id="provisioning-enrollments-upn-enrollmentservicefullurl"></a>**Provisioning/Enrollments/*UPN*/EnrollmentServiceFullURL** <a href="" id="provisioning-enrollments-upn-enrollmentservicefullurl"></a>**Provisioning/Enrollments/*UPN*/EnrollmentServiceFullURL**
Specifies the enrollment service URL. Specifies the enrollment service URL.

View File

@ -17,18 +17,17 @@ ms.date: 06/26/2017
The PROXY configuration service provider is used to configure proxy connections. The PROXY configuration service provider is used to configure proxy connections.
> **Note**  Use [CM\_ProxyEntries CSP](cm-proxyentries-csp.md) instead of PROXY CSP, which will be deprecated in a future release. > [!NOTE]
> Use [CM\_ProxyEntries CSP](cm-proxyentries-csp.md) instead of PROXY CSP, which will be deprecated in a future release.
This configuration service provider requires the ID\_CAP\_CSP\_FOUNDATION and ID\_CAP\_NETWORKING\_ADMIN capabilities to be accessed from a network configuration application. This configuration service provider requires the ID\_CAP\_CSP\_FOUNDATION and ID\_CAP\_NETWORKING\_ADMIN capabilities to be accessed from a network configuration application.
For the PROXY CSP, you cannot use the Replace command unless the node already exists. For the PROXY CSP, you cannot use the Replace command unless the node already exists.
The following shows the PROXY configuration service provider management object in tree format as used by OMA DM. The OMA Client Provisioning protocol is not supported by this configuration service provider. The following shows the PROXY configuration service provider management object in tree format as used by OMA DM. The OMA Client Provisioning protocol is not supported by this configuration service provider.
``` ```
./Vendor/MSFT ./Vendor/MSFT/Proxy
Proxy
----* ----*
--------ProxyId --------ProxyId
--------Name --------Name
@ -56,82 +55,73 @@ Proxy
------------Microsoft ------------Microsoft
----------------Guid ----------------Guid
``` ```
<a href="" id="--vendor-msft-proxy"></a>**./Vendor/MSFT/Proxy**
<a href="" id="--vendor-msft-proxy"></a>**./Vendor/MSFT/Proxy**
Root node for the proxy connection. Root node for the proxy connection.
<a href="" id="proxyname"></a>***ProxyName*** <a href="" id="proxyname"></a>***ProxyName***
Defines the name of a proxy connection. Defines the name of a proxy connection.
It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two proxy connections, use "PROXY0" and "PROXY1" as the element names. Any unique name can be used if desired (such as "GPRS-NAP"), but no spaces may appear in the name (use %20 instead). It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two proxy connections, use "PROXY0" and "PROXY1" as the element names. Any unique name can be used if desired (such as "GPRS-NAP"), but no spaces may appear in the name (use %20 instead).
The addition, update, and deletion of this sub-tree of nodes have be specified in a single atomic transaction. The addition, update, and deletion of this sub-tree of nodes have be specified in a single atomic transaction.
<a href="" id="proxyname-proxyid"></a>***ProxyName*/PROXYID** <a href="" id="proxyname-proxyid"></a>***ProxyName*/PROXYID**
Specifies the unique identifier of the proxy connection. Specifies the unique identifier of the proxy connection.
<a href="" id="proxyname-name"></a>***ProxyName*/NAME** <a href="" id="proxyname-name"></a>***ProxyName*/NAME**
Specifies the user-friendly name of the proxy connection. Specifies the user-friendly name of the proxy connection.
<a href="" id="proxyname-addr"></a>***ProxyName*/ADDR** <a href="" id="proxyname-addr"></a>***ProxyName*/ADDR**
Specifies the address of the proxy server. Specifies the address of the proxy server.
This value may be the network name of the server, or any other string (such as an IP address) used to uniquely identify the proxy connection. This value may be the network name of the server, or any other string (such as an IP address) used to uniquely identify the proxy connection.
<a href="" id="proxyname-addrtype"></a>***ProxyName*/ADDRTYPE** <a href="" id="proxyname-addrtype"></a>***ProxyName*/ADDRTYPE**
Specifies the type of address used to identify the proxy server. Specifies the type of address used to identify the proxy server.
The valid values are IPV4, IPV6, E164, ALPHA. The valid values are IPV4, IPV6, E164, ALPHA.
<a href="" id="proxyname-proxytype"></a>***ProxyName*/PROXYTYPE** <a href="" id="proxyname-proxytype"></a>***ProxyName*/PROXYTYPE**
Specifies the type of proxy connection. Specifies the type of proxy connection.
Depending on the ProxyID, the valid values are ISA, WAP, SOCKS, or NULL. Depending on the ProxyID, the valid values are ISA, WAP, SOCKS, or NULL.
<a href="" id="proxyname-ports"></a>***ProxyName*/Ports** <a href="" id="proxyname-ports"></a>***ProxyName*/Ports**
Node for port information. Node for port information.
<a href="" id="proxyname-ports-portname"></a>***ProxyName*/Ports/**<strong>*PortName*</strong> <a href="" id="proxyname-ports-portname"></a>***ProxyName*/Ports/_PortName_**
Defines the name of a port. Defines the name of a port.
It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two ports, use "PORT0" and "PORT1" as the element names. It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two ports, use "PORT0" and "PORT1" as the element names.
<a href="" id="proxyname-ports-portname-portnbr"></a>***ProxyName*/Ports/*PortName*/PortNbr** <a href="" id="proxyname-ports-portname-portnbr"></a>***ProxyName*/Ports/*PortName*/PortNbr**
Specifies the port number to be associated with the parent port. Specifies the port number to be associated with the parent port.
<a href="" id="proxyname-ports-portname-services"></a>***ProxyName*/Ports/*PortName*/Services** <a href="" id="proxyname-ports-portname-services"></a>***ProxyName*/Ports/*PortName*/Services**
Node for services information. Node for services information.
<a href="" id="proxyname-ports-services-servicename"></a>***ProxyName*/Ports/Services/**<strong>*ServiceName*</strong> <a href="" id="proxyname-ports-services-servicename"></a>***ProxyName*/Ports/Services/_ServiceName_**
Defines the name of a service. Defines the name of a service.
It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two services, use "SERVICE0" and "SERVICE1" as the element names. It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two services, use "SERVICE0" and "SERVICE1" as the element names.
<a href="" id="proxyname-ports-services-servicename-servicename"></a>***ProxyName*/Ports/Services/*ServiceName*/ServiceName** <a href="" id="proxyname-ports-services-servicename-servicename"></a>***ProxyName*/Ports/Services/*ServiceName*/ServiceName**
Specifies the protocol to be associated with the parent port. Specifies the protocol to be associated with the parent port.
One commonly used value is "HTTP". One commonly used value is "HTTP".
<a href="" id="proxyname-conrefs"></a>***ProxyName*/ConRefs** <a href="" id="proxyname-conrefs"></a>***ProxyName*/ConRefs**
Node for connection reference information Node for connection reference information
<a href="" id="proxyname-conrefs-conrefname"></a>***ProxyName*/ConRefs/**<strong>*ConRefName*</strong> <a href="" id="proxyname-conrefs-conrefname"></a>***ProxyName*/ConRefs/_ConRefName_**
Defines the name of a connection reference. Defines the name of a connection reference.
It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two connection references, use "CONREF0" and "CONREF1" as the element names. It is recommended that this element name is specified as a numbered node beginning at zero. For example, to provision two connection references, use "CONREF0" and "CONREF1" as the element names.
<a href="" id="proxyname-conrefs-conrefname-conref"></a>***ProxyName*/ConRefs/*ConRefName*/ConRef** <a href="" id="proxyname-conrefs-conrefname-conref"></a>***ProxyName*/ConRefs/*ConRefName*/ConRef**
Specifies one single connectivity object associated with the proxy connection. Specifies one single connectivity object associated with the proxy connection.
## Related topics ## Related topics
[Configuration service provider reference](configuration-service-provider-reference.md) [Configuration service provider reference](configuration-service-provider-reference.md)

View File

@ -16,13 +16,13 @@ ms.date: 02/23/2018
The Update configuration service provider enables IT administrators to manage and control the rollout of new updates. The Update configuration service provider enables IT administrators to manage and control the rollout of new updates.
> [!Note] > [!NOTE]
> The Update CSP functionality of 'AprrovedUpdates' is not recommended for managing desktop devices. To manage updates to desktop devices from Windows Update, see the [Policy CSP - Updates](policy-csp-update.md) documentation for the recommended policies. > The Update CSP functionality of 'AprrovedUpdates' is not recommended for managing desktop devices. To manage updates to desktop devices from Windows Update, see the [Policy CSP - Updates](policy-csp-update.md) documentation for the recommended policies.
The following shows the Update configuration service provider in tree format. The following shows the Update configuration service provider in tree format.
```./Vendor/MSFT ```
Update ./Vendor/MSFT/Update
----ApprovedUpdates ----ApprovedUpdates
--------Approved Update Guid --------Approved Update Guid
------------ApprovedTime ------------ApprovedTime
@ -50,7 +50,8 @@ Update
--------QualityUpdateStatus --------QualityUpdateStatus
--------FeatureUpdateStatus --------FeatureUpdateStatus
``` ```
<a href="" id="update"></a>**Update**
<a href="" id="update"></a>**./Vendor/MSFT/Update**
<p style="margin-left: 20px">The root node. <p style="margin-left: 20px">The root node.
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
@ -70,7 +71,7 @@ Update
<p style="margin-left: 20px">Supported operations are Get and Add. <p style="margin-left: 20px">Supported operations are Get and Add.
<a href="" id="approvedupdates-approved-update-guid"></a>**ApprovedUpdates/**<strong>*Approved Update Guid*</strong> <a href="" id="approvedupdates-approved-update-guid"></a>**ApprovedUpdates/_Approved Update Guid_**
<p style="margin-left: 20px">Specifies the update GUID. <p style="margin-left: 20px">Specifies the update GUID.
<p style="margin-left: 20px">To auto-approve a class of updates, you can specify the <a href="/previous-versions/windows/desktop/ff357803(v=vs.85)" data-raw-source="[Update Classifications](/previous-versions/windows/desktop/ff357803(v=vs.85))">Update Classifications</a> GUIDs. We strongly recommend to always specify the DefinitionsUpdates classification (E0789628-CE08-4437-BE74-2495B842F43B), which are used for anti-malware signatures. There are released periodically (several times a day). Some businesses may also want to auto-approve security updates to get them deployed quickly. <p style="margin-left: 20px">To auto-approve a class of updates, you can specify the <a href="/previous-versions/windows/desktop/ff357803(v=vs.85)" data-raw-source="[Update Classifications](/previous-versions/windows/desktop/ff357803(v=vs.85))">Update Classifications</a> GUIDs. We strongly recommend to always specify the DefinitionsUpdates classification (E0789628-CE08-4437-BE74-2495B842F43B), which are used for anti-malware signatures. There are released periodically (several times a day). Some businesses may also want to auto-approve security updates to get them deployed quickly.
@ -93,7 +94,7 @@ Update
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
<a href="" id="failedupdates-failed-update-guid"></a>**FailedUpdates/**<strong>*Failed Update Guid*</strong> <a href="" id="failedupdates-failed-update-guid"></a>**FailedUpdates/_Failed Update Guid_**
<p style="margin-left: 20px">Update identifier field of the UpdateIdentity GUID that represent an update that failed to download or install. <p style="margin-left: 20px">Update identifier field of the UpdateIdentity GUID that represent an update that failed to download or install.
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
@ -118,7 +119,7 @@ Update
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
<a href="" id="installedupdates-installed-update-guid"></a>**InstalledUpdates/**<strong>*Installed Update Guid*</strong> <a href="" id="installedupdates-installed-update-guid"></a>**InstalledUpdates/_Installed Update Guid_**
<p style="margin-left: 20px">UpdateIDs that represent the updates installed on a device. <p style="margin-left: 20px">UpdateIDs that represent the updates installed on a device.
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
@ -133,7 +134,7 @@ Update
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
<a href="" id="installableupdates-installable-update-guid"></a>**InstallableUpdates/**<strong>*Installable Update Guid*</strong> <a href="" id="installableupdates-installable-update-guid"></a>**InstallableUpdates/_Installable Update Guid_**
<p style="margin-left: 20px">Update identifiers that represent the updates applicable and not installed on a device. <p style="margin-left: 20px">Update identifiers that represent the updates applicable and not installed on a device.
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
@ -141,9 +142,9 @@ Update
<a href="" id="installableupdates-installable-update-guid-type"></a>**InstallableUpdates/*Installable Update Guid*/Type** <a href="" id="installableupdates-installable-update-guid-type"></a>**InstallableUpdates/*Installable Update Guid*/Type**
<p style="margin-left: 20px">The UpdateClassification value of the update. Valid values are: <p style="margin-left: 20px">The UpdateClassification value of the update. Valid values are:
- 0 - None - 0 - None
- 1 - Security - 1 - Security
- 2 = Critical - 2 - Critical
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
@ -157,7 +158,7 @@ Update
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
<a href="" id="pendingrebootupdates-pending-reboot-update-guid"></a>**PendingRebootUpdates/**<strong>*Pending Reboot Update Guid*</strong> <a href="" id="pendingrebootupdates-pending-reboot-update-guid"></a>**PendingRebootUpdates/_Pending Reboot Update Guid_**
<p style="margin-left: 20px">Update identifiers for the pending reboot state. <p style="margin-left: 20px">Update identifiers for the pending reboot state.
<p style="margin-left: 20px">Supported operation is Get. <p style="margin-left: 20px">Supported operation is Get.
@ -188,26 +189,25 @@ Added in Windows 10, version 1803. Node for the rollback operations.
<a href="" id="rollback-qualityupdate"></a>**Rollback/QualityUpdate** <a href="" id="rollback-qualityupdate"></a>**Rollback/QualityUpdate**
Added in Windows 10, version 1803. Roll back latest Quality Update, if the machine meets the following conditions: Added in Windows 10, version 1803. Roll back latest Quality Update, if the machine meets the following conditions:
- Condition 1: Device must be Windows Update for Business Connected - Condition 1: Device must be Windows Update for Business Connected
- Condition 2: Device must be in a Paused State - Condition 2: Device must be in a Paused State
- Condition 3: Device must have the Latest Quality Update installed on the device (Current State) - Condition 3: Device must have the Latest Quality Update installed on the device (Current State)
If the conditions are not true, the device will not Roll Back the Latest Quality Update. If the conditions are not true, the device will not Roll Back the Latest Quality Update.
<a href="" id="rollback-featureupdate"></a>**Rollback/FeatureUpdate** <a href="" id="rollback-featureupdate"></a>**Rollback/FeatureUpdate**
Added in Windows 10, version 1803. Roll Back Latest Feature Update, if the machine meets the following conditions: Added in Windows 10, version 1803. Roll Back Latest Feature Update, if the machine meets the following conditions:
- Condition 1: Device must be Windows Update for Business Connected - Condition 1: Device must be Windows Update for Business Connected
- Condition 2: Device must be in Paused State - Condition 2: Device must be in Paused State
- Condition 3: Device must have the Latest Feature Update Installed on the device (Current State) - Condition 3: Device must have the Latest Feature Update Installed on the device (Current State)
- Condition 4: Machine should be within the uninstall period - Condition 4: Machine should be within the uninstall period
> [!Note] > [!NOTE]
> This only works for Semi Annual Channel Targeted devices. > This only works for Semi-Annual Channel Targeted devices.
If the conditions are not true, the device will not Roll Back the Latest Feature Update. If the conditions are not true, the device will not Roll Back the Latest Feature Update.
<a href="" id="rollback-qualityupdatestatus"></a>**Rollback/QualityUpdateStatus** <a href="" id="rollback-qualityupdatestatus"></a>**Rollback/QualityUpdateStatus**
Added in Windows 10, version 1803. Returns the result of last RollBack QualityUpdate operation. Added in Windows 10, version 1803. Returns the result of last RollBack QualityUpdate operation.
@ -217,6 +217,3 @@ Added in Windows 10, version 1803. Returns the result of last RollBack FeatureUp
## Related topics ## Related topics
[Configuration service provider reference](configuration-service-provider-reference.md) [Configuration service provider reference](configuration-service-provider-reference.md)

View File

@ -18,9 +18,9 @@ ms.date: 06/26/2017
The Win32AppInventory configuration service provider is used to provide an inventory of installed applications on a device. The Win32AppInventory configuration service provider is used to provide an inventory of installed applications on a device.
The following shows the Win32AppInventory configuration service provider management objects in tree format as used by Open Mobile Alliance Device Management (OMA DM), OMA Client Provisioning, and Enterprise DM. The following shows the Win32AppInventory configuration service provider management objects in tree format as used by Open Mobile Alliance Device Management (OMA DM), OMA Client Provisioning, and Enterprise DM.
``` ```
./Vendor/MSFT ./Vendor/MSFT/Win32AppInventory
Win32AppInventory
----Win32InstalledProgram ----Win32InstalledProgram
--------InstalledProgram --------InstalledProgram
------------Name ------------Name
@ -32,40 +32,41 @@ Win32AppInventory
------------MsiProductCode ------------MsiProductCode
------------MsiPackageCode ------------MsiPackageCode
``` ```
<a href="" id="--vendor-msft-win32appinventory"></a>**./Vendor/MSFT/Win32AppInventory**
<a href="" id="--vendor-msft-win32appinventory"></a>**./Vendor/MSFT/Win32AppInventory**
The root node for the Win32AppInventory configuration service provider. The root node for the Win32AppInventory configuration service provider.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram"></a>**Win32InstalledProgram** <a href="" id="win32installedprogram"></a>**Win32InstalledProgram**
This represents an inventory of installed Win32 applications on the device. This represents an inventory of installed Win32 applications on the device.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram"></a>**Win32InstalledProgram/**<em>InstalledProgram</em> <a href="" id="win32installedprogram-installedprogram"></a>**Win32InstalledProgram/_InstalledProgram_**
A node that contains information for a specific application. A node that contains information for a specific application.
<a href="" id="win32installedprogram-installedprogram-name"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/Name** <a href="" id="win32installedprogram-installedprogram-name"></a>**Win32InstalledProgram/_InstalledProgram_/Name**
A string that specifies the name of the application. A string that specifies the name of the application.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram-publisher"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/Publisher** <a href="" id="win32installedprogram-installedprogram-publisher"></a>**Win32InstalledProgram/_InstalledProgram_/Publisher**
A string that specifies the publisher of the application. A string that specifies the publisher of the application.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram-version"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/Version** <a href="" id="win32installedprogram-installedprogram-version"></a>**Win32InstalledProgram/_InstalledProgram_/Version**
A string that specifies the version of the application. A string that specifies the version of the application.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram-language"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/Language** <a href="" id="win32installedprogram-installedprogram-language"></a>**Win32InstalledProgram/_InstalledProgram_/Language**
A string that specifies the language of the application. A string that specifies the language of the application.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram-regkey"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/RegKey** <a href="" id="win32installedprogram-installedprogram-regkey"></a>**Win32InstalledProgram/_InstalledProgram_/RegKey**
A string that specifies product code or registry subkey. A string that specifies product code or registry subkey.
For MSI-based applications this is the product code. For MSI-based applications this is the product code.
@ -74,32 +75,21 @@ For applications found in Add/Remove Programs, this is the registry subkey.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram-source"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/Source** <a href="" id="win32installedprogram-installedprogram-source"></a>**Win32InstalledProgram/_InstalledProgram_/Source**
A string that specifies where the application was discovered, such as MSI or Add/Remove Programs. A string that specifies where the application was discovered, such as MSI or Add/Remove Programs.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram-msiproductcode"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/MsiProductCode** <a href="" id="win32installedprogram-installedprogram-msiproductcode"></a>**Win32InstalledProgram/_InstalledProgram_/MsiProductCode**
A GUID that uniquely identifies a particular MSI product. A GUID that uniquely identifies a particular MSI product.
The supported operation is Get. The supported operation is Get.
<a href="" id="win32installedprogram-installedprogram-msipackagecode"></a>**Win32InstalledProgram/**<em>InstalledProgram</em>**/MsiPackageCode** <a href="" id="win32installedprogram-installedprogram-msipackagecode"></a>**Win32InstalledProgram/_InstalledProgram_/MsiPackageCode**
A GUID that identifies an MSI package. Multiple products can make up a single package. A GUID that identifies an MSI package. Multiple products can make up a single package.
The supported operation is Get. The supported operation is Get.
## Related topics ## Related topics
[Configuration service provider reference](configuration-service-provider-reference.md) [Configuration service provider reference](configuration-service-provider-reference.md)