I try to modify registry on Windows IoT Core 10 running over Raspberry Pi 3 via Power Shell, but I get this error:
[192.168.1.17]: PS C:\Data\Users\administrator\Documents> reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost" /v Ethernet /d 2 /f
reg.exe : ERROR: Access is denied.
- CategoryInfo: NotSpecified: (ERROR: Access is denied.:String) [], RemoteException
- FullyQualifiedErrorId : NativeCommandError
I run the command with administrator.
What can be the issue?
DefaultMediaCost
registry as even Administrators have only "Read" access on it. – Mudit Bahedia