Skip to content

Commit 6584b11

Browse files
authored
Merge pull request #107776 from Ekta-Microsoft/patch-5
Update generalize.md
2 parents 2d40c74 + 616c20a commit 6584b11

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

articles/virtual-machines/generalize.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ Make sure the server roles running on the machine are supported by Sysprep. For
8181
>
8282
> If you plan to run Sysprep before uploading your virtual hard disk (VHD) to Azure for the first time, make sure you have [prepared your VM](./windows/prepare-for-upload-vhd-image.md).
8383
>
84-
> We do not support custom answer file in the sysprep step, hence you should not use the "/unattend:_answerfile_" switch with your sysprep command.
85-
>
84+
> We do not support custom answer file in the sysprep step, hence you should not use the "/unattend:_answerfile_" switch with your sysprep command.
85+
>
86+
> Azure platform mounts an ISO file to the DVD-ROM when a Windows VM is created from a generalized image. For this reason, the **DVD-ROM must be enabled in the OS in the generalized image**. If it is disabled, the Windows VM will be stuck at out-of-box experience (OOBE).
87+
8688

8789
To generalize your Windows VM, follow these steps:
8890

@@ -91,6 +93,13 @@ To generalize your Windows VM, follow these steps:
9193
2. Open a Command Prompt window as an administrator.
9294

9395
3. Delete the panther directory (C:\Windows\Panther).
96+
4. Verify if CD/DVD-ROM is enabled.If it is disabled, the Windows VM will be stuck at out-of-box experience (OOBE).
97+
```
98+
Registry key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cdrom\start (Value 4 = disabled, expected value 1 = automatic) Make sure it is set to 1.
99+
```
100+
> [!NOTE]
101+
> Verify if any policies applied restricting removable storage access (example: Computer configuration\Administrative Templates\System\Removable Storage Access\All Removable Storage classes: Deny all access)
102+
94103

95104
5. Then change the directory to %windir%\system32\sysprep, and then run:
96105
```

0 commit comments

Comments
 (0)