Archive for 2008

Put Powershell and QAD cmdlets together to become a lazier (yet smarter) System Admin

One of the exciting features of Windows Server 2008 is Powershell (command-line interactive shell and scripting language). Powershell allows Admins to achieve control over their Active Directory/Servers environment and accomplishes the remote management tasks which used to be done with VB, WMI and ADSI scripts. Where WMI and ADSI calls are still part of Powershell [...]

  • Repadmin indicates Read-Only Domain Controller in Windows Server 2008

    We are all aware how helpful the repadmin tool has become (available thru Windows Support Tools in Windows Server 2003 and earlier) for troubleshooting the replication issues. In Windows Server 2008, this tool along with others come pre-packaged within the OS. You no longer have to install the Support Tools to rein in the benefits [...]

  • The Infamous /3gb Startup Switch

    What is it ? Windows Server 2003 includes support for a startup switch that lets you tune the allocation of use of memory and memory address space. Regardless of the amount of physical memory in your system, Windows uses a virtual address space of 4 GB, with 2 GB allocated to user-mode processes (for example, [...]

  • Can a RODC also be a DHCP ?

    Sounds like a no-brainer, but there is catch. I installed DHCP role on my Server Core that I had previously set up as Read-only Domain Controller, using this command. start /w ocsetup DHCPServerCore And then I went ahead and set the service configuration to “auto” with this command, sc config dhcpserver start= auto (note the [...]

  • Is there a GUI to manage Server Core ?

    Yes there is. Inevitable as it was, we the System Admins like to accomplish easy tasks from the tip of our fingers, and do things in a graphical click-ing environment. You might have heard of this utility, which came out few months back called ‘Server Core Configurator’ by Guy Teverovsky. I had been reading about [...]

  • How to turn on Automatic Updates in Server Core

    Its pretty simple to turn the automatic updates in Server Core by using scregedit to modify the registry, simply type in this command : cscript c:\Windows\system32\scregedit.wsf /au 4 After that, you do have to stop and start the Windows Update service net stop wuauserv net start wuauserv The swtich /au 4 sets the time for [...]

    posted in Server Core, Windows Server 2008 by Rick

  • Remotley Administer Server Core from Vista or Windows Server 2008

    You can use Windows Remote Shell (WinRS) in Vista and Windows Server 2008 to remotely manage and administer Server Core. The WinRS client passes the commands to a WinRS listener on Server Core, which passes the commands to a prompt, captures the output and returns it to the WinRS client. To do this, you have [...]

  • Install Server Roles and features on Server Core

    So In Windows Server 2008, there are roles such as AD Domain Services, DHCP, DNS, the roles services pertaining to roles such as AD Certificate Services, DFS, and finally there are optional features such as .NET Framework Services, Network Load Balancine (NLB), etc. With the exception of the Active Directory Domain Services role, you install [...]

  • How to promote Server Core to be a RODC

    The Windows Server 2008 Server Core installation does support Read Only Domain Controllers (RODC). This support makes Server Core ideal for brance office scenarios. To make a Server Core part of your domain as RODC, you use the unattended answer file with the following text with your settings and passwords [DCInstall] InstallDNS=Yes ConfirmGC=Yes RebootOnCompletion=Yes ReplicaDomainDNSName=2008.lab [...]

  • How to setup IP configuration of Windows Server 2008 Server Core

    In order to add your Server Core to a domain you must assign anĀ IP and DNS server to theĀ current IP Configuration and you do that using NETSH tool, otherwise using the answer file your setup will fail complaining about its inability to contact the source DC. Netsh.exe is a tool an administrator can use to [...]

  • How to disable Windows Firewall in Windows Server 2008 Server Core

    So in Server Core the built-in Windows firewall comes on by default. You can choose to disable it completely to get all the networking components working by using this NETSH command, netsh firewall set opmode disable You can use the enable switch to turn it back on. However, completely disabling it may be a bad [...]

  • How to enable RDP for Windows Server 2008 Server Core

    Even though the Server Core option of Windows Server 2008 does not have shell, you can still RDP (Terminal Services) into it by using RDC from a Windows Client. To do that, you have to first enable the RDP on Server Core by using the following cscript command. Cscript \windows\system32\scregedit.wsf /ar 0 In order to [...]

  • How can I rename Windows Server 2008 Server Core

    Once again, with no GUI your Windows Server 2008 Server Core can easily be renamed using Windows Management Instrumentation Command-line (WMIC), and here is how, wmic computersystem where name=”%computername%” rename name=”new-name” As result, you will get ‘Method execution successful’ message. However if your machine is domain-joined, you can use NETDOM to accomplish the same task. [...]

  • How to activate Windows Server 2008 Server Core

    As we know there is no GUI in Windows Server 2008 Server Core option, here is how you can activate your copy. Following was done on an eval. copy, and here is the cscript command to run. Cscript C:\Windows\System32\slmgr.vbs -ato You can run -xpr switch to tell how much time you have left, mine shows [...]

  • Initial Configuration for the Windows Server 2008 Server Core

    In a full version of Windows Server 2008 there is Initial Configuration Tasks that allows you to configure various things after a fresh install. However since Server Core is GUI-less or more like Shell-less and not entirely GUI-less, the various initial configuration tasks are to be done from the command-line or thru the few built-in [...]

  •  
    (c) 2008 - 2012 Shariq Sheikh. All Rights Reserved.