Skip to content

Commit 4cb642d

Browse files
authored
Merge pull request #270585 from RoseHJM/mdb-faq-updates
MDB - reduce content
2 parents 471a4e4 + 6d6b38a commit 4cb642d

File tree

3 files changed

+33
-47
lines changed

3 files changed

+33
-47
lines changed

articles/dev-box/concept-dev-box-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ To determine the best region to host the dev boxes, you can let dev box users ta
7272

7373
### Microsoft Intune integration
7474

75-
Microsoft Intune is used to manage your dev boxes. After a dev box is provisioned, you can manage it like any other Windows device in Microsoft Intune. For example, you can create [device configuration profiles](/mem/intune/configuration/device-profiles) to turn different settings on and off in Windows, or push apps and updates to your users’ dev boxes.
75+
Microsoft Intune is used to manage your dev boxes. Every Dev Box user needs one Microsoft Intune license and can create multiple dev boxes. After a dev box is provisioned, you can manage it like any other Windows device in Microsoft Intune. For example, you can create [device configuration profiles](/mem/intune/configuration/device-profiles) to turn different settings on and off in Windows, or push apps and updates to your users’ dev boxes.
7676

7777
Microsoft Intune and associated Windows components have various [network endpoints](/mem/intune/fundamentals/intune-endpoints) that must be allowed through the Virtual Network. Apple and Android endpoints can be safely ignored if you don’t use Microsoft Intune for managing those device types.
7878

articles/dev-box/dev-box-faq.yml

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -18,48 +18,17 @@ summary: This article provides answers to some of the most commonly asked questi
1818
sections:
1919
- name: General FAQ
2020
questions:
21-
- question: How many Microsoft Intune licenses do I need for Dev Box?
22-
answer: Every Dev Box user needs one Microsoft Intune license and can create multiple dev boxes.
23-
24-
- question: Which repository providers does Dev Box support?
25-
answer: Dev Box supports GitHub, Azure Repos, and Bitbucket repositories to provide an image gallery for Dev Box.
26-
For more information, see [Configure Azure Compute Gallery for Microsoft Dev Box](how-to-configure-azure-compute-gallery.md)
27-
28-
- question: Dev boxes that I create from my custom image take an hour to provision and up to 30 minutes to start. How do I make provisioning and startup faster? # Question.
29-
answer: |
30-
When you create a generalized VM to capture to an image, the following issues can affect provisioning and startup times:
31-
1. Enable the Read/Write cache on the OS disk.
32-
- To verify, open the Azure portal and navigate to the image. Select **JSON view**, and make sure `properties.storageProfile.osDisk.caching` value is `ReadWrite`.
33-
2. Create the image using the following sysprep options:
34-
`/generalize /oobe /mode:vm`.
35-
- These options prevent a lengthy search for and installation of drivers during the first boot.
36-
3. Enable nested virtualization in your base image.
37-
- In the UI, open **Turn Windows features on or off** and select **Virtual Machine Platform**.
38-
- Or run the following PowerShell command, Enable-WindowsOptionalFeature -FeatureName VirtualMachinePlatform -Online
39-
4. Disable the reserved storage state feature in the image by using the following command:
40-
`DISM.exe /Online /Set-ReservedStorageState /State:Disabled`.
41-
42-
For more information, see: [Compute gallery image requirements](how-to-configure-azure-compute-gallery.md#compute-gallery-image-requirements).
43-
4421
- question: Why does it take 25 minutes or more to provision a dev box?
4522
answer: The provisioning process for a dev box involves interacting with several services, including authenticating with Microsoft Entra ID. The new dev box must be created, initiate networking connectivity services, authenticate to and join the Microsoft Entra ID, register with Intune, and check for any Microsoft Entra security requirements. Depending on the complexity of the dev box definition, there might also be installation and configuration tasks on the dev box itself to provide you with the environment you need to start work. When your dev box is fully provisioned, it's running, ready for you to sign in.
4623

47-
- question: Where should I create my Dev Center, Projects and Pools for my team for optimal performance?
24+
- question: Where should I create my Dev Center, Projects and Pools for optimal performance?
4825
answer: |
4926
Your Dev Center and Projects are generally created where your resources are located. For example, if your headquarters is in California, we would recommend the West US region.
5027
5128
For optimal latency, we recommend creating pools close to the developer's physical location. For example, if a developer is based in India, we recommend creating a dev box in the Central India region. This is generally thought of as a best practice to improve typing speeds as developers work within their dev boxes.
5229
5330
Developers primarily spend their time typing and moving their mouse within their Dev Box. We recommend optimizing for typing latency, since these actions affect development teams the most.
54-
55-
- question: Can I look up in which regions I should create my pools?
56-
answer: |
57-
Whether you're creating a new pool, or choosing a pool for creating a dev box, it's important to optimize for latency and performance. It can be difficult to determine the optimal region for developers to host their dev boxes.
58-
59-
For best results, we recommend that admins ask the developers to use the [Azure Virtual Desktop Experience Estimator](https://aka.ms/avd-estimator). This tool estimates the connection round trip time (RTT) from the developer's physical location, through the Azure Virtual Desktop service, to each Azure region in which you can deploy your dev box. The highlighted region is the region with the lowest RTT from your current location. This is the region where the developer experiences optimal connectivity.
6031
61-
If there isn't a pool for that region yet, we recommend that you create a new pool for that region or for the next best option according to the estimator.
62-
6332
- question: How are backup, high-availability, and disaster recovery implemented in Microsoft Dev Box?
6433
answer: |
6534
Microsoft Intune provides backup functionality for dev boxes. It automatically sets regular restore points, and enables you to create a manual restore point, just as you would for a [Cloud PC](/windows-365/enterprise/create-manual-restore-point).
@@ -68,22 +37,22 @@ sections:
6837
Dev Box doesn't provide high-availability and disaster recovery functions. If there's an Azure regional outage, customers lose access to Dev Box in that region. They must implement manual disaster recovery and re-create new Dev Boxes.
6938
Customers should design and implement high-availability and disaster recovery solutions that suit their requirements.
7039
71-
- question: What is the preferred monitoring solution for capturing metrics, usage, number of dev boxes assigned per developer, and so on?
40+
- question: What is the preferred monitoring solution?
7241
answer: |
7342
- Project admins can view dev box usage at pool level. Project admins can select a pool and see list of dev boxes that are currently in use.
7443
- For Dev Box connectivity metrics, use the [Cloud PC connection quality report (preview)](/windows-365/enterprise/report-cloud-pc-connection-quality). Dev Box is built on top of Cloud PC. So, you can see the connectivity health of each dev box by using the Cloud PC dashboard in the Microsoft Intune admin center.
7544
76-
- question: Can I use a smart card, or other device that connects to my physical machine with Dev Box?
45+
- question: Can I use a smart card, or other physical device with Dev Box?
7746
answer: Yes. Dev Box users can use smart card and other devices that are connected to the physical machine. Since Dev Box uses same RDP client as Azure Virtual Desktop, you can review following documentation to learn about all the different capabilities supported by RDP client. You can also review RDP client capabilities on different operating systems.
7847
[Compare the features of remote desktop clients - Redirections comparison](../virtual-desktop/compare-remote-desktop-clients.md#redirections-comparison)
7948

80-
- question: What if I use Linux as my development environment?
49+
- question: Can I use Linux as my development environment?
8150
answer: Microsoft Dev Box supports Windows Subsystem for Linux (WSL) for Linux scenarios. This support enables users to use Linux environment alongside Windows tools. GitHub users who use VS Code for development can use GitHub Codespaces.
8251

8352
- question: What should I do when a network connection health check fails?
8453
answer: Dev Box service is built on top of Windows 365 Enterprise and uses the same [Azure network connection health checks](/windows-365/enterprise/health-checks). Such health checks ensure that Dev Box provisioning is successful and end-user experiences are optimal. If a health check fails, select *view details* to see what is causing the failure and address the issue from there. For example, your network policy might block the following service URLs and ports [Network requirements for Windows 365](/windows-365/enterprise/requirements-network?tabs=enterprise%2Cent#allow-network-connectivity).
8554

86-
- question: Is there a policy or a feature to prevent users copying data or code from the Dev Box to their laptop using the clipboard?
55+
- question: Can I prevent users copying data or code from the Dev Box to their laptop using the clipboard?
8756
answer: You can prevent users copying data or code from the Dev Box to their local machine by disabling the clipboard redirection feature in the RDP client. You can manage this setting through a device configuration policy in Microsoft Intune. For more information, see [RDP device redirection settings](/windows-365/enterprise/manage-rdp-device-redirections#rdp-device-redirection-settings).
8857

8958

articles/dev-box/how-to-configure-azure-compute-gallery.md

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.topic: how-to
1414

1515
In this article, you learn how to configure and attach an Azure compute gallery to a dev center in Microsoft Dev Box. With Azure Compute Gallery, you can give developers customized images for their dev box.
1616

17-
Azure Compute Gallery is a service for managing and sharing images. A gallery is a repository that's stored in your Azure subscription and helps you build structure and organization around your image resources.
17+
Azure Compute Gallery is a service for managing and sharing images. A gallery is a repository that's stored in your Azure subscription and helps you build structure and organization around your image resources. Dev Box supports GitHub, Azure Repos, and Bitbucket repositories to provide an image gallery.
1818

1919
After you attach a compute gallery to a dev center in Microsoft Dev Box, you can create dev box definitions based on images stored in the compute gallery.
2020

@@ -45,22 +45,22 @@ When you create a virtual machine (VM) image, select an image from the Azure Mar
4545
- [Visual Studio 2019](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio2019plustools?tab=Overview)
4646
- [Visual Studio 2022](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudioplustools?tab=Overview)
4747

48+
49+
### Image version requirements
50+
4851
The image version must meet the following requirements:
4952
- Generation 2
5053
- Hyper-V v2
5154
- Windows OS
52-
- Windows 10 Enterprise version 20H2 or later
53-
- Windows 11 Enterprise 21H2 or later
55+
- Windows 10 Enterprise version 20H2 or later
56+
- Windows 11 Enterprise 21H2 or later
5457
- Generalized VM image
55-
- You must create the image by using these three sysprep options: `/generalize /oobe /mode:vm`. For more information, see [Sysprep Command-Line Options](/windows-hardware/manufacture/desktop/sysprep-command-line-options?view=windows-11#modevm&preserve-view=true).
56-
- To speed up the dev box creation time:
57-
- Disable the reserved storage state feature in the image by using the following command: `DISM.exe /Online /Set-ReservedStorageState /State:Disabled`. For more information, see [DISM Storage reserve command-line options](/windows-hardware/manufacture/desktop/dism-storage-reserve?view=windows-11#set-reservedstoragestate&preserve-view=true).
58-
- Run `defrag` and `chkdsk` during image creation, wait for them to finish. And disable `chkdisk` and `defrag` scheduled task.
59-
- Single-session VM images (Multiple-session VM images aren't supported.)
58+
- For more information about creating a generalized image, see [Reduce provisioning and startup times](#reduce-provisioning-and-startup-times) for more information.
59+
- Single-session VM image (Multiple-session VM images aren't supported.)
6060
- No recovery partition
61-
For information about how to remove a recovery partition, see the [Windows Server command: delete partition](/windows-server/administration/windows-commands/delete-partition).
61+
- For information about how to remove a recovery partition, see the [Windows Server command: delete partition](/windows-server/administration/windows-commands/delete-partition).
6262
- Default 64-GB OS disk size
63-
The OS disk size is automatically adjusted to the size specified in the SKU description of the Windows 365 license.
63+
- The OS disk size is automatically adjusted to the size specified in the SKU description of the Windows 365 license.
6464
- The image definition must have [trusted launch enabled as the security type](../virtual-machines/trusted-launch.md). You configure the security type when you create the image definition.
6565

6666
:::image type="content" source="media/how-to-configure-azure-compute-gallery/image-definition.png" alt-text="Screenshot that shows Windows 365 image requirement settings.":::
@@ -69,6 +69,23 @@ The image version must meet the following requirements:
6969
> - Microsoft Dev Box image requirements exceed [Windows 365 image requirements](/windows-365/enterprise/device-images) and include settings to optimize dev box creation time and performance.
7070
> - Any image that doesn't meet Windows 365 requirements isn't shown in the list of images that are available for creation.
7171
72+
### Reduce provisioning and startup times
73+
74+
When you create a generalized VM to capture to an image, the following issues can affect provisioning and startup times:
75+
76+
1. Create the image by using these three sysprep options: `/generalize /oobe /mode:vm`.
77+
- These options prevent a lengthy search for and installation of drivers during the first boot. For more information, see [Sysprep Command-Line Options](/windows-hardware/manufacture/desktop/sysprep-command-line-options?view=windows-11#modevm&preserve-view=true).1. Enable the Read/Write cache on the OS disk.
78+
- To verify the cache is enabled, open the Azure portal and navigate to the image. Select **JSON view**, and make sure `properties.storageProfile.osDisk.caching` value is `ReadWrite`.
79+
80+
1. Enable nested virtualization in your base image:
81+
- In the UI, open **Turn Windows features on or off** and select **Virtual Machine Platform**.
82+
- Or run the following PowerShell command: `Enable-WindowsOptionalFeature -FeatureName VirtualMachinePlatform -Online`
83+
84+
1. Disable the reserved storage state feature in the image by using the following command: `DISM.exe /Online /Set-ReservedStorageState /State:Disabled`.
85+
- For more information, see [DISM Storage reserve command-line options](/windows-hardware/manufacture/desktop/dism-storage-reserve?view=windows-11#set-reservedstoragestate&preserve-view=true).
86+
87+
1. Run `defrag` and `chkdsk` during image creation, then disable the `chkdisk` and `defrag` scheduled tasks.
88+
7289
## Provide permissions for services to access a gallery
7390

7491
When you use an Azure Compute Gallery image to create a dev box definition, the Windows 365 service validates the image to ensure that it meets the requirements to be provisioned for a dev box. Microsoft Dev Box replicates the image to the regions specified in the attached network connections, so the images are present in the region required for dev box creation.

0 commit comments

Comments
 (0)