Saturday, August 11, 2012

Connecting to a WIndows 7 FIleShare From MAC 10.8

So I started using a MacBook Air recently running Mountain Lion.  I attempted to connect to my Windows 7 file shares but could not.  I assumed that the issue was with my Mac as my other Windows Systems had no issues, nor did my linux systems.  Through investigations it was revealed that by altering the way windows handles memory used by file sharing on the Windows 7 system, the issue is resolved.  On the Windows 7 system, I had to set HKLM\System\CCS\LanmanServer\Parameters\Size from 1 to 3.  The settings for this control how the host handles memory devoted to file shares.  There are three possible values:
  1: Minimize the Memory Used
  2: Balance
  3: Maximize throughput for file sharing.

On my windows 7 host it was set to 1, when I tried to connect to if from the Mac Finder all I get is a message connection failed.  Using the command line smbutil view //  I get a insufficient memory error.  When I changed the above setting and restarted the Windows 7 host, all my problems went away....  

Saturday, February 18, 2012

Cleanup WinSXS in Windows 7

The winsxs folder under c:\windows is used to store install and uninstall files, windows packages, and out-of-band releases. This folder should NEVER be deleted. However it can grow to an unmanageable size. Running the command:

dism /online /cleanup-image /spsuperseded

from an elevated command prompt will remove unecessary files.

Thursday, February 16, 2012

Office 2010 Group Policy Definitions

To deploy office 2010 group policy definitions, do the following:
  1. Download the templates from http://www.microsoft.com/download/en/details.aspx?id=18968
  2. Launch the downloaded executiables and choose a location to extract the files.
  3. In C:\WINDOWS\SYSVOL\domain\Policies create a folder called PolicyDefinitions.
  4. Copy all the admx files from the extracted file locations to C:\WINDOWS\SYSVOL\domain\Policies\PolicyDefinitions.
  5. Copy the language folder under the admx extracted location to C:\WINDOWS\SYSVOL\domain\Policies\PolicyDefinitions
The Office GPO options are now available via GPO.

Deactivating WIndows 7 OEM

To deactivate windows 7 OEM:
  1. Remove all files under c:\windows\system32\oem
  2. From an elevated command prompt, execute slmgr.vbs /upk
  3. Restart the pc