/build/static/layout/Breadcrumb_cap_w.png

I am trying to push this cmd netsh interface ipv4 set dns "Local Area Connection" dhcp to all the computers in my network. How can I do this through Kace?

Trying to set DNS to Obtain address automatically. Had issues with domain controller and I dont want to have to touch every computer to change DNS settings. I'm sure there is a way to push this command down through Kace but my efforts have failed. Any help is greatly appreciated.

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: SMal.tmcc 8 years ago
Red Belt
2

Top Answer

to run commands use a kscript

figure out if you can run it as system (the default) or do you need to run as admin

under on success pick
launch a program

path $(KACE_SYS_DIR)
File:cmd.exe
Parameters: /c netsh interface ipv4 set dns..blah blah blah
(whatever you would enter at the command prompt goes after the /c)

note: if these are x64 machines you may need c:\windows\sysnative for the path


Comments:
  • That did the trick. Thank you very much. My life will be easier now! :-) - dtaylor01 8 years ago
    • were you able to run as system or did you need an admin account - SMal.tmcc 8 years ago
      • It let me run as System. - dtaylor01 8 years ago
      • thanks it helps others who find this to know what settings they need - SMal.tmcc 8 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ