Module 5: Configuring the VM for Credentialed Scans


Part 1: Prepare the Windows 11 VM for Credentialed Scans

  1. Enable Remote Registry:

    • On your Windows 11 VM, open the Run dialog by pressing Win + R, type services.msc, and press Enter.

    • Find Remote Registry in the list of services, right-click it, and select Properties.

    • Set the Startup type to Automatic, then click Start to enable it. Click OK to save and close.

  2. Enable File and Printer Sharing:

    • Open Control Panel on the VM, go to Network and Sharing Center, then Change advanced sharing settings.

    • Under Private and Public network profiles, ensure Turn on file and printer sharing is selected.

    • Close the settings window once enabled.

  3. Disable User Account Control (UAC):

    • Open the Run dialog again, type UserAccountControlSettings.exe, and press Enter.

    • Move the slider to Never Notify and click OK to disable UAC. (Note: Disabling UAC is only recommended for lab environments, as it reduces security.)

  4. Add a Registry Key for Remote Access:

    • Press Win + R, type regedit, and press Enter to open the Registry Editor.

    • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.

    • Right-click in the right pane, select New > DWORD (32-bit) Value, and name it LocalAccountTokenFilterPolicy.

    • Set the value of LocalAccountTokenFilterPolicy to 1 by double-clicking it and entering 1 in the Value data field.

    • Close the Registry Editor and restart the virtual machine to apply these settings.