Bart's Weblog

Just a blog…

Archive for the ‘Microsoft’ Category

Best practices for DNS settings on DC and domain members

Posted by bartvdw on 1717/0707/2013

Very good and to the point summary!

http://abhijitw.wordpress.com/2012/03/03/best-practices-for-dns-client-settings-on-domain-controller/

Posted in Active Directory, DNS, Microsoft, Windows | Leave a Comment »

WSUS: PoshPAIG (PowerShell Patch Audit/Installation GUI)

Posted by bartvdw on 0606/0505/2013

PoshPAIG (PowerShell Patch Audit/Installation GUI)
http://poshpaig.codeplex.com

Posted in Microsoft, PowerShell, WSUS | Leave a Comment »

WSUS: Approve all needed updates for a computer group using a member as reference

Posted by bartvdw on 0606/0505/2013

Approve updates for a computer group using a member as reference (computer using as reference must be member of that group); adapt variables in the beginning of the script to suit your needs (this is not for WSUS on Windows Server 2012!!):

[reflection.assembly]::LoadWithPartialName(“Microsoft.UpdateServices.Administration”) | out-null
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer(‘wsus.domain.local’,$false,80);
$groupName = “Servers”
$computerName = “reference.domain.local”
$approveUpdates = $false

$group = $null
$computer = $wsus.GetComputerTargetByName($computerName)
$groups = $computer.GetComputerTargetGroups() | foreach-object {
If ($_.Name -eq $groupName) {
$group = $_;
}
}
Function GetComputerGroupByName ($group) {
$wsus.GetComputerTargetGroups() | foreach-object {
if ($_.Name -eq $group) {$_;}
}
}
if ($group -eq $null) {throw new-object System.Exception($computerName + ” doesn’t below to group ” + $groupName)}

$updateScope = new-object Microsoft.UpdateServices.Administration.UpdateScope;
$updateScope.IncludedInstallationStates = “NotInstalled”
#$updateScope.ApprovedStates = “NotApproved”

$action = [Microsoft.UpdateServices.Administration.UpdateApprovalAction]::Install;
$updates = $computer.GetUpdateInstallationInfoPerUpdate($updateScope);
$updates | foreach-object {
$u = $wsus.GetUpdate($_.UpdateId);
If ($approveUpdates) {
$u.Approve($action,$group);
} else {“Need to approve ” + $u.Title}
};

Approve Needed Updates
http://gallery.technet.microsoft.com/e3b33372-1e7f-41ea-ad83-ecc10ba5f0f6

Posted in Microsoft, WSUS | 2 Comments »

Microsoft SQL Server 2005: Display Fragmentation Information of Data and Indexes of Database Table

Posted by bartvdw on 0202/0505/2013

SQL SERVER – 2005 – Display Fragmentation Information of Data and Indexes of Database Table
http://blog.sqlauthority.com/2008/01/10/sql-server-2005-display-fragmentation-information-of-data-and-indexes-of-database-table/

Posted in Microsoft, SQL | Leave a Comment »

Microsoft Exchange 2010: How to limit memory usage

Posted by bartvdw on 0202/0505/2013

How to limit Exchange 2010 memory usage
http://www.bursky.net/index.php/2012/05/limit-exchange-2010-memory-use/

Posted in Exchange, Microsoft | Leave a Comment »

Complete Step by Step to Remove an Orphaned Domain Controller

Posted by bartvdw on 1919/0303/2013

Great article describing all different steps and scenario’s, a must read!

Complete Step by Step to Remove an Orphaned Domain Controller
http://msmvps.com/blogs/acefekay/archive/2010/10/05/complete-step-by-step-to-remove-an-orphaned-domain-controller.aspx

Posted in Active Directory, Microsoft, Windows | Leave a Comment »

Windows 8 & GPP Drive Mappings in Replace mode with option Reconnect checked problem

Posted by bartvdw on 0505/0202/2013

Stumbled across an issue with Windows 8 clients & GPP Drive Mappings in Replace mode with option Reconnect checked: no errors were reported during GPO/GPP processing, however those drive maps didn’t appear on the client!

Quick search showed that I wasn’t the only one, link below clearly indicates more people encountered this issue. As it seems, MS is currently looking into it. Let’s hope they solve it quickly!

http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/64e01325-9b2f-477c-ab51-7b10692b583a/

Update: this appears to be solved with the latest MS updates…

Posted in Group Policy Preferences, Microsoft, Windows 8 | Leave a Comment »

Windows Server 2012: New cool DHCP feature !

Posted by bartvdw on 1919/1111/2012

With the release of WS2012 there are many new features included and discussed. One I find personally great is DHCP Failover !

If you’re planning WS2012 DHCP servers, you should most certainly look into this feature and use it…

Ensuring High Availability of DHCP using Windows Server 2012 DHCP Failover
http://blogs.technet.com/b/teamdhcp/archive/2012/06/28/ensuring-high-availability-of-dhcp-using-windows-server-2012-dhcp-failover.aspx

Step-by-Step: Scoping out the NEW DHCP Failover in Windows Server 2012 – 31 Days of Favorite Features ( Part 28 of 31 )
http://blogs.technet.com/b/keithmayer/archive/2012/10/28/step-by-step-scoping-out-the-new-dhcp-failover-in-windows-server-2012-31-days-of-favorite-features-part-28-of-31.aspx#.UKofh4a4joG

Posted in DHCP, Microsoft, Windows, Windows Server 2012 | 1 Comment »

Windows Server 2012: DFSR information

Posted by bartvdw on 1919/1111/2012

Great article describing a lot of DFSR improvements in WS2012.

Beware in the ‘Dynamic Access Control Support’ part, it states: ‘Microsoft strongly discourages mixed Windows Server 2012 and legacy operating systems DFSR.’

In the comments the author Ned Pyle notes regarding migration: ‘Remember the point above that you should not deploy claims-based access/central access policy to these machines until you have all Win2012 though.’

I think that’s quiet important detail to remember! Now start reading these great articles, both by Ned Pyle…! 🙂

 

DFS Replication Improvements in Windows Server 2012
http://blogs.technet.com/b/filecab/archive/2012/11/12/dfs-replication-improvements-in-windows-server-2012.aspx

Series Wrap-up and Downloads – Replacing DFSR Member Hardware or OS
http://blogs.technet.com/b/askds/archive/2010/09/10/series-wrap-up-and-downloads-replacing-dfsr-member-hardware-or-os.aspx

Posted in Microsoft, Windows, Windows Server 2012 | Leave a Comment »

AD: Migrate FRS to DFSR

Posted by bartvdw on 1919/1111/2012

Short background: FRS is used to replicate SYSVOL between domain controllers since Windows Server 2000. However starting with WS2008 you can migrate to DFSR for this replication, if you meet the requirements ofcourse.

Below some great resources which explain why you want to migrate and how to execute it.

SYSVOL Migration Series: Part 1 – Introduction to the SYSVOL migration process
http://blogs.technet.com/b/filecab/archive/2008/02/08/sysvol-migration-series-part-1-introduction-to-the-sysvol-migration-process.aspx

SYSVOL Migration Series: Part 2 – Dfsrmig.exe: The SYSVOL migration tool
http://blogs.technet.com/filecab/archive/2008/02/14/sysvol-migration-series-part-2-dfsrmig-exe-the-sysvol-migration-tool.aspx

SYSVOL Migration Series: Part 3 – Migrating to the Prepared State
http://blogs.technet.com/filecab/archive/2008/03/05/sysvol-migration-series-part-3-migrating-to-the-prepared-state.aspx

SYSVOL Migration Series: Part 4 – Migrating to the ‘REDIRECTED’ state
http://blogs.technet.com/filecab/archive/2008/03/17/sysvol-migration-series-part-4-migrating-to-the-redirected-state.aspx

SYSVOL Migration Series: Part 5 – Migrating to the ‘ELIMINATED’ state
http://blogs.technet.com/filecab/archive/2008/03/19/sysvol-migration-series-part-5-migrating-to-the-eliminated-state.aspx

FRS to DFSR Migration Tool Released
http://blogs.technet.com/b/askds/archive/2010/05/27/frs-to-dfsr-migration-tool-released.aspx

Migrating SYSVOL replication from NTFRS to DFSR using Windows Server 2008 R2
http://www.virtuallyimpossible.co.uk/migrating-sysvol-replication-from-ntfrs-to-dfsr/

FRS to DFSR migration guide published
http://blogs.technet.com/b/askds/archive/2010/04/20/frs-to-dfsr-migration-guide-published.aspx

Posted in Active Directory, Microsoft, Windows | 1 Comment »