Steve Pietrek - Everything SharePoint

My continuous learning of SharePoint…

Archive for the 'Infrastructure' Category


Expand VHD File

Posted by Steve Pietrek on August 7, 2007

Today I needed to expand a VHD file. Below are the “easy” steps I followed to get it working.
1. Download VHD Resizer and follow instructions to expand the VHD file. The problem is the extra space will be unformatted raw space.

2. Download Virtual Server. Do a Custom install and only install VHDMount. I use only VPC 2007 so I only cared about VHDMount.

3. Open a Command Prompt and type the following commands (in the host OS). Note: I copied the vhd file to the same directory as VHDMount.

Read the rest of this entry »

Posted in Infrastructure | 2 Comments »

Windows Server 2003 Antivirus Recommendation

Posted by Steve Pietrek on May 24, 2007

As with most SharePoint developers, I make heavy use of Virtual PC to create VMs. One area I have passed over is anti virus. I sent an email to Grisoft and received an email back saying I need the “AVG SharePoint Server Edition” which are sold in packages 25, 50, 75, and 100 licenses. This seems like overkill, along with extreme expense, since they wouldn’t give me a price (they told me to call them).

Yesterday our company was slammed with some SQL Server 2005 virus which caused major issues. I want to make sure this virus doesn’t occur in my VM environments.

Can somebody recommend a good, non-expensive anti virus program which will run on Windows Server 2003?

Posted in Infrastructure | No Comments »

Change Active Directory Strong Password Policies

Posted by Steve Pietrek on May 8, 2007

Recently I have been creating numerous VM’s for my SharePoint development. Typically the first thing I do is create a base Windows Server 2003 VM with Active Directory. Inevitably, during the process of creating users I receive the error (see below) that the password has not met the password policy requirements. Since I want all users to have the same simple password, I needed a way to change the strong password policies.

Windows cannot set the password for <user> because: The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.

Below are the steps to do so:

  1. Select Domain Security Policy from Administrative Tools.
  2. Expand Security Settings-Account Policies-Password Policy.
  3. Right-click on “Minimum password length” in the right pane and select Properties.
  4. Do not remove the check for the “Define this policy setting” check box.
  5. Enter a new setting - I set mine to 0 (no password required) and click OK.
  6. Right-click on “Password must meet complexity requirements” in the right pane and select Properties.
  7. Do no remove the check for the “Define this policy setting” check box.
  8. Select the Disabled option and click OK.
  9. Close the “Default Domain Security Settings” dialog.
  10. Select Start-Run and type in cmd.
  11. Type “gpupdate /force” (without the quotes) and click Enter.
  12. Type “exit” (without the quotes) to exit Cmd.

IMPORTANT NOTE: I WOULD NOT RECOMMEND REMOVING STRONG PASSWORD POLICIES IN A PRODUCTION ENVIRONMENT.

Posted in Infrastructure | No Comments »