Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to change the DNS suffix on Win7 PC's. Netsh does lots, but I can't find this in there. Any way to change it in a batch file (such as a logon script)?

share|improve this question
2  
Do you want to change the actual DNS suffix, or the DNS Search Suffix? – MDMarra Dec 3 '12 at 17:34
    
You can do it with powershell and get-wmiobject, but need to know what value you are actually looking to change as MDMarra said. – Mike Dec 3 '12 at 17:40
    
You can also set it in DHCP options or GPOs. – TheCleaner Dec 3 '12 at 17:46
    
I'm looking to check the "append parent suffixes of the primary DNS suffix" box – a1296519 Dec 5 '12 at 16:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.