Activate Server Evaluation license with volume license key

Run cmd promnt with Administrator rights Check installed edition – DISM /online /Get-CurrentEdition Check possible target edition – DISM /online /Get-TargetEditions Initiate license upgrade – DISM /online /Set-Edition: /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula eg: DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula Restart server Check whether server is activated, if not activated, click on change product key and re-enter license again

Read More

Useful Group Policy for system admin

Deploy Printer Add Print and Document service feature >> Add printer driver >> navigate to Print and document service>> Print management>> select printer and right click>> Select deploy with group policy >> Browse and select a policy eg>> default domain policy>> Tick per user and per machine Alternative method Navigate to User Configuration\Preferences\Control Panel Settings\Printer Right click and select >> New >> […]

Read More

Useful Powershell cmdlets for System Admin

Help get-help syntax Eg: get-help get-vmhost get-help syntax -examples = displays help with examples Server Configuration Type cmdlet sconfig Install a feature using an exported configuration file: Install-WindowsFeature –ConfigurationFilePath FILENAME Eg: Install-WindowsFeature –ConfigurationFilePath x:\filename.xml Convert VHD to VHDX: ConvertVHD –Path (path) –DestinationPath (path) Eg:  Convert-VHD –Path c:\drive1.vhd – DestinationPath c:\drive1.vhdx Remote Administration of Server from Workstation: Run following cmdlets […]

Read More

Upgrade server to Server 2012 R2

To upgrade server to server 2012 R2, it requires windows server 2003 and higher DC Insert OS installation disc and go to folder source\ADPrep\ADPrep.exe Run ADPrep /ForestPrep in forest and ADPrep /DomainPrep on each domain Once complete, run command RepAdmin /SyncAll /APeD – (force a sync to all the document controllers in domain) wait few minutes […]

Read More

Server Core configuration steps

Initial configuration: Start sconfig Rename Computer Name (Option 2) Check if Remote management is enabled (Option 4) Change windows update to Automatic (Option 5) Remote Desktop – Enable (Option 7) Setup Network (Option 8) Add Server to domain (Option 1) Configure server core for remote administration: Open server manager From server manager, right click “All Servers” […]

Read More

Upgrade Evaluation version for Server 2012

Run slmgr.vbs /dlv or slmgr.vbs /dli– Displays expiration day DISM /online /Get-CurrentEdition – Displays server edition DISM /online /Get-TargetEditions – Displays possible option to upgrade editions DISM /online /Set-Edition:<edition> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula – Initiates upgrade

Read More

Disable AutoShareServer

For Server Open regedit Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\ Create DWORD (32 bit) Value Type: AutoShareServer Set Value to 0 For workstation Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\ Create DWORD (32 bit) Value Type: AutoShareWks Set Value to 0

Read More