PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.win.server.scripting > Re: how to rename computer name by vbs
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: how to rename computer name by vbs

Réponse
 
LinkBack Outils de la discussion
Vieux 13/09/2007, 05h00   #1
Shenan Stanley
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to rename computer name by vbs

YJ Kim wrote:
> I'm Active Directory administrator in some company.
> some time our employee request their computer name change.
> every that time I solved this request by remote control.
> but this situation is very uncomfortable both them and me.
> If possible, when them a computer name it renames oneself the
> rename of computer name by VBS.
>
> How can make to this VBS??


Sounds like you are trying to over-complicate things...

Assuming these machines are *in* your active directory, you can rename them
using NETDOM.

netdom renamecomputer /?

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


  Réponse avec citation
Vieux 13/09/2007, 06h54   #2
YJ Kim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to rename computer name by vbs

Dear Shenan Stanley,

Thank you for your advice..
But I want they themselves changing the computer name.

I need to simply program or script.



"Shenan Stanley" wrote:

> YJ Kim wrote:
> > I'm Active Directory administrator in some company.
> > some time our employee request their computer name change.
> > every that time I solved this request by remote control.
> > but this situation is very uncomfortable both them and me.
> > If possible, when them a computer name it renames oneself the
> > rename of computer name by VBS.
> >
> > How can make to this VBS??

>
> Sounds like you are trying to over-complicate things...
>
> Assuming these machines are *in* your active directory, you can rename them
> using NETDOM.
>
> netdom renamecomputer /?
>
> --
> Shenan Stanley
> MS-MVP
> --
> How To Ask Questions The Smart Way
> http://www.catb.org/~esr/faqs/smart-questions.html
>
>
>

  Réponse avec citation
Vieux 14/09/2007, 01h12   #3
YJ Kim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to rename computer name by vbs

Thank you for your advice.

I solved this problem..

"J Ford" wrote:

> So does everybody in your area have local admin rights and/or permissions to
> add/remove machines from the domain? Seems like an administrative nightmare
> if you allow this. NETDOM is still probably your easiest and best route,
> just make it a batch file that accepts a "name" as a parameter.
>
> NETDOM RENAMECOMPUTER machine /NewName:new-name
> /UserD:user [/PasswordD:[password | *]]
> [/UserO:user [/PasswordO:[password | *]]]
> [/Force]
> [/REBoot[:Time in seconds]]
>
>
>
> "YJ Kim" wrote:
>
> > Dear Shenan Stanley,
> >
> > Thank you for your advice..
> > But I want they themselves changing the computer name.
> >
> > I need to simply program or script.
> >
> >
> >
> > "Shenan Stanley" wrote:
> >
> > > YJ Kim wrote:
> > > > I'm Active Directory administrator in some company.
> > > > some time our employee request their computer name change.
> > > > every that time I solved this request by remote control.
> > > > but this situation is very uncomfortable both them and me.
> > > > If possible, when them a computer name it renames oneself the
> > > > rename of computer name by VBS.
> > > >
> > > > How can make to this VBS??
> > >
> > > Sounds like you are trying to over-complicate things...
> > >
> > > Assuming these machines are *in* your active directory, you can rename them
> > > using NETDOM.
> > >
> > > netdom renamecomputer /?
> > >
> > > --
> > > Shenan Stanley
> > > MS-MVP
> > > --
> > > How To Ask Questions The Smart Way
> > > http://www.catb.org/~esr/faqs/smart-questions.html
> > >
> > >
> > >

  Réponse avec citation
Vieux 16/09/2007, 21h04   #4
Shenan Stanley
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to rename computer name by vbs

YJ Kim wrote:
> I'm Active Directory administrator in some company.
> some time our employee request their computer name change.
> every that time I solved this request by remote control.
> but this situation is very uncomfortable both them and me.
> If possible, when them a computer name it renames oneself the
> rename of computer name by VBS.
>
> How can make to this VBS??


YJ Kim wrote:
> Thank you for your advice.
>
> I solved this problem..


Would you mind sharing your solution for the benefit of the hundreds of
thousands of individuals that may come across this thread in the future?

http://groups.google.com/group/micro...81dc776639a5dc

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h41.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10991 seconds with 12 queries