SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 61 | Next

Steve Seguis

"Microsoft Windows Server 2008 Administration"

To rename the computer before it joins the domain without having
to run a third-party tool, you need to use Windows Management Interface (WMI).
Rather than writing a script and then executing it, the easier way is simply to run WMI
Command-line (WMIC). This command-line tool is specifically designed to run WMI
commands and is ideal for straightforward commands like this. For example, to rename
your server to WINSRV1, you would run this command:
wmic computersystem where name="%computername%" rename name="WINSRV1"
This command should result in a ReturnValue=0 to indicate a successful rename,
as shown in Figure 2-5. Before going on, make sure you reboot the server for the new
computer name to take effect.
After you rename the computer, you can join it to the domain using the netdom
join command. You will need to know three pieces of information to complete this
command: the name of the domain, a username of an account that has rights to join computers
to the domain, and of course the password for that user account. For example, if
you wanted to add this server to the TESTLAB domain using an account called SysAdmin
with the password P@ssword, you would run the following:
Netdom join %computername% /domain:TESTLAB /userd:SysAdmin /password:P@ssword
If you don??™t want to type the password explicitly like this because people around you
can view the console, you can replace /passwordd:P@ssword with /passwordd:" in
which case it will prompt you to type in the password instead.


Pages:
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6