Category: Server2012
-
How to find a WindowsFeature to install in Powershell
get-windowsfeature | where {$_.Name -like “*AD*”}
-
Windows server 2012 activation grace period
Slmgr /rearm Shutdown /r /t 0 Thanks, Malcolm
-
How to configure Server Core as Domain Controller
UNOFFICIAL Add-WindowsFeature AD-Domain-Services Import-Module ADDSDeployment Install-ADDSForest ` -CreateDnsDelegation:$false ` -DatabasePath “C:\Windows\NTDS” ` -DomainMode “Win2012” ` -DomainName “CHALMERS.net” ` -DomainNetbiosName “CHALMERS” ` -ForestMode “Win2012” ` -InstallDns:$true ` -LogPath “C:\Windows\NTDS” ` -NoRebootOnCompletion:$false ` -SysvolPath “C:\Windows\SYSVOL” ` -Force:$trye
-
How to install a DNS Server on Server Core
UNOFFICIAL [draft] Install-windowsfeature DNS Add-DnsServerPrimaryZone -Name “DMZ.ServerCore.Net” -ZoneFile “dmz.servercore.net.dns” dnscmd.exe localhost /ZoneAdd 0.209.17.85.in-addr.arpa /Primary /file 209.17.85.in-addr.arpa.dns
-
How to install a DHCP Server on Server Core
UNCLASSIFIED [draft] Install-WindowsFeature DHCP –IncludeManagementTools Add-DhcpServerv4Scope -Name “Internal” -StartRange 192.168.0.10 -EndRange 192.168.0.250 -SubnetMask 255.255.255.0 -Description “Internal Network” Set-DhcpServerv4OptionValue -ScopeID “Internal ” -DNSServer 192.168.0.1 -DNSDomain demo.servercore.net -Router 192.168.0.254 Add-DhcpServerInDC -DNSName demo.servercore.net Source : https://4sysops.com/archives/how-to-install-a-dhcp-server-on-server-core/
-
Remote Server Administration Tools (RSAT) for Windows
http://social.technet.microsoft.com/wiki/contents/articles/2202.remote-server-administration-tools-rsat-for-windows-vista-windows-7-windows-8-windows-8-1-windows-server-2008-windows-server-2008-r2-windows-server-2012-and-windows-server-2012-r2-dsforum2wiki.aspx
-
Windows 2008R2 GPO to set desktop wallpaper
User Configuration > Administrative Templates > Desktop > Desktop
-
How to turn off the firewall on a Windows Server core installation
C:\> netsh advfirewall set currentprofile state off see http://support.microsoft.com/kb/947709 for more information
-
How to add workgroup servers to Server 2012 Server Manager
Adding domain servers to the Windows Server 2012 Server manager is easy, however if your servers are all part of a workgroup, you need to do extra work. On the management host, run the powershell command. Set-Item wsman:\localhost\Client\TrustedHosts Server01 -Concatenate -Force Then run, New-ItemProperty -Name LocalAccountTokenFilterPolicy -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -propertyType DWord -value 1 Then add the…