Asus Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 13 July 2012

Windows Server 2012: First Five Fixes

Posted on 07:16 by Unknown
Windows Server 2012: First Five Fixes:

Overview

I think Windows Server 2012 will fundamentally change the way IT Pros manage their Windows environments. I expect many of you are already kicking the tires on Windows Server 2012 and perhaps are even running it in a limited, testing environment.

When you first build a new system, and there are a number of ways to do it, I expect you will have a checklist of standard steps. Eventually, you will be like all the cool kids and use a PowerShell workflow, but for now I’m going to assume you will be employing a manual process.


I assume you will do the following tasks by default when setting up a new Windows Server 2012 system:
  • Configure computer name
  • Configure networking
  • Install features and roles
  • Run Windows Update
I’m not going to cover those as I think they are pretty self-evident in the Server Manager GUI, but I do have 5 additional “fixes” that I’ve been using. These are things that you may not think of immediately, but they will pay off down the road. My “First Five Fixes” aren’t in any order, but I’m assuming you’ve completed at least the default steps above before moving on to these.
Note: This article is based on a pre-release version of Windows Server 2012 and is naturally subject to change.

5. Enable PowerShell Remoting

Windows Server 2012 relies on PowerShell remoting, and for the most part, it is now turned on and enabled by default. I may eventually change my mind on this one, but for now I like seeing for myself that remoting is enabled. Open an elevated PowerShell session and run the following command:
PS C:\> enable-psremoting
You will be prompted for a number of settings. You should be able to accept the defaults as I did in Figure 1.

Enabling PowerShell Remoting

Figure 1. Enabling PowerShell Remoting
But now I have visual confirmation that remoting is enabled and I know what was set. If you want to skip all the prompts, simply run:
PS C:\> enable-psremoting -force

4. Set PowerShell Execution Policy

Next, at least for the servers I’m setting up, I will likely need to run PowerShell scripts. I need to set my execution policy accordingly. I prefer a setting of RemoteSigned at a minimum.
PS C:\Users\Administrator> Set-ExecutionPolicy remotesigned

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
As with Enable-PSRemoting, if you want to suppress the prompts, use the –Force parameter.

3. Update PowerShell Help Files

Because I’m going to spend a lot of time in Powershell, and I assume you will as well, we’ll need to update the help files. PowerShell 3.0 doesn’t ship with help content, so the first time you ask for help you’ll be prompted to update it if you haven’t already. Now is as good a time as any. In the same elevated PowerShell session, run this command:
PS C:\> update-help
You might get an error depending on what modules PowerShell finds on your server, because some of them haven’t been configured yet to support updateable help, or the files aren’t available yet. But you should be able to run this command:
PS C:\> help show-command –full
This should be a good indication that at least the core files have been updated.

2. Export Feature Configuration

Once the initial server configuration is complete, I recommend exporting it to an XML file. This allows you to re-use the XML file later to either rebuild the server, or duplicate the feature set on another server. When you go through the GUI to add a feature, there is an option at the bottom of the screen to export the file. I’ve highlighted it in Figure 2.

Export Features

Figure 2 Export Features

Assuming this is the last configuration, you could click the link and save the xml file. When you want to “import” the settings, use the Install-WindowsFeature and specify the configuration file.
PS C:\> Install-WindowsFeature –configurationfilepath \\file02\configs\Documents\2012Baseline.xml

1. Run Best Practices Analyzers

Finally, on a fresh install, you’ll see warnings until you run the Best Practices analyzer for each installed role. Instead of going through the GUI and manually launching each one, we can use PowerShell. It is actually quite easy to find the best practices scan for each installed feature.
PS C:\Users\Administrator> get-windowsfeature | where installed | get-bpamodel -erroraction silentlycontinue

Id : Microsoft/Windows/DNSServer
Company : Microsoft Corporation
Name : Microsoft DNS Server Configuration Analysis Model
Version : 1.0.0.0
LastScanTime : Never
LastScanTimeUtcOffset :
SubModels :
Parameters :
ModelType : SingleMachine
SupportedConfiguration :

Id : Microsoft/Windows/FileServices
Company : Microsoft Corporation
Name : File Services
Version : 1.0
LastScanTime : Never
LastScanTimeUtcOffset :
SubModels : {Dedup, DFSN, DFSR, FSRM...}
Parameters :
ModelType : SingleMachine
SupportedConfiguration :
I’m turning off the error pipeline because not everything you get from Get-WindowsFeature has a BPA. But now, it is very easy to revise this command and run the scan for each.



PS C:\Users\Administrator> get-windowsfeature | where installed | get-bpamodel -ea silentlycontinue | Invoke-BpaModel

ModelId : Microsoft/Windows/DNSServer
SubModelId :
Success : True
ScanTime : 6/25/2012 9:53:07 PM
ScanTimeUtcOffset : -04:00:00
Detail : {SRV2K12RC, SRV2K12RC}

ModelId : Microsoft/Windows/FileServices
SubModelId :
Success : True
ScanTime : 6/25/2012 9:53:13 PM
ScanTimeUtcOffset : -04:00:00
Detail : {SRV2K12RC, SRV2K12RC}
When everything is finished, I can view the results in Server Manager.

Summary

As we gain experience with Windows Server 2012 I expect this list will change slightly and certainly grow. I’ll be adding more content on Server 2012, especially once it is finally released.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)
Economy Hosting just Rs. 109/month for 12 months!

Popular Posts

  • Build the Mac Pro That You Wish Apple Released [Hackintosh]
    Build the Mac Pro That You Wish Apple Released [Hackintosh] : Last week Apple updated their Mac Pros to cutting-edge processors from 2010, e...
  • BD singer Porshi Scandal video download online
    BD singer Porshi BD singer Porshi video online BD singer Porshi  online Bangladeshi Chaneel I superstar singer Porshi recently released her ...
  • Curvy Girls of Miss Bumbum Brazil 2012
  • se l/e i ;ertoi' toi';t894t'4343
     EYAGA;P98 GTY;O' 98G/O; i; aiygt;a 90ghkhbkdhsl tie[ q[4890'8ihgxdhfs ;oa'9t hk4l ty'ae4t4 EYAGA;P98 GTY;O' 98G/O; i; a...
  • Sameeksha
  • Melyssa Grace: Hot Asian Import Model.
    Who Is Melyssa Grace? Quick Bio Name: Melyssa Grace Roberts Nickname: Mely Ethnicity: Filipina/German Profession: Model (Import) Birthdat...
  • Ankitha
  • Kay Valentine: Hot British Import Model.
    Kay Valentine Bio Quick Bio Name: Kay Valentine Nicknames: Princess Kay & Kay Veezy Ethnicity: Vietnamese/French Profession: Model (I...
  • Serangoon Road
    HBO's pioneer Asian series premiers this weekend By Nico Erle Ciriaco SINGAPORE CITY – Home Box Office (HBO) Asia announced in a press c...
  • Powering the Possible (Dell)
    Affording chances and other life skills By Earl D.C. Bracamonte Total solutions company Dell announced very recently that it will support t...

Categories

  • 1964
  • 3D frame resolution
  • 44th season
  • 4K technology
  • 60s theme
  • 84-inch LED
  • Abarat
  • Abbey Clancy
  • accessories
  • acqua
  • action
  • Aditi Gowarkar
  • Aditi Rao
  • adventure
  • agnes locsin
  • airlines
  • airplanes
  • Aisha
  • Aishwarya Rai
  • aklan
  • Alexandria Eissinger
  • Alia Bhatt
  • Alicia Machado
  • all-day
  • altro mondo
  • Amalia
  • american cuisine
  • Amisha Patel
  • Amrita Rao
  • Amy Jackson
  • Andrea Jeremiah
  • Aneh
  • anemia
  • Anika Kabir Shokh
  • Anjana Sukaani
  • Ankitha
  • Annelise Marie
  • anti-ageing
  • Anu Mehta
  • Anushka Sharma
  • apparel
  • Apple
  • appliances
  • Archana
  • Arpita Paul
  • art
  • art of dance
  • arte contemporanea
  • Asha Saini
  • asia pacific
  • asian
  • asians five nations tournament
  • aspen
  • Attahama Cheewanitchaphan
  • australian broadcasting corp
  • autumn
  • ayala center
  • Bag of Bones
  • ballet philippines
  • Bangladeshi Model
  • Bangladeshi Sexy Model
  • Bangladeshi Singer
  • bb pilipinas
  • bb. pilipinas
  • BD Model
  • beauty
  • beauty in giving
  • beddings
  • beds
  • Belarus
  • belt
  • beverly hills 6750
  • bgc
  • Bhavana
  • Bhuvaneshwari
  • biki
  • bikini
  • bio-oil
  • Bipasha Basu
  • Bisnis Lokal Go Online
  • bit.ly
  • blood disorder
  • book review
  • boracay
  • bp
  • bpci
  • breakfast
  • campaign
  • car seats
  • carriers
  • cause
  • ccp
  • cebu
  • Celina Jeitly
  • Certification
  • chef
  • childhope asia
  • children's joy foundation
  • Chitrangada Singh
  • christmas carol
  • cinema
  • cjfi
  • classical
  • Clive Barker
  • clothing
  • co-production
  • Cobie Smulders
  • collection
  • colors
  • comedy
  • competition
  • competitions
  • computer literacy
  • contact sports
  • contemporary
  • contest
  • contests
  • conveyances
  • coronation night
  • corporate social responsibility
  • corporate value
  • cqgq
  • CSR
  • cuisine
  • dance
  • Deeksha Seth
  • Deepika Padukone
  • deficiency
  • Dell
  • destination
  • destinations
  • detective noir
  • devices
  • Dhallywood Actress
  • Diana Monteiro
  • Diana Penty
  • digital products
  • dining
  • dive spots
  • Divya Bharathi
  • dockers
  • edna vida
  • elan awards
  • electronics
  • Elisha Cuthbert
  • Elle Evans
  • Emma Watson
  • Eragon
  • Erin Andrews
  • Evelyn Sharma
  • events
  • exhibit
  • f & b
  • fall
  • fashion
  • festivals
  • fila
  • filapinas
  • Filipina
  • film
  • foam
  • food
  • formulation
  • foundation
  • furnishings
  • gallery
  • garcia college of technology
  • gct
  • Geeta Basra
  • German brand
  • gianfranco pirrone
  • giselle
  • giselle sanchez
  • gkmbq
  • glorietta 5
  • gma 7
  • goo.gl
  • Google
  • grant
  • greenbelt 5
  • gusto kong maging beauty queen
  • H2O hotel
  • Hansika Motwani
  • hanupriya
  • Hazel Keech
  • hbo
  • hboasia
  • HD
  • Heera
  • high chroma texture
  • history
  • holiday
  • home
  • hot
  • iBT
  • IFBS
  • indigenous people
  • Indonesia
  • Indraja
  • initiative
  • installation art
  • international pageants
  • IPK
  • iron
  • Isha Chawla
  • italian
  • Japanese brand
  • jeff bridges
  • Jinri Park
  • john robert powers
  • Kajal Agarwal
  • Kajo
  • kalibo
  • kallery.net
  • Kamalini Mukharjee
  • Kamna Jatmalini
  • Kareena Kapoor
  • Katrina Kaif
  • Katy Perry
  • Kausha
  • Ken Follett
  • khaki
  • Kitami Masao
  • KLM
  • kristen stewart
  • kuh ledesma
  • Lambert Academic Publishing
  • LAP
  • Laura Baca
  • leather
  • Lee-Ann Roberts
  • lena gercke
  • life wear
  • linear atrophy
  • Lisa Haydon
  • mactan shangri-la
  • Mahima Chowdary
  • makati
  • malampaya
  • malaria
  • MAM
  • Mandakini
  • manila ocean park
  • Manjari
  • margie moran
  • Marian Rivera
  • Marika Baldini
  • marvel comics
  • Mary Elizabeth Winstead
  • mattresses
  • Maxim
  • mcjim
  • men
  • men's fashion
  • merck serono
  • Mette Munkø
  • Mila
  • minerals
  • Minisha Lambha
  • Minka Kelly
  • Minsk
  • Miss Supranational
  • miss world philippines
  • model
  • modern
  • modern art
  • moisturizer
  • Mounica Bedi
  • movie
  • movie review
  • mr jones
  • mutya johanna datul
  • mutya ng pilipinas
  • mvp bossing awards
  • mwp
  • My life
  • Nargis Fakhri
  • Natalie Pack
  • Navneet Kaur
  • Nayanatara
  • nbc tent
  • Neelam
  • Neha Jhulka
  • niccolo jose
  • Nikisha Patel
  • Nikitha
  • Nisha Kotari
  • nonoy froilan
  • nude
  • online voting
  • original
  • outreach
  • P2SMTP-LIPI
  • pageant
  • pageantry
  • pageants
  • painting
  • palawan
  • pants
  • Paris Hilton
  • paul morales
  • philippine volcanoes
  • pilipinas shell
  • Pillars of the Earth
  • planes
  • platinum award
  • poll
  • Pooja Bhatt
  • Pooja Gupta
  • Poonam Bajwa
  • popularity contest
  • Porshi
  • Porshi Scandal
  • Poses
  • powering the possible
  • Prachi Desai
  • precious lara quigaman
  • Preeti Jhingania
  • pret-a-porter
  • Priyanka Kotari
  • program
  • project
  • psfi
  • puerto princesa
  • PurCellin
  • quests
  • Raasi
  • Rachana Mourya
  • raffles hotel
  • raintree
  • Rambha
  • Ramya Krishna
  • Ramya Krishnan
  • range
  • readers digest
  • reality TV
  • Refaeli Bar
  • referrer spam
  • regza
  • rest in peace department
  • restaurant
  • restaurants
  • ripd
  • robert schwentke
  • Robin Scherbatsky
  • rock supremo
  • RTW
  • rugby
  • ryan renolds
  • SAKA
  • salagubang
  • salaminkera
  • Salli Villefrance
  • Saloni
  • Sam Kellet
  • Sameeksha
  • Sana Khan
  • sandra bullock
  • sangobion
  • Sara Carbonero
  • scarlett johansson
  • sculpture
  • sea air
  • search
  • Security
  • serangoon road
  • series
  • Sheela
  • shell
  • sheridan group
  • sheridan spa resort
  • Shireen
  • Shokh
  • Shradda Das
  • Shreya Saran
  • Shruthi Hassan
  • Shwetha Tiwari
  • sicily
  • Silk Smitha
  • Simran
  • SINAG
  • Sindu Tulani
  • singapore
  • skin damage
  • Sneha Ullal
  • social responsibility
  • solar entertainment
  • Sonam
  • Sonia Agarwal
  • sports palace
  • Stephen King
  • Stine Fabech
  • streetchildren
  • stretch marks
  • Sunny Leone
  • supplements
  • Susan
  • Swordless Samurai
  • technology
  • television
  • Thailand
  • the wicked
  • theater
  • Thomas Agatz
  • tiger air
  • tiger airways
  • Tim Clark
  • TOEFL
  • topical
  • toshiba
  • tourism
  • Tracy Chevalier
  • Translation
  • travel
  • treatment
  • tubbataha reef
  • Tulip Joshi
  • TV
  • Uditha Goswami
  • uip
  • Under The Dome
  • Uniqlo
  • Unknown
  • uratex
  • Urvashi Sharma
  • UT
  • Valentina Zambrotta
  • Varvara
  • Veda
  • Vedika
  • very hot
  • vijaya
  • Virgin Blue
  • visual arts
  • vitamins
  • well being
  • western philippines university
  • western visayas
  • wolverine
  • wood
  • world cup sevens
  • World Without End
  • x-men

Blog Archive

  • ►  2013 (137)
    • ►  September (15)
    • ►  August (21)
    • ►  July (8)
    • ►  June (12)
    • ►  May (8)
    • ►  April (6)
    • ►  March (13)
    • ►  February (33)
    • ►  January (21)
  • ▼  2012 (321)
    • ►  December (1)
    • ►  November (7)
    • ►  October (49)
    • ►  September (32)
    • ►  August (44)
    • ▼  July (69)
      • Emma Watson
      • Paris Hilton
      • Nayanatara
      • Andrea Jeremiah
      • Aditi Gowarkar
      • Bhavana
      • Amisha Patel
      • Sameeksha
      • Saloni
      • Sana Khan
      • Preeti Jhingania
      • Vedika
      • Mahima Chowdary
      • Anjana Sukaani
      • Ramya Krishnan
      • Sheela
      • Sonia Agarwal
      • Navneet Kaur
      • Anu Mehta
      • Bhuvaneshwari
      • Nargis Fakhri
      • Silk Smitha
      • Sunny Leone
      • Chitrangada Singh
      • scarlett johansson
      • lena gercke
      • Minka Kelly
      • Katy Perry
      • Bhanupriya
      • Isha Chawla
      • Indraja
      • Heera
      • Divya Bharathi
      • Sara Carbonero
      • Abbey Clancy
      • Hazel Keech
      • Erin Andrews
      • Valentina Zambrotta
      • Refaeli Bar
      • Cobie Smulders / Robin Scherbatsky
      • Use the Magic SysRq Key on Linux to Fix Frozen X S...
      • Understanding OAuth: What Happens When You Log Int...
      • Creating a secure 802.1x wireless infrastructure u...
      • Android File Transfer Takes the Pain Out of the Ma...
      • Safecopy Recovers Data from Hard Drives and Other ...
      • UpdateFreezer ices apps in place
      • Anti-Twin hunts down duplicate files
      • A New, Automated Approach to Achieving Application...
      • Get Email when New Aerial Images are available for...
      • Roll your own battery backup system
      • Make Your Own DIY Battery Backup System from Recyc...
      • Use Grounding Adapters to Make Extra Room on Power...
      • 67 Books Every Geek Should Read to Their Kids: A P...
      • FTC To Revisit Robocall Menace
      • The Death of Unlimited Data: What It Means, and Ho...
      • Confessions: The Phone Number
      • Where is the Cisco CCNA 2012 Update?
      • How to Find the Right SharePoint Training: A Resou...
      • Want to compare screen sizes or know if it will fi...
      • Your Uncle Wants Tech Support? Give Him This USB S...
      • Use Regular Expressions to Find Anything in your G...
      • A Piece of Paper That Boosts Your iPhone's Beats
      • Increase Your Odds of Actually Winning at Carnival...
      • Ultima IV Being Remade as Free-to-Play Ultima Forever
      • BioWare Revives Ultima as Free-to-Play RPG
      • Windows Server 2012: First Five Fixes
      • So You Want to Be a Security Expert
      • Yahoo! Voices Website Breached 400,000+ Compromised
      • How to stop unwanted robocalls
    • ►  June (113)
    • ►  April (3)
    • ►  February (1)
    • ►  January (2)
  • ►  2011 (42)
    • ►  December (2)
    • ►  November (4)
    • ►  September (1)
    • ►  August (21)
    • ►  July (2)
    • ►  June (1)
    • ►  May (5)
    • ►  April (6)
Powered by Blogger.

About Me

Unknown
View my complete profile