Unable to create Win10 Image from scratch

I am new to Packer, and am just trying to get a Windows 10 Machine created locally with Packer and VMWare Workstation, but I can’t seem to get a WinRM connection.

I tried everything, and there are essentially no working examples I can find. I’ve pasted part of my debug log below hoping someone more familiar with Packer could help me.

D:\packer_templates\win10_dev>packer build -on-error=cleanup -debug ./win10_dev.json
2020/11/04 16:33:04 [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:04 Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:04 ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:04 Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:04 [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:04 Setting cache directory: D:\packer_templates\win10_dev\packer_cache
cannot determine if process is in background: Process background check error: not implemented yet
2020/11/04 16:33:04 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:04 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-builder-vmware-iso”}
2020/11/04 16:33:04 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:04 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:04 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:04 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:04 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:04 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:04 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:04 packer.exe plugin: args: string{“packer-builder-vmware-iso”}
2020/11/04 16:33:04 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:04 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:04 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:04 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:04 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:04 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:04 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-powershell”}
2020/11/04 16:33:04 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:05 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:05 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:05 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:05 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:05 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:05 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:05 packer.exe plugin: args: string{“packer-provisioner-powershell”}
2020/11/04 16:33:05 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:05 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:05 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:05 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:05 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:05 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:05 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-powershell”}
2020/11/04 16:33:05 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:05 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:05 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:05 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:05 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:05 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:05 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:05 packer.exe plugin: args: string{“packer-provisioner-powershell”}
2020/11/04 16:33:05 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:05 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:05 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:05 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:05 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:05 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:05 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-windows-restart”}
2020/11/04 16:33:05 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:05 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:05 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:05 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:05 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:05 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:05 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:05 packer.exe plugin: args: string{“packer-provisioner-windows-restart”}
2020/11/04 16:33:05 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:05 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:05 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:05 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:05 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:05 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:05 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-powershell”}
2020/11/04 16:33:06 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:06 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:06 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:06 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:06 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:06 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:06 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:06 packer.exe plugin: args: string{“packer-provisioner-powershell”}
2020/11/04 16:33:06 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:06 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:06 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:06 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:06 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:06 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:06 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-windows-restart”}
2020/11/04 16:33:06 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:06 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:06 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:06 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:06 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:06 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:06 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:06 packer.exe plugin: args: string{“packer-provisioner-windows-restart”}
2020/11/04 16:33:06 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:06 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:06 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:06 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:06 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:06 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:06 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-powershell”}
2020/11/04 16:33:07 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:07 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:07 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:07 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:07 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:07 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:07 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:07 packer.exe plugin: args: string{“packer-provisioner-powershell”}
2020/11/04 16:33:07 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:07 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:07 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:07 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:07 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:07 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:07 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-windows-restart”}
2020/11/04 16:33:07 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:07 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:07 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:07 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:07 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:07 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:07 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:07 packer.exe plugin: args: string{“packer-provisioner-windows-restart”}
2020/11/04 16:33:07 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:07 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:07 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:07 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:07 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:07 Creating plugin client for path: c:\packer\packer.exe
2020/11/04 16:33:07 Starting plugin: c:\packer\packer.exe string{“c:\packer\packer.exe”, “plugin”, “packer-provisioner-powershell”}
2020/11/04 16:33:08 Waiting for RPC address for: c:\packer\packer.exe
2020/11/04 16:33:08 packer.exe plugin: [INFO] Packer version: 1.6.5 [go1.15.3 windows amd64]
2020/11/04 16:33:08 packer.exe plugin: Checking ‘PACKER_CONFIG’ for a config file path
2020/11/04 16:33:08 packer.exe plugin: ‘PACKER_CONFIG’ not set; checking the default config file path
2020/11/04 16:33:08 packer.exe plugin: Attempting to open config file: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:08 packer.exe plugin: [WARN] Config file doesn’t exist: C:\Users\kraftc4\AppData\Roaming\packer.config
2020/11/04 16:33:08 packer.exe plugin: Setting cache directory: D:\packer_templates\win10_dev\packer_cache
2020/11/04 16:33:08 packer.exe plugin: args: string{“packer-provisioner-powershell”}
2020/11/04 16:33:08 packer.exe plugin: Plugin port range: [10000,25000]
2020/11/04 16:33:08 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/11/04 16:33:08 Received tcp RPC address for c:\packer\packer.exe: addr is 127.0.0.1:10000
2020/11/04 16:33:08 packer.exe plugin: Waiting for connection…
2020/11/04 16:33:08 packer.exe plugin: Serving a plugin connection…
2020/11/04 16:33:08 Preparing build: vmware-iso
Debug mode enabled. Builds will not be parallelized.
2020/11/04 16:33:08 Build debug mode: true
vmware-iso: output will be in this color.
2020/11/04 16:33:08 Force build: false

2020/11/04 16:33:08 On error: cleanup
2020/11/04 16:33:08 Debug enabled, so waiting for build to finish: vmware-iso
2020/11/04 16:33:08 Starting build run: vmware-iso
2020/11/04 16:33:08 Running builder: vmware-iso
2020/11/04 16:33:08 [INFO] (telemetry) Starting builder vmware-iso
2020/11/04 16:33:08 packer.exe plugin: Searching for file ‘C:/Program Files (x86)/VMware/VMware Workstation/vmware.exe’
2020/11/04 16:33:08 packer.exe plugin: Found file ‘C:/Program Files (x86)/VMware/VMware Workstation/vmware.exe’
2020/11/04 16:33:08 packer.exe plugin: Searching for file ‘C:/Program Files (x86)/VMware/VMware Workstation/vmrun.exe’
2020/11/04 16:33:08 packer.exe plugin: Found file ‘C:/Program Files (x86)/VMware/VMware Workstation/vmrun.exe’
2020/11/04 16:33:08 packer.exe plugin: Searching for file ‘C:/Program Files (x86)/VMware/VMware Workstation/vmware-vdiskmanager.exe’
2020/11/04 16:33:08 packer.exe plugin: Found file ‘C:/Program Files (x86)/VMware/VMware Workstation/vmware-vdiskmanager.exe’
2020/11/04 16:33:08 packer.exe plugin: VMware app path: C:/Program Files (x86)/VMware/VMware Workstation/vmware.exe
2020/11/04 16:33:08 packer.exe plugin: vmrun path: C:/Program Files (x86)/VMware/VMware Workstation/vmrun.exe
2020/11/04 16:33:08 packer.exe plugin: vdisk-manager path: C:/Program Files (x86)/VMware/VMware Workstation/vmware-vdiskmanager.exe
2020/11/04 16:33:08 packer.exe plugin: Detected VMware WS version: 12
2020/11/04 16:33:08 packer.exe plugin: Testing against vmware driver *common.Workstation10Driver, Success: true
==> vmware-iso: Pausing after run of step ‘StepPrepareTools’. Press enter to continue.
==> vmware-iso: Retrieving ISO
==> vmware-iso: Trying file:///D:/Software/en_windows_10_business_editions_version_2004_updated_may_2020_x64_dvd_aa8db2cc.iso
2020/11/04 16:33:10 packer.exe plugin: Acquiring lock for: file://D:/Software/en_windows_10_business_editions_version_2004_updated_may_2020_x64_dvd_aa8db2cc.iso?checksum=sha256%3Ab0e2cf6edafe669af0e0e4e0bc4a73c93fd309d36e4ea0114b4010c35835c660 (D:\packer_templates\win10_dev\packer_cache\b07434914fad7f82ad7257311aa07a8ee7b384ce.iso.lock)
==> vmware-iso: Trying file://D:/Software/en_windows_10_business_editions_version_2004_updated_may_2020_x64_dvd_aa8db2cc.iso?checksum=sha256%3Ab0e2cf6edafe669af0e0e4e0bc4a73c93fd309d36e4ea0114b4010c35835c660
==> vmware-iso: file://D:/Software/en_windows_10_business_editions_version_2004_updated_may_2020_x64_dvd_aa8db2cc.iso?checksum=sha256%3Ab0e2cf6edafe669af0e0e4e0bc4a73c93fd309d36e4ea0114b4010c35835c660 => D:/Software/en_windows_10_business_editions_version_2004_updated_may_2020_x64_dvd_aa8db2cc.iso
2020/11/04 16:33:23 packer.exe plugin: Leaving retrieve loop for ISO
==> vmware-iso: Pausing after run of step ‘StepDownload’. Press enter to continue.
==> vmware-iso: Configuring output and export directories…
==> vmware-iso: Pausing after run of step ‘StepOutputDir’. Press enter to continue.
==> vmware-iso: Creating floppy disk…
2020/11/04 16:33:25 packer.exe plugin: Floppy path: C:\Users\kraftc4\AppData\Local\Temp\1\packer986623787
2020/11/04 16:33:25 packer.exe plugin: Initializing block device backed by temporary file
2020/11/04 16:33:25 packer.exe plugin: Formatting the block device with a FAT filesystem…
2020/11/04 16:33:25 packer.exe plugin: Initializing FAT filesystem on block device
vmware-iso: Copying files flatly from floppy_files
2020/11/04 16:33:25 packer.exe plugin: Reading the root directory from the filesystem
vmware-iso: Copying file: ./answer_files/Autounattend.xml
vmware-iso: Copying file: ./scripts/winrmConfig.bat
vmware-iso: Done copying files from floppy_files
vmware-iso: Collecting paths from floppy_dirs
vmware-iso: Resulting paths from floppy_dirs :
vmware-iso: Done copying paths from floppy_dirs
==> vmware-iso: Pausing after run of step ‘StepCreateFloppy’. Press enter to continue.
2020/11/04 16:33:26 packer.exe plugin: No CD files specified. CD disk will not be made.
==> vmware-iso: Pausing after run of step ‘StepCreateCD’. Press enter to continue.
==> vmware-iso: Pausing after run of step ‘StepRemoteUpload’. Press enter to continue.
==> vmware-iso: Pausing after run of step ‘StepRemoteUpload’. Press enter to continue.
==> vmware-iso: Pausing after run of step ‘StepRemoteUpload’. Press enter to continue.
==> vmware-iso: Creating required virtual machine disks
2020/11/04 16:33:28 packer.exe plugin: [INFO] Creating disk with Path: output-vmware-iso\disk.vmdk and Size: 40960M
2020/11/04 16:33:28 packer.exe plugin: Executing: C:/Program Files (x86)/VMware/VMware Workstation/vmware-vdiskmanager.exe -c -s 40960M -a lsilogic -t 0 output-vmware-iso\disk.vmdk
2020/11/04 16:33:28 packer.exe plugin: stdout: Creating disk ‘output-vmware-iso\disk.vmdk’
2020/11/04 16:33:28 packer.exe plugin: Virtual disk creation successful.
2020/11/04 16:33:28 packer.exe plugin: stderr:
==> vmware-iso: Pausing after run of step ‘StepCreateDisks’. Press enter to continue.
==> vmware-iso: Building and writing VMX file
2020/11/04 16:33:29 packer.exe plugin: Searching for file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:33:29 packer.exe plugin: Found file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:33:29 packer.exe plugin: Located networkmapper configuration file using Workstation: C:/ProgramData/VMware/netmap.conf
2020/11/04 16:33:29 packer.exe plugin: Writing VMX to: output-vmware-iso\Win10_2004.vmx
==> vmware-iso: Pausing after run of step ‘stepCreateVMX’. Press enter to continue.
2020/11/04 16:33:30 packer.exe plugin: Configuring VMX…
2020/11/04 16:33:30 packer.exe plugin: Floppy path present, setting in VMX
2020/11/04 16:33:30 packer.exe plugin: Writing VMX to: output-vmware-iso\Win10_2004.vmx
==> vmware-iso: Pausing after run of step ‘StepConfigureVMX’. Press enter to continue.
2020/11/04 16:33:30 packer.exe plugin: Suppressing messages in VMX
==> vmware-iso: Pausing after run of step ‘StepSuppressMessages’. Press enter to continue.
2020/11/04 16:33:31 packer.exe plugin: Searching for file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:33:31 packer.exe plugin: Found file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:33:31 packer.exe plugin: Located networkmapper configuration file using Workstation: C:/ProgramData/VMware/netmap.conf
2020/11/04 16:33:31 packer.exe plugin: HostIP discovered device matching nat: vmnet8
2020/11/04 16:33:31 packer.exe plugin: Searching for file ‘C:/ProgramData/VMware/vmnetdhcp.conf’
2020/11/04 16:33:31 packer.exe plugin: Found file ‘C:/ProgramData/VMware/vmnetdhcp.conf’
2020/11/04 16:33:31 packer.exe plugin: Host IP for the VMware machine: 192.168.139.1
==> vmware-iso: Pausing after run of step ‘StepHTTPIPDiscover’. Press enter to continue.
2020/11/04 16:33:32 packer.exe plugin: Found available port: 8245 on IP: 0.0.0.0
==> vmware-iso: Starting HTTP server on port 8245
==> vmware-iso: Pausing after run of step ‘StepHTTPServer’. Press enter to continue.
2020/11/04 16:33:32 packer.exe plugin: Looking for available port between 5900 and 6000
2020/11/04 16:33:32 packer.exe plugin: Found available port: 5948 on IP: 127.0.0.1
2020/11/04 16:33:32 packer.exe plugin: Found available VNC port: 127.0.0.1:5948
2020/11/04 16:33:32 packer.exe plugin: Writing VMX to: output-vmware-iso\Win10_2004.vmx
==> vmware-iso: Pausing after run of step ‘StepConfigureVNC’. Press enter to continue.
==> vmware-iso: Pausing after run of step ‘StepRegister’. Press enter to continue.
==> vmware-iso: Starting virtual machine…
2020/11/04 16:33:34 packer.exe plugin: Executing: C:/Program Files (x86)/VMware/VMware Workstation/vmrun.exe -T ws start output-vmware-iso\Win10_2004.vmx gui
2020/11/04 16:33:42 packer.exe plugin: stdout:
2020/11/04 16:33:42 packer.exe plugin: stderr:
==> vmware-iso: Pausing after run of step ‘StepRun’. Press enter to continue.
==> vmware-iso: Connecting to VNC…
==> vmware-iso: Pausing after run of step ‘StepVNCConnect’. Press enter to continue.
==> vmware-iso: Waiting 5s for boot…
==> vmware-iso: Typing the boot command over VNC…
==> vmware-iso: Pausing after run of step 'boot_command: '. Press enter to continue.
==> vmware-iso: Pausing after run of step ‘StepVNCBootCommand’. Press enter to continue.
2020/11/04 16:34:00 packer.exe plugin: Searching for file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:34:00 packer.exe plugin: Found file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:34:00 packer.exe plugin: Located networkmapper configuration file using Workstation: C:/ProgramData/VMware/netmap.conf
2020/11/04 16:34:00 packer.exe plugin: GuestIP discovered device matching nat: vmnet8
2020/11/04 16:34:00 packer.exe plugin: Lookup up IP information…
2020/11/04 16:34:00 packer.exe plugin: GuestAddress found MAC address in VMX: 00:0c:29:fd:cd:19
2020/11/04 16:34:00 packer.exe plugin: Trying DHCP leases path: C:/ProgramData/VMware/vmnetdhcp.leases
2020/11/04 16:34:00 packer.exe plugin: Unable to find an exact match for DHCP lease. Falling back to a loose match for hw address 00:0c:29:fd:cd:19
2020/11/04 16:34:00 packer.exe plugin: IP lookup failed: None of the found device(s) [vmnet8] has a DHCP lease for MAC 00:0c:29:fd:cd:19
==> vmware-iso: Waiting for WinRM to become available…
2020/11/04 16:34:00 packer.exe plugin: [DEBUG] Unable to get address during connection step: IP lookup failed: None of the found device(s) [vmnet8] has a DHCP lease for MAC 00:0c:29:fd:cd:19
2020/11/04 16:34:00 packer.exe plugin: Waiting for WinRM, up to timeout: 4h0m0s
2020/11/04 16:34:00 packer.exe plugin: Searching for file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:34:00 packer.exe plugin: Found file ‘C:/ProgramData/VMware/netmap.conf’
2020/11/04 16:34:00 packer.exe plugin: Located networkmapper configuration file using Workstation: C:/ProgramData/VMware/netmap.conf
2020/11/04 16:34:00 packer.exe plugin: GuestIP discovered device matching nat: vmnet8
2020/11/04 16:34:00 packer.exe plugin: Lookup up IP information…
2020/11/04 16:34:00 packer.exe plugin: GuestAddress found MAC address in VMX: 00:0c:29:fd:cd:19
2020/11/04 16:34:00 packer.exe plugin: Trying DHCP leases path: C:/ProgramData/VMware/vmnetdhcp.leases
2020/11/04 16:34:00 packer.exe plugin: Unable to find an exact match for DHCP lease. Falling back to a loose match for hw address 00:0c:29:fd:cd:19

Your autounattend.xml needs to handle setting up WinRM.

You can either just splat it straight into your autounattend like in this example: https://github.com/joefitzgerald/packer-windows/blob/master/answer_files/10/Autounattend.xml#L145-L257

Or you can use a powershell script that you call from an autounattend like in this example: https://github.com/chef/bento/blob/master/packer_templates/windows/scripts/base_setup.ps1