We are checked to see if 2 registry values are set for our WSUS server in the registry. I am lost here in getting this working to do the check for these values.

I check for the following 2 keys and values:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dows\WindowsUpdate
WUServer=http://WSUS:8530

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dows\WindowsUpdate
WUStatusServer=http://WSUS:8530


I have it setup currently to check registry key and value exists. In the key and value path I have tried:

KEY: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dows\WindowsUpdate
VALUE: WUServer=http://WSUS:8530

KEY: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dows\WindowsUpdate\WUServer
VALUE: http://WSUS:8530

Neither one work from all the testing I have done with removing or adding these values to the registry. If I remove the keys and values from the registry, run a zac ref my bundle shows failed when it checks to see if they are not there. Any help appreciated. Thanks.