Archives for the month of: April, 2011

The Saga

I’ve definitely been beating my head on the desk with this one for a few days but finally found a solution thanks in part to Google.  I was attempting to install Additional Drivers for a printer that was shared/installed on a print server running Windows Server 2008 R2.  If you are reading this, then you no doubt have experienced the severe shortcoming by Microsoft in this area of O/S functionality.  It’s simply broken and I’m surprised that they have yet to fix it (I guess they want us all to move to Windows 7 ASAP).

When attempting to install the x86 User Mode drivers, I was first prompted for the location of the drivers.  Then soon after I was prompted for the Windows Server x86 installation media.  Huh?  Come to find out, the installer wanted the ntprint.inf file.  Unfortunately, there’s no easy way to get to this file because the installer will not accept it from the C:\Windows\inf folder or from the latest Windows Server 2008 media directly.

The solution is to utilize the Windows AIK‘s imagex tool to mount the install.wim file so that you can grab the ntprint.inf (and all of the other files necessary for installation).  So here’s how I got it resolved.

How to Install the ntprint.inf File on Windows Server 2008 R2

  1. Download and install the Windows AIK.   This particular one is for Windows Vista and Windows Server 2008.  Here’s the one for Windows 7 and Windows Server 2008 R2.  I didn’t perform these steps with the latter but if anyone wants to give it a shot, let me know.
  2. Insert the installation media for Windows Server 2008 32-bit and go to [drive]:\sources\ folder.
  3. Copy the install.wim file to a temporary folder–let’s say C:\TEMP.
  4. Create a folder to act as a mount point–let’s say C:\MOUNT will act as the mount point.
  5. After installing the Windows AIK on a server, go into the installation directory for Windows AIK.  On my machine it’s, C:\Program Files\Windows AIK.
  6. In the Windows AIK folder type the following command to mount the image: imagex /mount C:\TEMP\install.wim 1 C:\MOUNT.  This will mount the image in the C:\MOUNT folder so that you can browse its contents.
  7. Once the image is mounted go to C:\MOUNT\Windows\System32\DriverStore\FileRepository\ntprint.inf_xxxxxxxx, where the string of x’s represent a hexadecimal number.
  8. Within my particular install.wim file, there were 2 folders with the ntprint.inf_ name, so copy both of them to a network location that is accessible by your print server.
  9. Once the files have been copied go back to your print server and attempt to install the drivers again.  But, this time, when it asks for the ntprint.inf files, direct the installer to the network location that you copied the folders to.  I choose just 1 of the 2 folders that I copied (this first one) and the installation completed for me–printer installed just fine.
  10. (Cleanup) Go back to the Windows AIK and run imagex /unmount C:\MOUNT to unmount the image.

This sparred me a few brain cells so I hope to save a few of yours as well.  Good luck.

Debriefing

Just added a new branch office to our organization and in keeping with the new standards that I have imposed for server operating systems, all servers at this location are running Windows Server 2008 R2.  I had read awhile back that there were a few things to be aware of when creating a SCCM Secondary Site in Windows Server 2008 R2. These secondary sites will only be Management Points and Distribution Points.  So here’s how I got it all to work.

Remote Differential Compression (RDC)

According to the TechNet articleon this very same topic, “site servers and branch distribution points require Remote Differential Compression (RDC) to generate package signatures and perform signature comparison. By default, RDC is not installed on Windows Server 2008 or Windows Server 2008 R2 and must be enabled manually.”

  1. Launch Server Manager.  Select Features then Add New Features.
  2. Select Remote Differential Compression.  Click Next then Install.

IIS7.5

There are a few things that need to be done in IIS7.5 to get things to work.  Even in IIS6 there were/are several configuration steps that needed to be performed in order to get this to work.  Some of these steps are similar to what you need to do if running IIS6.

  1. Launch Server Manager.
  2. Select Features then Add Features.
  3. Select Background Intelligent Transfer Service (BITS) which will then require that Web Server (IIS) and Remote Server Administration Tools be installed.
  4. Select Add Required Role Services.
  5. Click  Next.
  6. At the Role Services step select WebDAV Publishing, ASP.NET and Add Required Role Services.
  7. (Optional) I checked ASP just in case I wanted to make this server a Reporting Point in the future.
  8. Select Windows Authentication under Security.
  9. Under IIS Management Compatibility select the following: IIS 6 Metabase Compatibility, IIS 6 WMI Compatibility.
  10. Click Next then Install.

WebDAV Configuration

  1. Once IIS7.5 is installed open the IIS Manager.  To keep things simple and to avoid any future problems, I rename the Default Website to SMSWEB.  There will be no other websites running off of this particular server so it’s not a problem.
  2. Select SMSWEB and in the Features View select WebDAV Authoring Rules.
  3. Once in the screen select Enable WebDAV from the Actions pane then select Add Authoring Rule…
  4. Allow access to: All Content, Allow access to this content to: All Users, Permissions: Read
  5. Select WebDAV Settings.
  6. Set Allow Anonymous Property Queries to True.  Set Allow Custom Properties to False.  Set Allow Property Queries with Infinite Depth to True.  Set Allow Hidden Files to be Listed to True.  In the Action pane click Apply.

Final Configurations

There is one more thing that needs to be done to prepare for installing the Secondary Site now that we have IIS7.5 and WebDAV configured correctly.  You may already be aware that this step needs to be taken, but I’ll list it anyway for those that have no clue or might forget.

  1. Go to Active Directory Users and Computers.
  2. From the View menu item in the MMC console select Advanced Features if it’s not already checked.
  3. Expand the System container and right-click on System Management  and select Properties.
  4. Go to the Security tab and add the Secondary Site server to the list granting it Full Control.

Now you are ready to add this site as a Secondary Site in SCCM. Update (Mar 23, 2012)

  1. Also be sure to add the computer account of the primary site server to the Local Administrators group of the secondary site server.

Update (Apr 10, 2012)

  1. Open up IIS Manager.
  2. Expand the SMSWEB site.
  3. Right-click on the CCM_CLIENT folder and select Edit Permissions.
  4. Click the Security tab and grant the Everyone group Read permissions.

Update (Apr 11, 2012)There are a few additional Secondary Site settings that I found need to be made especially if you are using a custom port number for your Management Point.  Here we use a custom port number and I ran into an issue with clients not updating correctly.  What I discovered was that the Windows Firewall needed to have a custom rule added to it so that clients could communicate properly.

  1. Launch Server Manager on the Secondary Site server.
  2. Expand Configuration > Windows Firewall with Advanced Security
  3. Right-click on Inbound Rules and select New Rule.
  4. The New Inbound Rule Wizard will launch.  Select Port (Rule that controls connections for a TCP or UDP port)
  5. Select TCP for the protocol and in the Specific local ports: box enter the custom port number for the management point(s) in your environment.
  6. Allow the connection.
  7. Set the rule to apply to Domain, Private and Public (or whatever is relevant in your environment).
  8. Set the name to World Wide Web Services (HTTP Traffic-In) – SCCM or whatever you’d like for it to be.

One other thing that I changed was to add the Default Application Pool account and the application pool for the distribution point (if applicable) to the IIS_IUSRS group.  Since these users cannot be found easily using Select Users, Computers, Service Accounts, or Groups dialog box you have to enter them a certain way.

  • For the DefaultAppPool enter IIS APPPOOL\DefaultAppPool.
  • For the SMS Distribution Points Pool enter IIS APPPOOL\SMS Distribution Points Pool.
  • Be sure to change the Location to the local machine.

Latest Resources

Here are a few of the latest resources that I’ve been using in my web design work.  These resources/sites have been very helpful and have saved me a tremendous amount of time.

Border-Radius.com

border-radius.com

http://border-radius.com/

Probably my favorite site right now for doing rounded corners because it’s the easiest and quickest that I have found.  You just simply place a value in the boxes that correspond to a specific corner of the box and the CSS is generated inside the box automatically.  It’s great for generating code for rounding corners on a box where you don’t need all of the corners rounded.  Great tool.

CSS Sprit.es

http://css-sprit.es/css-sprit.es

I’ve been doing a fair amount of sprite work lately on designing the new rebornweb.com website.  This site has been a good help in doing this.  There is one thing that I think the site could do better.  After uploading the images, it’d be nice to be able to order them and/or reorder them instead of being surprised as to where the images will line up (i.e. whether or not an image is on the left or right, etc.).  It also requires flash as I think it’s using the jQuery uploader or something but other than that, I like the sample code and image generation.