Hi all,
I have been trying to run dnscmd command for different DNS config changes and action doesnt seem to work.
waithidden cmd.exe /c “C:\Windows\system32\dnscmd.exe /config /SecureResponses 0” – not working
waithidden cmd.exe /c ‘C:\Windows\system32\dnscmd.exe /config /SecureResponses 0’ – not working
waithidden cmd.exe /c dnscmd /config /SecureResponses 0 – not working
waithidden cmd.exe /c “dnscmd /config /SecureResponses 0” - not working
waithidden cmd.exe /C “C:\Windows\system32\dnscmd /info /SecureResponses > C:\windows\temp\dnscmd.txt 2>&1” – giving the below output
“‘C:\Windows\system32\dnscmd’ is not recognized as an internal or external command,
operable program or batch file.”
waithidden {pathname of system x32 folder}\cmd.exe /C {pathname of system x32 folder}\dnscmd.exe /info /SecureResponses >> C:\windows\temp\dnscmd.txt — giving blank report
All dnscmd command is exiting with exit code 1.
I am really running out of options here. Can someone please help?