search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Unattended ISC Bind install for Windows Server 2008 Web Server
Posted in Windows Server | 1 Comment | 7,203 views | 23/03/2009 10:56

Real nightmare! But I did it. After 6 hours, I finally did a deployment script for ISC Bind 9.6.0 release. As you know, bind has a setup.exe but you can’t use it with silent switch. So what should we do? Making MSI patch is a solution but be sure It isn’t working for Bind :) My deployment script:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
mkdir "C:\Windows\System32\dns"
xcopy /E "R:\Bind" "C:\Windows\System32\dns\"
CACLS C:\Windows\System32\dns /G "NETWORK SERVICE":F /E
CACLS C:\Windows\System32\dns\etc /G "NETWORK SERVICE":F /E
CACLS C:\Windows\System32\dns\etc\* /G "NETWORK SERVICE":F /E
CACLS C:\Windows\System32\dns\bin /G "NETWORK SERVICE":F /E
CACLS C:\Windows\System32\dns\bin\* /G "NETWORK SERVICE":F /E
reg import "R:\Registry\bind.reg"
xcopy "R:\Registry\bind.msi" "C:\"
"C:\bind.msi" /quiet /passive
del "C:\bind.msi"
sc create "ISC BIND" binpath= c:\Windows\System32\dns\bin\named.exe start= auto obj= "NT AUTHORITY\NETWORK SERVICE"
net start "ISC BIND" /Y
exit

In this scenario, Bind works with Network Service account. It’s better than named, i think. I won’t share bind.msi and bind.reg files but maybe you can see that files at Radore Telecom NOC Blog page. Our blog page is not online but you can follow here: http://www.rh.com.tr


Comments (1)

RusTus

April 16th, 2011
04:05:03

You dont need an MSI, just copy the files and here is all the registry entry you will need:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\ISC\BIND]

“InstallDir”=”C:\\PATH\\TO\\bind”

Then create the service accounts (leave obj OFF for default localsysytem account

Works like a champ



Leave a Reply