pal1000 / Realtek-UAD-generic

An unofficial package of generic Realtek Universal Audio Driver made from parts of various OEM specific Reatek Universal Audio drivers intended to work on legacy systems lacking OEM UAD support.
1.05k stars 40 forks source link

Driver files in driver store file repository are not unlocked #110

Closed mozilla343 closed 2 years ago

mozilla343 commented 2 years ago

When I switch all security options in Windows Security app to off, then after reboot security alert pops up and asks if I want to execute Realtek Audio Service, because Windows thinks it's not safe and that the file is from internet. If I click cancel, then Realtek Audio Console app will try to load for some time and then throw error, something related to RPC service. When I check file properties I see that files are not unlocked and it seems it's not easy to change that. When I am looking at some other driver files in file repository, they all are unlocked. Maybe install script needs unblock them automatically? Sorry that screenshots are in latvian, but you will get the idea.

image

mozilla343 commented 2 years ago

I'm really sorry, I did not notice, that other users have already opened the same issue. So what is the best way to avoid this problem? This only started to happen when I did disable all security options in Windows Security app except firewall.

mozilla343 commented 2 years ago

Get-ChildItem "C:\drivers\Unofficial-Realtek-UAD-generic-6.0.9336.1" -recurse | Unblock-File helps unblock all files in this folder and in all further subfolders. Run this command in powershell before running setup.cmd. This ensures that these driver files that are copied to System32\DriverStore\FileRepository are already unlocked and Windows then assumes that these files are local and safe.