Category Archives: Server

– Microsoft Windows Server

Windows Server

Planning, Installation, Roles Upgrade

  • You can only upgrade from Windows 2008 & 2008 r2 x64 bit.
  • Windows server 2012 is only available on 64bit.

Planning Installation & Roles

  • Practice in VM & get accustomed to GUI, Test software.
  • Prepare Hardware (Map toolkit) 0 identifying whether your desktop or server is upgradable.

Minimum Requirements
server1

(Windows server 2012 system requirements PDF)

  • A good time for upgrades
  • Drivers > Mass Storage > Unsigned
  • Pre-learn Power Shell
  • Watch for removed (cbt.gg/mccc) Clustering Hyper-v changes etc.
  • Backup & Have Contingency. Test and Restore.
  • Roll out in stages

Installation Levels

  • Full GUI
  • Core (default)
    • Minimal attack surface
    • Small foot print
    • Highly Reliable
    • Easily Managed Winr2/WinRM, Powershell, server manager remotely administrating core.
  • Feature on demand
  • Minimal server interface

Windows Server Migration Tools

  • Migrate from W2k3 SP2/R2, W2K8 Full, R2 Win-12 Full/Core (Cannot W2k8 Core no .net frame work(
  • Physical to Virtual ; V to P
  • Only same UI language
  • Admin on both machines
  • PS Scripts
  • Migrate roles, Features, System settings, shares, data…..

Server > Dashboard

Manage

  • Add role and Features
  • Remove Rules and Features
  • Add server
  • Create Server Group
  • Server Manager Properties

Tools

  • Administrative tools etc.

Power Shell install  -windowsfeature migration

Configuring Server Core

Netsh interface ipv4 show interfaces

Set Static IP on the machine (ADMINISTRATOR P.S.)

Change IP address

Netsh interface ipv4 set address name=Ethernet source=static address=10.10.10.82 mask=255.255.255.0 gateway=10.10.10.1

Add Dns

Netsh interface ipv4 add dnsserver name=Ethernet address=10.10.10.70 index=1

Change hostname

Netdom renamecomputer %computer% /newname:yourname /userd:Administrator /password  /reboot:0

Connect to domain

Netdom join %computername% /domain:nuggetlab.com /userd:Administrator /Passwordd:/reboot:5

Add user

Net user Trainer /add *

Add user to a group

Net localgroup Administrators /add Trainer

Verify

Net user trainer

Sconfig (Server Config) 

Enabling For remote core

#Netsh advfirewall firewall set rule group=”remote administrator” new enable=yes

#Netsh advfirewall set allprofile state off

Reset initial config (Out of the box firewall)

Netsh advfirewall reset

Remote Management Methods

  • WNRM(Windown Remote Management)
  • QC (Quick Config)
  • Userful at CMD line

#winrm quickconfig

#winrm id –remote:( destination name)

#winrm g wnicimv2/Win32_OperatingSystem –fragment:FreePhysicalMemory –r:(Destination name)

#winrs  –r:(destination Name) ipconfig /all

Remote Server Administration Tool (RSAT)

Tool: Remote Desktop Manager & Server Manager

http://cbt.gg/18QmGdP

Manage Non-Domain Joined

  • Appllies When:
  • One or Both are in workgroup
  • Both in different domain w/ no trust relationship
  • Target Added Via IP Address
  • Add Target to trustedhost list
  • If target not in same Subnet not “Private” Profile
  • Change FW inbound “windows Remote Management(http-in)” & add management coputer by computername

Non Domain join

set-item wsman:\localhost\client\trustedhosts (Domain Name) -concatenate -force

Advertisements

Add/Edit Bat file

A batch file is an unformatted text file that contains one or more commands and has a .bat or .cmd file name extension. When you type the file name at the command prompt, Cmd.exe runs the commands sequentially as they appear in the file. You can include any command in a batch file.

How edit or Add Bat File

-My Network Places
-Entire Network
-Microsoft Windows Netowrk
-MYDOMAIN (domain)
-COMMONFOLDER (AD)
-Netlogon

edit Bat file.

How to verify user bat file
-User
-Properties
-Profile
-Logon Script (.Bat)