Commands for Windows Server Core & Hyper-V Core Server

For some KTSI projects I have been working a lot with Windows Server Core or Hyper-V Server. Now I had to do a lot of automation, so I made this little connection of commands. If you configure the server manually you can do the most important things with the sconfig utility.

Windows Server Core

Networking

Set Hostname

netdom renamecomputer %COMPUTERNAME% /NewName:<NewComputerName> 

Join Domain

netdom join %COMPUTERNAME% /domain:<DomainName> /userd:<UserName> /passwordd:*

Remove Domain

netdom remove

Rename Network Interface

netsh interface set interface name=”old name” newname=”new name”

Configure IP Address

netsh interface ipv4 set address name=”<Interface Name>” source=static address=<IPAddress> mask=<SubnetMask> gateway=<DefaultGateway>

Configure DNS Servers

netsh interface ipv4 add dnsserver name=”<Interface Name>” address=<DNS Server IP> index=1

Disable Firewall (not recommended)

netsh advfirewall set allprofiles state off

 

Remoting

Enable PowerShell Remoting

Enable-PSRemoting

Enable Remotedesktop

netsh advfirewall firewall set rule group=”remote desktop” new enable=yes

Enable Remote Administration

advfirewall firewall set rule group=”Remote Administration” new enable=yes

Enable Remote Firewall Administration

netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable=yes

Enable ICMP (Ping)

netsh firewall set icmpsetting 8

Enable Remote Disk Management

netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes

 

Licensing

Enter License key

slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Activate Windows

slmgr.vbs -ato

 

Windows Update

Enable automatic updates

cscript C:'Windows'System32'Scregedit.wsf /au 4

Disable automatic updates

cscript C:'Windows'System32'Scregedit.wsf /au 1

 

Roles & Features

Get availibale features & roles

Dism /online /get-features /format:table

Enable feature & roles

Dism /online /enable-feature /featurename:<featurename>

 

Basics

Change Administrator password

net user administrator *

Restart Computer

shutdown /r /t 0

Logoff

logoff

More information about Server Core: TechNet

My next Phone, the Nokia Lumia 800

Nokia Lumia 800 Windows Phone

Today Nokia released their first two Windows Phone devices, the Nokia Lumia 800 and the Nokia Lumia 710. I am really looking forward to get a Nokia Lumia 800 as soon as possible. I think this is one of the first phones which can be compared to the iPhone in terms of design (Of course besides the Nokia N9).

Nokia Lumia 800 specs:

  • 1.4GHz Qualcomm MSM8255
  • 3.7-inch curved AMOLED Gorilla Glass 800 x 480
  • 8 megapixel dual-LED flash
  • Video recording 720p at 30fps
  • Cellular quadband UMTS / HSPA (14.4Mbps) quadband GSM
  • WiFi 802.11 b/g/n
  • Memory 512MB RAM
  • 16GB internal storage
  • 1,450mAh Battery

First KTSI Project done

MicrosoftCloudforSMB

Now after the something over three months I finished my first project for the 5th KTSI semester. As a project I created a overview of the Microsoft Cloud for Small and Medium sized businesses. I wrote about the big partner and customer opportunity with Windows Intune and Office 365.

After I finished the review I may will publish this document on my blog.

MicrosoftCloudforSMBdoc

Windows Server 8 NIC Teaming

With the Developer Preview release of Windows Server 8 which Microsoft released at BUILD, Microsoft showed the new integrated NIC Teaming feature. Basically you could do NIC Teaming before but you had to use software and driver from network card or server vendors which was sometimes a little bit of a pain.

Now with the integrated NIC Teaming features in Windows Server 8 you can team network cards even if they are from different vendors. I am sure this will make lives of Hyper-V Engineers a lot easier.

Windows Server 8 NIC Teaming

Windows Server 8 NIC Teaming

 

Windows Server 8 NIC Teaming

Windows Live error 8600108 when syncing Windows Live with Windows Phone

Yesterday morning I realized I did not get any mails over night so something must be wrong with the sync of my Windows Live/Hotmail account. After checking my Windows Live account under settings –> Email+accounts I could see the message “account is not up-to-date”. By tapping on the Windows Live account I got the following error message.

Windows Live Error 8600108

Windows Live error

Not updated
We're having a problem synchronizing with m.hotmail.com
Last tried [xx] seconds ago
Error code: 8600108

After searching the web for some time I found the solution, the problem only appeared when I was syncing E-Mail. After unchecking the E-Mail check box the sync worked fine, except the mail sync of course. Now after it seems that this had to be a problem with a email. I deleted the latest messages on live.com and check the checkbox for E-Mail in my Windows Live account on my phone again the sync worked fine again.

From support.microsoft.com:

This error can indicate a back-end mail server issue, which may be caused when Windows Live tries to sync an email with a large or problematic Word document such as an attachment. There could also be a temporary service outage.

More Information: Here

 

TechDays 11 Bern

techdays11

In the next two days the biggest Microsoft event in Switzerland will be held at Bern.

Microsoft will bring the latest news about Windows 8, Windows Server 8 and the System Center 2012 Suite from the BUILD conference to the Swiss IT Pro audience. On the IT Pro track, private cloud will be the key topic.

More About the two days:

IT Professionals: 20. Oktober 2011

In der Keynote stellen Ihnen unsere Technikexperten die wesentlichen Neuerungen unserer anstehenden Servertechnologien Windows Server 8, SQL Server „Denali“ und System Center 2012 vor. Anschliessend werden technische Informationen und Demos für Produkte wie SQL Server „Denali“, System Center 2012, PowerShell, IPv6, Virtualisierung und Private Cloud, Windows und SQL Azure sowie Office 365 und Endpoint-Managementangeboten.

Developer: 21. Oktober 2011

Der Tag beginnt mit der Keynote des Branchenexperten Neno Loje über das neue Visual Studio 11, das kürzlich auf der BUILD-Konferenz vorgestellt wurde. Softwareentwickler und –architekten erhalten anschliessend die aktuellsten Informationen und Demos über Produkte wie Windows Azure, ASP.NET MVC 4, Windows Phone „Mango“, Silverlight 5, SQL Server 2008 R2 / SQL Azure / SQL Server „Denali“ sowie Visual Studio Lightswitch und HTML5.

More information and the agenda can you find on the techdays homepage.

See you there…