oohhhh why wont this MS script work


Harry Hudini

I have downloaded and pieced together the script at


which allows you to create zones, both primary and secondary, on remote
servers. When I run it using this command line;

cscript dnszones.vbs create secondary forward mydomain.co.uk
/s sql1

I get an error that states;

Error 0x1A8 occurred in connecting to server sql1.
Error description: Object required.

I cant find any mention of it, and it happens no matter what server or
domain name i enter in the parameters.

Any ideas why its not working ? I have to use a script as eventually I will
call the various sections from my own script that will update all our dns
servers when a user uses the script to add a domain.

Ideas ?


Dedicated free Active Directory ServicesT support

email: oliver.marshall@[email protected]

Brian McDermott

Have you installed the DNS provider?

If so, what line is the error occurring?

Harry Hudini

I dont know what line its occuring on, the error is reported to back to the
command line
Apr 21, 2009
Reaction score
The method I used to get this working was to register with the 32-bit version of regsvr32, then run the 32-bit version of cscript:

  • c:\WINDOWS\SysWOW64\regsvr32 prnadmin.dll
  • c:\WINDOWS\SysWOW64\cscript prnmgr.vbs -l

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question