Sander's space

Just another WordPress.com site

Microsoft Releases Windows Technical Preview Build 9879

Posted by Sander on November 12, 2014

Posted in Uncategorized | Leave a Comment »

Backup Problem on physical Windows 2012 R2 Domain Controllers

Posted by Sander on January 9, 2014

In my testlab I have build 1 physical domain controller with 6 physical identical disks. Each pair of disks were configured in a RAID 1 combination. After installing Windows Server 2012 R2 Standard Edition and promoting the server to a Domain Controller I had issues configuring and running a full Windows Server Backup.

I have used the following configuration for the Operating System and Directory Service:

OS: RAID 1 (consisting of 2 identical physical disks)
Active Directory: RAID 1 (consisting of 2 identical physical disks)
Backup: RAID 1 (consisting of 2 identical physical disks)

The volume for the backups were dedicated for this purpose. After configuring a Full Backup and running a test the following error appeared:

“The backup operation that started at ‘‎2013‎-‎12‎-‎02T14:05:15.130000000Z’ has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code ‘0x80780119’. Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.”

The cause of the problem was that the amount of MB’s for the Shadow Copy was too low…

In order to fix this I have executed the following steps:

  1. Start Server Manager and browse to File and Server Services\Servers
  2. Assign a drive letter to the Recovery Partition for example B
  3. Open Windows Explorer and select the B-drive and right click
  4. Select Configure Shadow Copies and select Settings of the B-drive
  5. image
  6. Change the B-drive in the Located on this volume to C:\
  7. Change the Use Limit from what you have to 500 MB and click OK
  8. Close all dialog boxes
  9. Remove the B-drive letter which you have assigned in Step 2

Start your Windows Server Backup and it should work.

 

Sander.

Posted in Backup, Windows Server 2012 R2 | Leave a Comment »

WMI GPO Filters for Windows Server 2012

Posted by Sander on March 14, 2013

When deploying Group Policies in a Windows environment, often you may have different GPOs for different versions of the operating systems. With the recent release of Windows 8 and Windows Server 2012, it’s likely you will have new GPOs just for these operating systems. You could build out new OUs for the each OS type, but that can get messy rather quickly.
My personal preference for most cases is to use WMI filtering to limit which operating systems a GPO applies to. This way you can dump all your member servers in one OU, and filter GPOs based on OS type.
To create a WMI filter, first you need to open the GPMC and locate the WMI Filters node. Start the new WMI filter creation wizard, and enter a name of your WMI filter. I always put the OS type, so it’s clear what OS the filter is for:

Now you need to add the actual WMI filter by clicking on the Add button. Next up is the tricky part! You need to type in or paste the WMI query for your operating system type. There are several ways to do this, but I like using the OS version number, since that is independent of the OS flavor (enterprise, datacenter, professional, etc.).

After you have created the WMI filter, you now need to configure one or more GPOs to use the filter. At the bottom of the Scope tab on any GPO you will see the WMI Filtering option. From the drop down select the appropriate WMI filter

For server operating systems that are not domain controllers, use ProductType="3". For domain controllers only, use ProductType="2". This is a useful distinction, because you often want to prevent your GPOs from being applied to the domain controllers on your network.

That’s it…

Posted in Windows Server 2012 | Tagged: | Leave a Comment »

How to backup a SQL database to a mapped network share…

Posted by Sander on December 13, 2012

 

Step 1: Map the network drive

EXEC xp_cmdshell ‘net use <drivename> <share name>’
Example: EXEC XP_CMDSHELL ‘net use H: \\machinename\sharename’

Step 2: Verify drive mapping

Example: EXEC XP_CMDSHELL ‘Dir H:’

When done  you can start the backup. If you receive the message that Xp_CmdShell is not enabled do the following to correct this:

To allow advanced options to be changed.
EXEC sp_configure ‘show advanced options’, 1
GO
To update the currently configured value for advanced options.
RECONFIGURE
GO
To enable the feature.
EXEC sp_configure ‘xp_cmdshell’, 1
GO

To update the currently configured value for this feature.
RECONFIGURE
GO

Posted in SQL Server | Leave a Comment »

Windows 8 has reached the RTM milestone

Posted by Sander on August 1, 2012

Today, I am excited to announce that Windows 8 has been released to manufacturing (RTM)! This means we’ve completed the product development and testing of the product and have started handing off the final code to our OEM partners. They can now begin preparing new Windows 8 PCs and devices they’ll introduce starting with General Availability. For more on RTM, I suggest reading this blog post from Steven Sinofsky on the Building Windows 8 blog.

Start_Default_RTM_3ROW

So when will folks be able to get their hands on the new Windows 8 RTM code?

People will be able get Windows 8 starting on October 26th either by upgrading for $39.99 or on a new PC or device. And if you buy an eligible Windows 7 PC today, you will be able to purchase an upgrade to Windows 8 Pro for $14.99 (U.S.) through the Windows Upgrade Offer.

However, we have a number of programs that provides various audiences early access to the Windows 8 RTM code to help prepare for Windows 8 as it enters the marketplace this fall:

  • August 15th: Developers will be able to download the final version of Windows 8 via your MSDN subscriptions.
  • August 15th: IT professionals testing Windows 8 in organizations will be able to access the final version of Windows 8 through your TechNet subscriptions.
  • August 16th: Customers with existing Microsoft Software Assurance for Windows will be able to download Windows 8 Enterprise edition through the Volume License Service Center (VLSC), allowing you to test, pilot and begin adopting Windows 8 Enterprise within your organization.
  • August 16th: Microsoft Partner Network members will have access to Windows 8.
  • August 20th: Microsoft Action Pack Providers (MAPS) receive access to Windows 8.
  • September 1st: Volume License customers without Software Assurance will be able to purchase Windows 8 through Microsoft Volume License Resellers.

Please note: if a program you are in is not mentioned, please be patient as dates for Windows 8 RTM code availability for other programs will be communicated when the information becomes available.

For more information on what the RTM of Windows 8 means for businesses including Volume License customers, see this blog post from Erwin Visser on the Windows for your Business Blog. This post, also from Erwin, on how Windows 8 will work in your business is also a good post to read.

On August 15th, developers will be able to visit the Windows Dev Center to get access to all the tools and resources they need including the final build of Visual Studio 2012 to design, build, and sell apps in the Windows Store. Keep your eyes on the Windows Store for developers blog and Windows 8 app developer blog for more information. I am super excited to see the kinds of apps developers build for Windows 8! If you have the Windows 8 Release Preview installed, you can already check out some apps developers have created for Windows 8 today.

In the meantime, if you’d like to give a pre-release version of Windows 8 a test-run, feel free to download the Windows 8 Release Preview! You can also read about my personal experience with the Windows 8 Release Preview here (hint: I put it on all my PCs!).

Continue at source

Posted in Uncategorized | Leave a Comment »

Windows Server 2012 released to manufacturing!

Posted by Sander on August 1, 2012

Microsoft is pleased to announce that Windows Server 2012 has been released to manufacturing, and will be generally available for evaluation and purchase to customers around the world on September 4, 2012.

We encourage you to visit the Windows Server 2012 launch page to save the date for our virtual launch event on September 4, where you’ll have the unique opportunity to get the inside scoop from our executives, engineers, customers and partners from around the world who are transforming their datacenters and increasing IT efficiencies with help from Windows Server 2012. Attendees will be able to learn more about the product features and capabilities and connect with experts and peers. They will also be able to collect points along the way for the chance to win some amazing prizes.

Windows Server 2012 is the cornerstone of the modern datacenter, helping companies of all sizes embrace private and hybrid cloud computing, in order to move faster, save money and better compete. With the launch of Windows Server 2012, Microsoft is ushering in the era of the Cloud OS, and encouraging customers to realize the benefits of the cloud today to build a solid foundation for their future.

For more information about Microsoft’s cloud optimized OS, please visit the Windows Server 2012 product page. You can also follow the conversation on Twitter at #Winserv.

Continue at source

Posted in Uncategorized | Leave a Comment »

Visual Studio 2012 and .NET 4.5 Complete!

Posted by Sander on August 1, 2012

Today, the Windows and Windows Server teams announced that Windows 8 and Windows Server 2012 have been released to manufacturing. In keeping with our goal of delivering great tools on the same cadence as our platforms, I’m thrilled to announce that we have completed final builds of Visual Studio 2012 and .NET 4.5.

This has been an exciting road for all of us involved in these projects, and we’re glad to be able to deliver these to our customers.

For MSDN Subscribers, the bits will be available for download on August 15th. Visual Studio Professional, Premium, Test Professional, and Ultimate with MSDN Subscribers can also sign up for a free, one year developer account for Windows Store today, with Windows Phone developer accounts coming soon.

We’re also planning an exciting launch event on September 12th, so mark your calendars, and visit http://visualstudiolaunch.com for more details.

Thank you to all of you that have taken the time to try the Visual Studio 2012 Developer Preview, Beta, and Release Candidate releases. Your feedback has been very helpful.

Continue at source

Posted in Uncategorized | Leave a Comment »

Windows 8 will be available on…

Posted by Sander on July 19, 2012

…October 26th, 2012! That’s right! Just a few minutes ago, Steven Sinofsky announced at Microsoft’s annual sales meeting that customers will be able to get Windows 8 – whether in upgrade fashion or on a new PC – starting on October 26th. Earlier this month at the Microsoft Worldwide Partner Conference, Tami Reller told attendees Windows 8 would be available in October. But now everyone has a specific date to mark on their calendars. It’s on mine!

Continue at source.

 

Posted in Uncategorized | Leave a Comment »

TechEd Europe 2012

Posted by Sander on March 30, 2012

Image

Posted in Uncategorized | Leave a Comment »

Windows 2008 R2 COM+ Error

Posted by Sander on March 17, 2012

Hi,

For some time now I have some issues with a server which could not update and on which the antivirus client would not start.

The underlying problem was only one component: COM+

After trying to manually start the service the following error was produced in the Application eventlog with EventID 4609 with source “EventSystem””

“The COM+ Event System detected a bad return code during its internal processing. HRESULT was 80070002 from line 200 of d:\w7rtm\com\complus\src\events\tier2\service.cpp. This warning may be expected if the computer is low on resources. If the computer is not low on resources, and these warnings persist, it may indicate a problem in the COM+ Event System.”

The first problem I have noticed that the service was set to log on as “Local System” The default value for the service is “Local Service”. I changed this to “Local Service” and left the password field blank and tried to start the service manually. Again it failed and eventually it turned out to be an corrupted registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem).

I took the following steps to resolve the problem:

  1. As this was a virtual machine I created a snapshot of the server.
  2. Exported the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole registry and saved it on another server
  3. Deleted the following subkeys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole:
    • MachineAccessRestriction
    • MachineLaunchRestriction
  4. Exported the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem from a healthy Windows 2008 R2 server
  5. Exported the same key on the affected server and deleted it.
  6. Imported the registry key from the healthy server
  7. Rebooted the server

After rebooting the server all services were starting normally again.

Sander.

Posted in Windows 2008 R2 | 7 Comments »