change PC's DNS settings to dynamic via logon scrip in Nvell environment

A

alfyalf

Hi all,

I need help on this big time, I need to change the DNS settings on
every workstation in a novell environment from static to dynamic using
a script so that it will pick up the DNS address via the DHCP
server...please can you help as this is a big network. Please dont ask
why is the DNS settings is left for manual entry.

Help ?

thanks people
 
A

alfyalf

Hi,

Firstly thank you for your reply....

I am aware of this command and it does work if you save it as a batch
file and run it from ie desktop when you are logged on as an
administrator. my question is that i would like to run this command as
a user (with no admin rights) is logging on to the desktop i.e a
script. Is there a way of entering all administrator credntials on a
batch file or vb script to run and then point to the NETSH command to
run and make the required change.

thanks

alf

Dave said:
netsh interface ip set dns name="Local Area Connection" source=dhcp

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Hi all,

I need help on this big time, I need to change the DNS settings on
every workstation in a novell environment from static to dynamic using
a script so that it will pick up the DNS address via the DHCP
server...please can you help as this is a big network. Please dont ask
why is the DNS settings is left for manual entry.

Help ?

thanks people
 
A

alfyalf

Hi,

thanks for your reply, is there not a way that i can put all
adminidtrator details of the loacl PC on a script and the poing to the
NETSH command...

thanks


Dave said:
You might give this a go.

http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Hi,

Firstly thank you for your reply....

I am aware of this command and it does work if you save it as a batch
file and run it from ie desktop when you are logged on as an
administrator. my question is that i would like to run this command as
a user (with no admin rights) is logging on to the desktop i.e a
script. Is there a way of entering all administrator credntials on a
batch file or vb script to run and then point to the NETSH command to
run and make the required change.

thanks

alf
 
A

alf

PSEXEC works if you point it to one PC. however if you point to a
text file containing the ip address of a number of PC's it fail and
returns a message somthing like "eable remote PC's ADMIN$". The whole
point is to do this from one central point rather than going to each
PC and enabling. is there a third party software for this type of
sceniro.

Please help



Here you go.

http://www.microsoft.com/resources/documentation/windows/xp/all/prodd...

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]http://www.microsoft.com/protect



thanks for your reply, is there not a way that i can put all
adminidtrator details of the loacl PC on a script and the poing to the
NETSH command...
thanks- Hide quoted text -- Show quoted text -
 
A

alf

Thanks, but this only works if you have local admin rights..


You might give this a go.

http://www.microsoft.com/technet/scriptcenter/csc/scripts/network/cli...

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]http://www.microsoft.com/protect



alf said:
PSEXEC works if you point it to one PC. however if you point to a
text file containing the ip address of a number of PC's it fail and
returns a message somthing like "eable remote PC's ADMIN$". The whole
point is to do this from one central point rather than going to each
PC and enabling. is there a third party software for this type of
sceniro.
Please help- Hide quoted text -- Show quoted text -
 
A

alf

Run it remotely using your admin credentials.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]http://www.microsoft.com/protect



alf said:
Thanks, but this only works if you have local admin rights..- Hide quoted text -

- Show quoted text -

I have run it remotely using admin credentials and associated a text
file referencing a batch of host ip address. It fails to execute/run
and displays a "remote ADMIN$" must be enabled.(on the destination
PC). This is all enabled but still fails to run accordingly. Any
other reccomendations.

Thanks
 

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

Similar Threads

dns question 4
DNS Lockdown?? 1
DNS Dynamic Update Doesn't 1
Dynamic Updates and static IP 1
DHCP / DNS 2
DNS not dynamically updating clients 12
local DNS vs external DNS 2
DNS settings via GPO 2

Top