Installing Windows Server 2008, as a Dedicated Print Server
This is a quick and dirty run down of how to install Windows Server 2008 (longhorn) as a dedicated print server using the new Core Installation options.
Installion
- Insert the windows server 2008 and start the install process
- Follow the on screen instructions to complete the setup
- To set the administrative password run the following command in the console window:
- net user administrator *
- To set a static IP address run these command:
- netsh interface ipv4 show interfaces (make a note of the Idx number for the network adapter)
- netsh interface ipv4 set address name=”<idxnum>” source=static address=<staticip> mask=<subnetmask> gateway=<defaulgateway> (sets the IP, subnet, and default gateway),
- To make the IP address dynamic run this command instead:
- netsh interface ipv4 set address nam=”<idxnum>” source=DHCP
- Add DNS Servers:
- netsh interface ipv4 add dnsserver name=”<idxnum>” address=<dnsip> index=1 (sets DNS server)
- to add addition dns server redo step 3 incrementing the index= number each time
- To rename the computer:
- netdom renamecomputer <computername> /newname:<newcomputername>
- To join the server to the domain:
- netdom join <computername> /domain:<domainname> /userd:<username> /passwordd:*
- To activate the server:
- slmgr.vbs -ato
- to actiavte over phone, cscript windows\system32\slmgr.vbs <servername> <username> <password>:-ato
- Enable remote mmc management from anywhere:
- netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
- Manage the firewall remotely:
- netsh advfirewall set currentprofile settings remotemanagement enable
- Installing the print server role:
- start /w ocsetup Printing-ServerCore-Role
- start /w ocsetup Printing-LPDPrintService
This installs the print server role. To add printer you need to start a new MMC on a vista machine or another windows server 2008 which has a GUI, and add the printer management snap-in. From there you connect to the print server via IP address and install print drivers as you normally would.
One issue i found was that if the UAC was enabled on the management machine (vista) I was unable to install any printers or drivers. Disable this if you have issues.
This posting is provided “AS IS” with no warranties, and confers no rights.
Blogged By Jason Neurohr
