Skip to main content

Perform Admin Tasks During Windows Server Installation

 There may be times when you forget to perform a preinstallation task prior to starting the Windows Server 2008 R2 installation. Rather than restarting the operating system, you can access a command prompt from Setup or use advanced drive options to perform the necessary administrative tasks.

Using the Command Line During Installation
When you access a command prompt from Setup, you access the MINWINPC (mini Windows PC) environment used by Setup to install the OS. During installation, on the Where Do You Want To Install Windows page, you can access a command prompt by pressing Shift+F10. The mini Windows PC environment provides access to many of the same command-line tools that are available in a standard installation of Windows Server 2008 R2. Here’s a look at what’s available.

ARP Displays and modifies the IP-to-physical address translation tables used by the Address Resolution Protocol (ARP).
ASSOC Displays and modifies file extension associations.
ATTRIB Displays and changes file attributes.
CALL Calls a script or script label as a procedure.
CD/CHDIR Displays the name of or changes the current directory.
CHKDSK Checks a disk for errors and displays a report.
CHKNTFS Displays the status of volumes. Sets or excludes volumes from automatic system checking when the computer is started.
CHOICE Creates a list from which users can select one of several choices in a batch script.
CLS Clears the console window.
CMD Starts a new instance of the Windows command shell.
COLOR Sets the colors of the command-shell window.
CONVERT Converts FAT volumes to NTFS.
COPY Copies or combines files.
DATE Displays or sets the system date.
DEL Deletes one or more files.
DIR Displays a list of files and subdirectories within a directory.
DISKPART Invokes a text-mode command interpreter so thatyou can manage disks, partitions, and volumes using a separate command prompt and commands that are internal to DISKPART.
DISM Services and manages Windows images.
DOSKEY Edits command lines, recalls Windows commands, and creates macros.
ECHO Displays messages or turns command echoing on or off.
ENDLOCAL Ends localization of environment changes in a batch file.
ERASE Deletes one or more files.
EXIT Exits the command interpreter.
EXPAND Uncompresses files.
FIND Searches for a text string in files.
FOR Runs a specified command for each file in a set of files.
FORMAT Formats a floppy disk or hard drive.
FTP Transfers files.
FTYPE Displays or modifies file types used in file extension associations.
GOTO Directs the Windows command interpreter to a labeled line in a script.
HOSTNAME Prints the computer’s name.
IF Performs conditional processing in batch programs.
IPCONFIG Displays TCP/IP configuration.
LABEL Creates, changes, or deletes the volume label of a disk.
MD/MKDIR Creates a directory or subdirectory.
MORE Displays output one screen at a time.
MOUNTVOL Manages a volume mount point.
MOVE Moves files from one directory to another directory on the same drive.
NBTSTAT Displays the status of NetBIOS.
NET ACCOUNTS Manages user account and password policies.
NET COMPUTER Adds or removes computers from a domain.
NET CONFIG SERVER Displays or modifies configuration of a server service.
NET CONFIG WORKSTATION Displays or modifies configuration of a workstation service.
NET CONTINUE Resumes a paused service.
NET FILE Displays or manages open files on a server.
NET GROUP Displays or manages global groups.
NET LOCALGROUP Displays or manages local group accounts.
NET NAME Displays or modifies recipients for messenger service messages.
NET PAUSE Suspends a service.
NET PRINT Displays or manages print jobs and shared queues.
NET SEND Sends a messenger service message.
NET SESSION Lists or disconnects sessions.
NET SHARE Displays or manages shared printers and directories.
NET START Lists or starts network services.
NET STATISTICS Displays workstation and server statistics.
NET STOP Stops services.
NET TIME Displays or synchronizes network time.
NET USE Displays or manages remote connections.
NET USER Displays or manages local user accounts.
NET VIEW Displays network resources or computers.
NETSH Invokes a separate command prompt that allows you to manage the configuration of various network services on local and remote computers.
NETSTAT Displays the status of network connections.
PATH Displays or sets a search path for executable files in the current command window.
PATHPING Traces routes and provides packet loss information.
PAUSE Suspends processing of a script and waits for keyboard input.
PING Determines whether a network connection can be established.
POPD Changes to the directory stored by PUSHD.
PRINT Prints a text file.
PROMPT Modifies the Windows command prompt.
PUSHD Saves the current directory and then changes to a new directory.
RD/RMDIR Removes a directory.
RECOVER Recovers readable information from a bad or defective disk.
REG ADD Adds a new subkey or entry to the registry.
REG COMPARE Compares registry subkeys or entries.
REG COPY Copies a registry entry to a specified key path on a local or remote system.
REG DELETE Deletes a subkey or entries from the registry.
REG QUERY Lists the entries under a key and the names of subkeys (if any).
REG RESTORE Writes saved subkeys and entries back to the registry.
REG SAVE Saves a copy of specified subkeys, entries, and values to a file.
REGSVR32 Registers and unregisters DLLs.
REM Adds comments to scripts.
REN Renames a file.
ROUTE Manages network routing tables.
SET Displays or modifies Windows environment variables. Also used to evaluate numeric expressions at the command line.
SETLOCAL Begins localization of environment changes in a batch file.
SFC Scans and verifies protected system files.
SHIFT Shifts the position of replaceable parameters in scripts.
START Starts a new command-shell window to run a specified program or command.
SUBST Maps a path to a drive letter.
TIME Displays or sets the system time.
TITLE Sets the title for the command-shell window.
TRACERT Displays the path between computers.
TYPE Displays the contents of a text file.
VER Displays the Windows version.
VERIFY Tells Windows whether to verify that your files are written correctly to a disk.
VOL Displays a disk volume label and serial number.

Tip adapted from the Microsoft Press book Windows Server 2008 Administrator’s Pocket Consultant, Second Edition by William R. Stanek.


Popular posts from this blog

Question كيفية عمل share للـ outlook conntact لكل الـ Domain Users

  الحل بسيط جدا عايز الكونتاكت تتحدث دايما بحيث انك لما تضيف يوزر جديد يسمع في الكونتاكت اول حاجه بتدخل علي in office 2003 tools --- email account ---- add address book --- internet directory service (LDAP) type your server name then login info . mark this server require me to logon type any user on active directory and its password then save and close outlook and open it again now you will find all your active directory users in address book

3 things has to be done for better performance

  Tips from Goutham: 3 things has to be done for better performance: By default, XP displays extra graphic objects for menu items which can slow down your display. 1. To turn off these selectively... Right click My Computer Select Properties Click Advanced tab Under Performance, click Settings button To turn them all off, select Adjust for best performance Preference is to leave them all off except for Show shadows under mouse pointer and Show window contents while dragging 2. To speed up the display of the Start Menu Items, turn off the menu shadow. Right click open area of the Desktop Select Properties Click Appearance tab Click Effects button Uncheck Show shadows under menus 3. You can increase system performance by loading more of the system into memory. DO NOT attempt this with less then 512MBs of ram. Your system will become unstable. Click Start Click Run Enter regedit Click OK Go to HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control Session Manager Memory Management Double cli

The difference between DNS and NDS

  Novell Directory Services(NDS) - Novell Directory Services (NDS) is a popular software product for managing access to computer resources and keeping track of the users of a  network , such as a company's  intranet , from a single point of administration. Using NDS, a network administrator can set up and control a  database  of users and manage them using a  directory  with an easy-to-use graphical user interface ( GUI ). Users of computers at remote locations can be added, updated, and managed centrally. Applications can be distributed electronically and maintained centrally. NDS can be installed to run under  Windows NT , Sun Microsystem's Solaris, and IBM's  OS/390  as well as under Novell's own  NetWare  so that it can be used to control a multi-platform network. NDS is generally considered an industry  benchmark  against which other products, such as Microsoft's Active Directory, must compete. Lucent Technologies plans to integrate NDS into its own QIP product