Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.dns
Thread: Restart DNS Service

HTVi
TV Discussion Newsgroups

Restart DNS Service
Tom B 5/31/2007 4:38:03 PM
We have been having a problem that has been reported to microsoft and its
actaully been pushed up to their devlopers but ist going to take a while for
a resolution. (we have DNS server stop once a week) In the mean time i need
to write and schdeule a script to restart the DNS service once a week how do
I write this script so i can schedule it?
Re: Restart DNS Service
"Ben" <benb[ at ]nospam.postalias> 5/31/2007 4:51:31 PM
"Tom B" <TomB[ at ]discussions.microsoft.com> wrote in message
news:3DF15636-3A86-4CCF-A358-15482BDAAD86[ at ]microsoft.com...
[Quoted Text]
> We have been having a problem that has been reported to microsoft and its
> actaully been pushed up to their devlopers but ist going to take a while
> for
> a resolution. (we have DNS server stop once a week) In the mean time i
> need
> to write and schdeule a script to restart the DNS service once a week how
> do
> I write this script so i can schedule it?

Simple, just use good old DOS commands, create a batch file, and setup a
scheduled task in Windows!

Batch File
----
net stop 'DNS Server'
net start 'DNS Server'
exit
---
Then Start > Programs > Accessories > System Tools > Scheduled Tasks
Add Scheduled Task - Point it to the batch file!


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen