PC Review


Reply
Thread Tools Rate Thread

Change workgroup name using regedit

 
 
Nathan Guidry
Guest
Posts: n/a
 
      18th Feb 2004
What's the Key to change the workgroup name of a windows 2000 pro machine?


 
Reply With Quote
 
 
 
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      18th Feb 2004
Nathan Guidry wrote:

> What's the Key to change the workgroup name of a windows 2000 pro machine?


Hi

I'm afraid it is not defined in a registry value.

For a script solution:

For WinXP, you can use the JoinDomainOrWorkgroup method of the
Win32_ComputerSystem class (more in the article listed below).

For NT4/Win2k and WinXP, you can use Netdom.exe v1.8 to change workgroup, see
section "Command line, join workgroup" here:

From: Torgeir Bakken
Subject: Re: Join Workgroup then join domain, via WSH?
Newsgroups: microsoft.public.scripting.wsh
Date: 2002-09-09 14:03:29 PST
http://groups.google.com/groups?selm...2B%40hydro.com


Some notes:

Netdom.exe needs to be run with an account that is member (directly or
indirectly) of the Administrators group on the local computer

The server service needs to be available and not disabled or removed for
netdom to work (at least when you want to join a domain, workgroup I
don't know), see this thread for more info about this:

Subject: Re: Join Computer to a Domain with NetDom
http://groups.google.com/groups?th=a180a5e6b463d276



--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regedit Not Saving Change Mox 13 Windows XP New Users 9 28th Jul 2003 08:48 AM
Re: Any way to change ForceGuest w/o using Regedit? Hans-Georg Michna Windows XP Setup 1 21st Jul 2003 06:14 PM
Any way to change ForceGuest w/o using Regedit? Dr. StrangeDub Windows XP Security 1 17th Jul 2003 05:27 PM
Any way to change ForceGuest w/o using Regedit? Dr. StrangeDub Windows XP Customization 1 17th Jul 2003 05:27 PM
Any way to change ForceGuest w/o using Regedit? Dr. StrangeDub Windows XP General 0 17th Jul 2003 04:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:35 AM.