Changing a reg_sz with a variable id key

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
hacxx
Posts: 57
Joined: 09 Apr 2015 13:18

Changing a reg_sz with a variable id key

#1 Post by hacxx » 22 Apr 2018 04:44

Hi,

I want to change the value of a registry key named NameServe using batch. The problem is that each internet interface has his own id. So, how can i get the default id to change this key?

The purpose is only to create a batch to change from my local isp dns to google public dns.

Thanks

Post Reply