Hello, im making an unattended W10 iso and need to config DNS but i having problems.
I added in post-instalation a cmd command to do it, but is not working, it looks is a problem with cmd not running as admin i guess. I readed about tick OEM option on unattended tab but not working either.
Tried using this commands:
netsh interface ipv4 add dns "Ethernet" address=8.8.8.8 index=1
netsh interface ipv4 add dns "Ethernet" address=8.8.4.4 index=2
wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("8.8.8.8", "8.8.4.4")
This 2 ways work perfect if i use it on my comp with cmd as admin but not working on my iso.
I thought about using a Bat file but cant use it as admin either...,So i dont know if theres is a way to solve this...
Thanks in advance.
I added in post-instalation a cmd command to do it, but is not working, it looks is a problem with cmd not running as admin i guess. I readed about tick OEM option on unattended tab but not working either.
Tried using this commands:
netsh interface ipv4 add dns "Ethernet" address=8.8.8.8 index=1
netsh interface ipv4 add dns "Ethernet" address=8.8.4.4 index=2
wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("8.8.8.8", "8.8.4.4")
This 2 ways work perfect if i use it on my comp with cmd as admin but not working on my iso.
I thought about using a Bat file but cant use it as admin either...,So i dont know if theres is a way to solve this...
Thanks in advance.