Pages

Wednesday, October 9, 2013

Group Policy - Password Settings Location

I thought that I was pass this along. 

Below is the location in Group Policies that controls password settings.
Computer Configuration > Policies > Windows Setting > Security Settings > Account Policies >Password Policy
The policies you can set here are 
Password Age (both minimum and maximum)
Minimum Length
Require Complexity (Min of six characters, can't contain user's account name or full name, and any 3 of the following:  one capital letter, one lower case letter, a number, and a non-alphabetical character (for example, !, $, #, %))


If you want to change the default change password notification from 14 days, you can find it here:
Computer Configuration > Policies > Windows Setting > Security Settings > Local Policies > Security Options > Interactive logon: Prompt user to change password before expiration
I have changed it from 14 day to 7 days.

Tuesday, October 8, 2013

Compacting Linux Hyper-V VHDs

To compact linux VHDs, run the command below before you shutdown the virtual machine.
cat /dev/zero > zero.dat ; sync ; sleep 1 ; sync ; rm zero.dat
This creates a large empty file full of zeros and then deletes it.


Original Source
http://blogs.msdn.com/b/virtual_pc_guy/archive/2005/08/23/454846.aspx

Friday, October 4, 2013

Linux Command Line Cheat Sheet

I know that all of these commands are out there on Google, but this is a cheat sheet for me.

Copy files
cp -R Source Destination
Mount NFS volume
mount -t ip_address:/nfs_share /mount_location