Hi,
I need to add an entry into the Registry on several machines, I searched the internet but i just cant get it right.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DisabelPSourceRouting"=dword:00000002
Its needs to run with admin access and I don't mind putting in my domain admin account in the script and putting the password in myself.
I was trying to connect the .reg file in a batch file using the
runas /profile /user:administrator
I have not been able to get much further than this and I'm not sure batch file is the best way, as I am not experienced in this area.
It needs to run on Win7 and Win 10 machines
Can someone please assist me with this issue.