Windows server 2008 – How to reset IP protocol stack configurations via command line

Posted by aidas | Posted in Command line, Networking, Windows 2008 | Posted on 05-05-2009

0

This post will show how to reset IP protocol stack configurations for your interface and send output to a reset.txt log file. To perform reset open command line on your Windows server 2008 and type:

netsh int ipv4 reset reset.txt

Windows server 2008 – How to install or remove role using command line

Posted by aidas | Posted in Command line, Windows 2008 | Posted on 05-05-2009

0

This post will show how to use command line in Windows server 2008 to install and remove role.  In our case we will install and then remove Web server role with all IIS components onboard.

To install role type:

servermanagercmd -install Web-Server

To remove Web Server role type:

servermanagercmd -remove Web-Server

More roles can be found here .

Windows server 2008 Core – How to list installed roles via command line

Posted by aidas | Posted in Command line, Windows 2008 | Posted on 05-05-2009

0

This post will show you how to list installed Windows server 2008 Core roles using command line. To list roles open command line and type:

oclist | find “Installed”

Windows server 2008 – How to prepare domain for Read Only Domain Controller

Posted by Thomas | Posted in Active directory, Command line, Windows 2008 | Posted on 05-05-2009

0

You have Windows server 2008 and want to install Read Only Domain Controller role on it? First you need to prepare your domain before you can do this operation. For that open command line on your Windows server 2008 and type:

adprep /rodcprep

How to #CMD by Thomas

Windows server 2003 and Windows XP – How to join computer to domain via command line

Posted by aidas | Posted in Command line, Windows 2003, Windows XP | Posted on 04-05-2009

0

This post will show you how to join computer “TestPC” to domain “testdomain.com”  using command line. To do that open command line on Windows server 2003 and type:

netdom /domain:testdomain.com /user:testuser /password:yourpassword member TestPC /add

Windows server 2003/2008 – How to get disabled services list via power shell

Posted by aidas | Posted in Powershell, Windows 2003, Windows 2008 | Posted on 03-05-2009

0

This post will show how to get services list whose StartMode is set to disabled via power shell. Open power shell in Windows server 2003 or 2008 and type:

gwmi win32_service | where {$_.StartMode -eq “Disabled”}

Windows server 2008 Core – How to enable automatic updates via command line

Posted by aidas | Posted in Command line, Windows 2008 | Posted on 03-05-2009

0

This post will show you how to enable automatic updates on your Windows server 2008 Core. To do it type:

cscript scregedit.wsf /AU 4

Windows server 2008 Core – How to change the time zone

Posted by aidas | Posted in Windows 2008 | Posted on 03-05-2009

0

How to change time zone in Windows server 2008 Core? It is pretty simple. You just need to start GUI with this command:

control timedate.cpl

Windows server 2008 Core – How to reboot server via command line

Posted by aidas | Posted in Command line, Windows 2008 | Posted on 03-05-2009

0

This post will show you how to reboot Windows server 2008 Core after some changes were made. To reboot type in command line:

shutdown /r

Windows server 2008 Core – How to enable remote desktop administration via command line

Posted by aidas | Posted in Command line, Windows 2008 | Posted on 03-05-2009

0

This how to will show command which enables remote desktop administration on your Windows server 2008 Core server. Note that you`ll be presented with no GUI after remote desktop connection to Core server. Only minimal command line interface will be available for you. To enable it type:

cscript %windir%\system32\SCRegEdit.wsf /ar 0

Windows server 2008 Core – How to join server to domain via command line

Posted by aidas | Posted in Active directory, Command line, Windows 2008 | Posted on 03-05-2009

0

In this post you`ll see how to join your Windows server 2008 Core to domain named testdomain.com using user ID testuser. To do that type in command line:

netdom join %computername% /domain:testdomain.com /userd: testdomain.com\testuser /passwordd:*

Windows server 2008 Core – How to enable remote administration in firewall using command line

Posted by Thomas | Posted in Command line, Windows 2008 | Posted on 02-05-2009

0

To enable remote administration on Windows server 2008 Core firewall open command line and type:

netsh firewall set service type=remoteadmin mode=enable

How to #Windows server 2008 Core by Thomas