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

  • Thread starter Thread starter alfyalf
  • Start date Start date
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
 
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
 
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
 
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 -
 
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 -
 
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
 
Back
Top