Enable Settings to be able to manage a Windows Server 2012 Core

Powershell
Enable-PSRemoting –Force

Tests
Test-WSMan –ComputerName [Computer]
Enter-PSSession –ComputerName [Computer]

Manage via Server Manager
Configure-SMRemoting.exe –Enable

MMC
Enable-NetFirewallRule –DisplayGroup “Windows Remote Management”

Remote Desktop
cscript C:\Windows\System32\Scregedit.wsf /ar 0

or just conifgure it via sconfig

Tests
Run from another machine mstsc and connect to the server.

No Comments »

admin on May 2nd 2013 in Windows Server

Windows Server 2012 Core Configuration

1. Run Powershell
#start powershell

2. Rename Computer
#Rename-Computer –NewName “MyTestServer” – Restart

3. Set an IP Adress
#New-NetIPAddress –IPAddess 192.168.1.10 –DefaultGateway 192.168.1.1 –PrefixLength 24 –InterFaceIndex 12

4. Add DNS Server
#Set-DNSClientServerAddress –interfaceIndex 12 –ServerAddress 192.168.1.9

5. Add Computer to Domain
#Add-Computer –DomainName MyDomain.local
#Restart-Computer

6. Language Options
#control intl.cpl

7. Datum setzen
#Set-Date

8. Add local Admin Group a Domain User
#net localgroup administrators /add <domain>/<username>

9. Delete a Domain User from a local Admin Group
#net localgroup administrators /delete <domain>/<username>

No Comments »

admin on January 22nd 2013 in Windows Server

Windows 2012 Minimal Server Interface

If you don’t want to install the whole GUI and still have the comfort to install server features and roles easily, this might be the right option for you.

What can you use?
– Server Manager
– MMC Snap-Ins
– Subset of Control Panel

What is missing?
– Desktop
– No Windows Explorer
– No Internet Explorer etc.

To switch from GUI to Minimal Server Interface run following command in powershell:
#Install-Windowsfeature server-gui-shell –remove –restart

To switch from Core to Minimal Server Interface run following command in powershell:
#Install-Windowsfeature server-gui-shell –restart

No Comments »

admin on January 22nd 2013 in IT, Windows Server

From Windows 2012 Server GUI to Core

Run following command in powershell:
#Uninstall-WindowsFeature Server-GUI-Mgmt-Infra, Server-Gui-Shell –restart

No Comments »

admin on January 22nd 2013 in IT, Windows Server

From Windows 2012 Server Core to GUI

By default Windows 2012 Server is installed without a GUI (Graphic User Interface). But compared to Windows 2008 R2, it can be added later with following command:
#Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell

Unfortunately this command did not work for me because it can’t find the source. So you need to put/mount Windows 2012 Server CD first and after that run following commands:
1. Create a folder to mount Server WIM.
#mkdir C:\MountWim\
2.  Get the index number of the GUI Server image.
#dism /get-wiminfo /wimfile:d:\sources\install.wim
3. Mount the WIM for the installed Server with GUI. In my case it was DataCenter GUI which had the index number 4.
#dism /mount-wim /wimfile: d:\sources\install.wim /Index:4 /mountdir:C:\MountWim\ /readonly
4. Run powershell:
#powershell
5. Start Installation:
#Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –restart –source C:\MountWim\Windows\WinSxS

Or you can mount straight away the Wim-File:
1. #Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –restart –source wim:d\sources\install.wim:4

No Comments »

admin on January 22nd 2013 in IT, Windows Server




Check out new movies online website. Download and buy movies now.
1