mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-19 16:57:23 +00:00
* Updated deployment-vdi-windows-defender-antivirus.md * Updated deployment-vdi-windows-defender-antivirus.md * Updated deployment-vdi-windows-defender-antivirus.md * updates for new vdi stuff * Adding important note to solve #3493 * Update windows/security/identity-protection/hello-for-business/hello-hybrid-key-whfb-settings-dir-sync.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * Typo "<"→"<", ">"→">" https://docs.microsoft.com/en-us/windows/application-management/manage-windows-mixed-reality * Issue #2297 * Update windows/security/identity-protection/hello-for-business/hello-identity-verification.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * Clarification * Update windows/security/identity-protection/hello-for-business/hello-identity-verification.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * Update windows/security/identity-protection/hello-for-business/hello-identity-verification.md Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * update troubleshoot-np.md * update configure-endpoints-gp.md * Removing a part which is not supported * Name change * update troubleshoot-np.md * removed on-premises added -hello * Added link into Domain controller guide * Line corections * corrected formatting of xml code samples When viewing the page in Win 10/Edge, the xml code samples stretched across the page, running into the side menu. The lack of line breaks also made it hard to read. This update adds line breaks and syntax highlighting, replaces curly double quotes with standard double quotes, and adds a closing tag for <appv:appconnectiongroup>for each code sample * Update windows/security/identity-protection/hello-for-business/hello-identity-verification.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * Update windows/deployment/update/waas-delivery-optimization-reference.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * Update windows/deployment/update/waas-delivery-optimization-reference.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * corrected formating of XML examples The XML samples here present the same formatting problems as in about-the-connection-group-file51.md (see https://github.com/MicrosoftDocs/windows-itpro-docs/pull/3847/) Perhaps we should open an issue to see if we have more versions of this code sample in the docs * corrected formatting of XML example section In the XML example on this page, the whitespace had been stripped out, so there were no spaces between adjacent attribute values or keys. This made it hard to read, though the original formatting allowed for a scroll bar, so the text was not running into the side of the page (compare to https://github.com/MicrosoftDocs/windows-itpro-docs/pull/3847 and https://github.com/MicrosoftDocs/windows-itpro-docs/pull/3850, where the uncorrected formatting forced the text to run into the side menu). * update configure-endpoints-gp.md * Fixed error in registry path and improved description * Update windows/security/identity-protection/hello-for-business/hello-hybrid-key-whfb-settings-dir-sync.md Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Removing extra line in 25 Suggested by * update windows-analytics-azure-portal.md * re: broken links, credential-guard-considerations Context: * #3513, MVA is being retired and producing broken links * #3860 Microsoft Virtual Academy video links This page contains two links to deprecated video content on Microsoft Virtual Academy (MVA). MVA is being retired. In addition, the Deep Dive course the two links point to is already retired, and no replacement course exists. I removed the first link, as I could not find a similar video available describing which credentials are covered by credential guard. I replaced the second link with a video containing similar material, though it is not a "deep dive". Suggestions on handling this problem, as many pages contain similar links, would be appreciated,. * removed link to retired video re: #3867 Context: * #3513, MVA is being retired and producing broken links * #3867, Microsoft Virtual Academy video links This page contains a broken link to deprecated video content on Microsoft Virtual Academy (MVA). MVA is being retired. In addition, the Deep Dive course is already retired, and no replacement course exists. I removed the whole _See Also_ section, as I could not find a video narrowly or deeply addressing how to protect privelaged users with Credential Guard. The most likely candidate is too short and general: https://www.linkedin.com/learning/cism-cert-prep-1-information-security-governance/privileged-account-management * addressing broken mva links, #3817 Context: * #3513, MVA is being retired and producing broken links * #3817, Another broken link This page contains two links to deprecated video content on Microsoft Virtual Academy (MVA). MVA is being retired. In addition, the Deep Dive course the two links point to is already retired, and no replacement course exists. I removed the first link, as we no longer have a video with similar content for a similar audience. The most likely candidate is https://www.linkedin.com/learning/programming-foundations-web-security-2/types-of-credential-attacks, which is more general and for a less technical audience. I removed the second link and the _See Also_ section, as I could not find a similar video narrowly focused on which credentials are covered by Credential Guard. Most of the related material available now describes how to perform a task. * Update deployment-vdi-windows-defender-antivirus.md * typo fix re: #3876; DMSA -> DSMA * Addressing dead MVA links, #3818 This page, like its fellows in the mva-links label, contains links to a retired video course on a website that is retiring soon. The links listed by the user in issue #3818 were also on several other pages, related to Credentials Guard. These links were addressed in the pull requests #3875, #3872, and #3871 Credentials threat & lateral threat link: removed (see PR #3875 for reasoning) Virtualization link: replaced (see #3871 for reasoning) Credentials protected link: removed (see #3872 for reasoning) * Adding notes for known issue in script Solves #3869 * Updated the download link admx files Windows 10 Added link for April 2018 and Oct 2018 ADMX files. * added event logs path Referenced : https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-exploit-guard/event-views-exploit-guard * Update browsers/internet-explorer/ie11-deploy-guide/administrative-templates-and-ie11.md Suggestions applied. Co-Authored-By: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com> * Update browsers/internet-explorer/ie11-deploy-guide/administrative-templates-and-ie11.md Co-Authored-By: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com> * Update deployment-vdi-windows-defender-antivirus.md * screenshot update * Add files via upload * update 4 scrrenshots * Update deployment-vdi-windows-defender-antivirus.md * Update browsers/internet-explorer/ie11-deploy-guide/administrative-templates-and-ie11.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * Update browsers/internet-explorer/ie11-deploy-guide/administrative-templates-and-ie11.md Co-Authored-By: Nicole Turner <39884432+nenonix@users.noreply.github.com> * Re: #3909 Top link is broken, #3909 > The link here does not work: > Applies to: Microsoft Defender Advanced Threat Protection (Microsoft Defender ATP) The link to the pdf describing MDATP was broken. Thankfully, PR #2897 updated the same link in another page some time ago, so I didn't have to go hunting for an equivalent * CI Update * Updated as per task 3405344 * Updated author * Update windows-analytics-azure-portal.md * added the example query * Updated author fields * Update office-csp.md * update video for testing * update video * Update surface-hub-site-readiness-guide.md line 134 Fixed video link MD formatting * fixing video url * updates from Albert * Bulk replaced author to manikadhiman * Bulk replaced ms.author to v-madhi * Latest content is published (#371) * Added 1903 policy DDF link and fixed a typo * Reverted the DDF version * Latest update (#375) * Update deployment-vdi-windows-defender-antivirus.md * Update deployment-vdi-windows-defender-antivirus.md
138 lines
6.3 KiB
Markdown
138 lines
6.3 KiB
Markdown
---
|
|
title: Use web services in MDT (Windows 10)
|
|
description: In this topic, you will learn how to create a simple web service that generates computer names and then configure MDT to use that service during your Windows 10 deployment.
|
|
ms.assetid: 8f47535e-0551-4ccb-8f02-bb97539c6522
|
|
ms.reviewer:
|
|
manager: laurawi
|
|
ms.author: greglin
|
|
keywords: deploy, web apps
|
|
ms.prod: w10
|
|
ms.mktglfcycl: deploy
|
|
ms.localizationpriority: medium
|
|
ms.pagetype: mdt
|
|
ms.sitesec: library
|
|
author: greg-lindsay
|
|
ms.date: 07/27/2017
|
|
ms.topic: article
|
|
---
|
|
|
|
# Use web services in MDT
|
|
|
|
In this topic, you will learn how to create a simple web service that generates computer names and then configure MDT to use that service during your Windows 10 deployment. Web services provide a powerful way to assign settings during a deployment. Simply put, web services are web applications that run code on the server side, and MDT has built-in functions to call these web services.
|
|
Using a web service in MDT is straightforward, but it does require that you have enabled the Web Server (IIS) role on the server. Developing web services involves a little bit of coding, but for most web services used with MDT, you can use the free Microsoft Visual Studio Express 2013 for Web.
|
|
|
|
## <a href="" id="sec01"></a>Create a sample web service
|
|
|
|
In these steps we assume you have installed Microsoft Visual Studio Express 2013 for Web on PC0001 (the Windows 10 client) and downloaded the [MDT Sample Web Service](https://go.microsoft.com/fwlink/p/?LinkId=619363) from the Microsoft Download Center and extracted it to C:\\Projects.
|
|
1. On PC0001, using Visual Studio Express 2013 for Web, open the C:\\Projects\\MDTSample\\ MDTSample.sln solution file.
|
|
2. On the ribbon bar, verify that Release is selected.
|
|
3. In the **Debug** menu, select the **Build MDTSample** action.
|
|
4. On MDT01, create a folder structure for **E:\\MDTSample\\bin**.
|
|
5. From PC0001, copy the C:\\Projects\\MDTSample\\obj\\Release\\MDTSample.dll file to the **E:\\MDTSample\\bin** folder on MDT01.
|
|
6. From PC0001, copy the following files from C:\\Projects\\MDTSample file to the **E:\\MDTSample** folder on MDT01:
|
|
1. Web.config
|
|
2. mdtsample.asmx
|
|
|
|

|
|
|
|
Figure 15. The sample project in Microsoft Visual Studio Express 2013 for Web.
|
|
|
|
## <a href="" id="sec02"></a>Create an application pool for the web service
|
|
|
|
This section assumes that you have enabled the Web Server (IIS) role on MDT01.
|
|
1. On MDT01, using Server Manager, install the **IIS Management Console** role (available under Web Server (IIS) / Management Tools).
|
|
2. Using Internet Information Services (IIS) Manager, expand the **MDT01 (CONTOSO\\Administrator)** node. If prompted with the "Do you want to get started with Microsoft Web Platform?" question, select the **Do not show this message** check box and then click **No**.
|
|
3. Right-click **Application Pools**, select **Add Application Pool**, and configure the new application pool with the following settings:
|
|
1. Name: MDTSample
|
|
2. .NET Framework version: .NET Framework 4.0.30319
|
|
3. Manage pipeline mode: Integrated
|
|
4. Select the **Start application pool immediately** check box.
|
|
5. Click **OK**.
|
|
|
|

|
|
|
|
Figure 16. The new MDTSample application.
|
|
|
|
## <a href="" id="sec03"></a>Install the web service
|
|
|
|
1. On MDT01, using Internet Information Services (IIS) Manager, expand **Sites**, right-click **Default Web Site**, and select **Add Application**. Use the following settings for the application:
|
|
1. Alias: MDTSample
|
|
2. Application pool: MDTSample
|
|
3. Physical Path: E:\\MDTSample
|
|
|
|

|
|
|
|
Figure 17. Adding the MDTSample web application.
|
|
|
|
2. In the **Default Web Site** node, select the MDTSample web application, and in the right pane, double-click **Authentication**. Use the following settings for the **Authentication** dialog box:
|
|
1. Anonymous Authentication: Enabled
|
|
2. ASP.NET Impersonation: Disabled
|
|
|
|

|
|
|
|
Figure 18. Configuring Authentication for the MDTSample web service.
|
|
|
|
## <a href="" id="sec04"></a>Test the web service in Internet Explorer
|
|
|
|
1. On PC0001, using Internet Explorer, navigate to: **http://MDT01/MDTSample/mdtsample.asmx**.
|
|
2. Click the **GetComputerName** link.
|
|
|
|

|
|
|
|
Figure 19. The MDT Sample web service.
|
|
3. On the **GetComputerName** page, type in the following settings, and click **Invoke**:
|
|
1. Model: Hewlett-Packard
|
|
2. SerialNumber: 123456789
|
|
|
|

|
|
|
|
Figure 20. The result from the MDT Sample web service.
|
|
|
|
## <a href="" id="sec05"></a>Test the web service in the MDT simulation environment
|
|
|
|
After verifying the web service using Internet Explorer, you are ready to do the same test in the MDT simulation environment.
|
|
|
|
1. On PC0001, edit the CustomSettings.ini file in the **C:\\MDT** folder to look like the following:
|
|
``` syntax
|
|
[Settings]
|
|
Priority=Default, GetComputerName
|
|
[Default]
|
|
OSInstall=YES
|
|
[GetComputerName]
|
|
WebService=http://mdt01/MDTSample/mdtsample.asmx/GetComputerName
|
|
Parameters=Model,SerialNumber
|
|
OSDComputerName=string
|
|
```
|
|

|
|
|
|
Figure 21. The updated CustomSettings.ini file.
|
|
|
|
2. Save the CustomSettings.ini file.
|
|
3. Using an elevated Windows PowerShell prompt (run as Administrator), run the following commands. Press **Enter** after each command:
|
|
``` syntax
|
|
Set-Location C:\MDT
|
|
.\Gather.ps1
|
|
```
|
|
4. Review the ZTIGather.log in the **C:\\MININT\\SMSOSD\\OSDLOGS** folder.
|
|
|
|

|
|
|
|
Figure 22. The OSDCOMPUTERNAME value obtained from the web service.
|
|
|
|
## Related topics
|
|
|
|
[Set up MDT for BitLocker](set-up-mdt-for-bitlocker.md)
|
|
|
|
[Configure MDT deployment share rules](configure-mdt-deployment-share-rules.md)
|
|
|
|
[Configure MDT for UserExit scripts](configure-mdt-for-userexit-scripts.md)
|
|
|
|
[Simulate a Windows 10 deployment in a test environment](simulate-a-windows-10-deployment-in-a-test-environment.md)
|
|
|
|
[Use the MDT database to stage Windows 10 deployment information](use-the-mdt-database-to-stage-windows-10-deployment-information.md)
|
|
|
|
[Assign applications using roles in MDT](assign-applications-using-roles-in-mdt.md)
|
|
|
|
[Use Orchestrator runbooks with MDT](use-orchestrator-runbooks-with-mdt.md)
|
|
|