UnattendedWinstall icon indicating copy to clipboard operation
UnattendedWinstall copied to clipboard

winget require powershell credentials when fresh install Windows

Open phjtieudoc opened this issue 1 year ago • 3 comments

I fresh install Windows 10 June 2024 Update with Standard version of UnattendedWinstall on a VMWare, when I use CTT to install with Winget, the PowerShell menu dispalyed a popup that require "attempt installation with specific user credentials", that's weird since I fresh install with a fresh ISO, and the old version of UWinstall with the same ISO, the Winget work just fine. I don't know what to type since it always say wrong password.

image image

phjtieudoc avatar Aug 09 '24 08:08 phjtieudoc

Hi, I think it's related to User Account Control Settings.

Please Run this in CMD or PowerShell and restart your PC then test again.

:: Enables User Account Control (Default Value)
reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 3 /f ```

memstechtips avatar Aug 09 '24 10:08 memstechtips

look like it's didn't work for me. image

phjtieudoc avatar Aug 17 '24 16:08 phjtieudoc

@phjtieudoc You should execute the command without the ```entries, probably a copy paste mistake. So, it would be: reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 3 /f

Tip: This must be run as admin

felipedamata avatar Aug 22 '24 12:08 felipedamata