Citrix Default Printer Not Mapped Properly within ICA Session



I sometimes run into issues with Mapped printers in Citrix. I found this Article on Citrix Support site (CTX 104375) updated recently as of April 14th 2016.


Default Printer not Mapped Properly within ICA Session

Symptoms or Error

The default printer is not mapped properly within the ICA session. The default printer cannot be property set or changed.


Note: Citrix Technical Support has seen instances in which NO printer can be set as default. Either there has been an absence of the registry key within the user profile or the user did not have sufficient permissions to alter their registry values. RDP printers showed the same behavior. Users were referred to Microsoft for further analysis.

Verify that the string case for the default printer under the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows:Device
Verify that it is the same case for the Network Printer under:

Problem Cause

The printer name under the HKEY_CURRENT_USER\Printers\Connections registry key does not match the case of the printer name under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows:Device registry key.The printer name under the HKEY_CURRENT_USER\Printers\Connections registry key does not match the case of the printer name under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows:Device registry key.

When determining a user default printer, a function compares an array of all network printers to the client default printer. This function is case sensitive. If the printer name for the default printer is not exactly the same in both arrays, no default printer is found.

Refer to the following to observe more closely:

  1. EnumPrinters() is called with Info Level 2 as to gather all the printer names. Each name is stored in variable called varEnumPrinters. This function obtains the network printer names from the registry key HKEY_CURRENT_USER\Printers\Connections and store them all in the array varEnumPrinters.
  2. The default printer is determined for a user by querying the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows : Device using GetProfileString() function. From this key a string formatted as follows is derived:
    PRINTERNAME, winspool, PORT.
  1. Consider that the PRINTERNAME is stored in a variable called varGetProfileString.
  2. The list of printers from varEnumPrinters is construed to look for a match between varEnumPrinters and varGetProfileString.
  • If a match exists, that printer is flagged as the default printer and the Presentation Server is informed.
  • If it does not match, the Presentation Server does not have a default printer, so it must decide what the default printer will be for that client connection. Usually, the Presentation Server sets the first printer that was enumerated as default printer.

Preceding Step 3 is a vital point. When you do the comparison between varEnumPrinters and varGetProfileString, the function strstr() is used. Because this function is case sensitive, the comparison fails when the case of the strings does not match.

Mandatory User profiles


Did you know you can create a specific user profile that displays only specific desktops to users when they login.  The good news is this is a perpetual thing. No matter what a user changes, when they logoff the changes are not stored.

Straight from Microsoft’s site:

A mandatory user profile is a special type of pre-configured roaming user profile that administrators can use to specify settings for users. With mandatory user profiles, a user can modify his or her desktop, but the changes are not saved when the user logs off. The next time the user logs on, the mandatory user profile created by the administrator is downloaded. There are two types of mandatory profiles: normal mandatory profiles and super-mandatory profiles.

User profiles become mandatory profiles when the administrator renames the NTuser.dat file (the registry hive) on the server to The .man extension causes the user profile to be a read-only profile.

User profiles become super-mandatory when the folder name of the profile path ends in .man; for example, \server\share\

Super-mandatory user profiles are similar to normal mandatory profiles, with the exception that users who have super-mandatory profiles cannot log on when the server that stores the mandatory profile is unavailable. Users with normal mandatory profiles can log on with the locally cached copy of the mandatory profile.

Only system administrators can make changes to mandatory user profiles.”


How to detect a tape device in Acronis 11.5

acronisIf the tape device is ever unplugged for any reason Acronis indicates a need to re-detect the device.  The documentation lacks any pictures and the text is very vague where you find this option to do this. It is buried several layers deep.  Here is a screenshot for the location for this option.  Note the DETECT TAPE DEVICE in the Details window in the forefront.





Export Virtual Machine boots to 7B BSOD

Dell_LogoYes, a Dell logo. But when props are due someone I don’t mind giving them.  I have been a long time Acronis Enterprise user for our server backup and restores.  Not long ago I began testing Acronis 11.5.  During restore tests I began to get the BSOD with the  0x000007b error.  Only two servers running Server 2003 R2 restored ok with some fiddling around after the restore. Everything else failed. A couple of us had worked with Acronis Tech Support, who is very willing to keep trying, for weeks but never made it past this error.  It didn’t matter if we injected all the drivers from we could find.

Eventually this led me to begin testing other backup solutions.


First was Symantec Backup Exec 15.     Love the easy intuitive interface.  Backups went great. Restores ran into the same 7B error I had with Acronis.  We are a Symantec Antivirus Enterprise customer.  I was running a trial of BackUp Exec 15 and decided to call tech support to help us resolve and complete the evaluation of their software.  Person after person at Symantec told me it didn’t matter that we are a subscription paying Enterprise Antivirus customer.  Symnatec does not offer support on trial products.

Sounds crazy to me.  We pay for one of the products and want to expand use of their portfolio but need help making the trial work so we can see if we want to buy that as well…and we are denied but shortsightedness that seems to proliferate within the organization.  I did what most IT guys would do….. no not pirate the software… I moved on to something else.

Next, I began to test Novastor’s backup and recovery offering.

novastor_logo_bru-enThe interface is not as good as Symantec, and the multiple screens are confusing , but it is still easier to learn than Acronis.Tech support was pretty god, mostly email help.  I still got the 7B error testing restores.  We tried a few things for a couple weeks to no avail.  Maybe with more time we could have solved this with their help, but I had to move on and test some other packages.

dellappassureDell offers AppAssure. Since purchasing the company that created this product it has matured a bit and become pretty darn good.   Install is easy, backups are not a problem. It’s a bit different from Acronis and the interface, while not easy, is better than Acronis.

Tech Support is great, even during the trial.  I rate them up there with Acronis who BTW worked with me for several months during that evaluation.

We ran a restore and got the same 7B error taking a physical laptop with Windows 7 to a VM on ESXI 5.5.  AppAssure had the answer though.  A KB article detailing a registry edit to change the nautre of the way the vm uses the hard drive.  To  my joy it worked. I booted the vm into safe mode and voila there were all the files I placed on the hard drive.  Rebooted to regular mode and i was in Windows!!  Good Signs for AppAssure.

Next, is a test of some other serves to see how they do being converted to vm.  So far though so good!!


Here is the fix 7B Resolution Steps

  • Title

    Export Virtual Machine will not boot but BSOD with 7B (also applies to BMR)
  • Description

    Sometimes Exported VM won’t boot (both Hyper-V and VMware have issues). After completing the BMR process don’t restart.
  • Cause

    Critical services are not started when the machine is booting.
  • Resolution

    1. Select Command Prompt. (Boot from a bootable CD and go to Command Prompt): regedt32
    2. Highlight HKEY_LOCAL_MACHINE, File > Load Hive > [restored volume]:\Windows\System32\Config\SYSTEM>Open>Key Name = Restored_HKLM > OK.
    3. Expand Restored_HKLM\ControlSet001\services and ensure the following are set:
    4.1. If restored to a (VMWare) VM then ensure:
     intelide>Start = 0
     LSI_SAS>Start = 0
     msahci>Start = 3
     pciide>Start = 3
    4.2. For Hyper-V, here’s what  a fresh install of Win7 in a Hyper-V VM has in the registry that applies to this issue:
    HKLM/System/CurrentControlSet/Services/ and then the value of the “Start” parameter
     Aliide = 3
     Amdide =3
     Atapi = 0
     Cmdide = 3
     iaStorV = 3
     intelide = 0
     msahci = 3
     pciide = 3
     viaide = 3
     LSI_SAS = 0
    4.3. If restoring to a physical machine with native HDD controller then ensure:
     msahci>Start = 0
     pciide>Start = 0
     intelide>Start = 3
     LSI_SAS>Start = 3
    5. Highlight Restored_HKLM and then File > Unload Hive.
    6. Close windows and restart.
    You should now have a successfully booting restored Server 2008 R2.
    (Remember if it’s a new add-in RAID card and you supply the drivers it will successfully inject them into the restored OS.)
    NB: Don’t worry if you have restarted without making the changes and it Blue Screens, come back through these options and if set correctly it will boot normally – nothing is damaged by the Stop Error, and the ide settings can be turned on and off with no permanent effect on the OS. I.e. change and restart until you hit the right combination required.
    If in doubt, turn on all possible required services e.g. set both intelide = 0/pciide = 0 and msahci = 0, or set all of these to 0 and it will still boot with the correct driver/s:
       aliide, amdide, atapi, cmdide, iastorv, intelide, msahci, pciide, viaide and LSI_SAS.
    NB: Not recommend due to the overheads it could introduce, but it will work and will get the machine up as quickly as possible if confidence in the exact combination required is in doubt.


How to Recover an unsaved Microsoft Office 2010 file

Microsoft Office has a fantastic feature built in where it can recover unsaved new documents. Now in order to use this feature, you will need to have Save Auto Recover information… and Keep the last auto saved version if I close without saving enabled inside Microsoft Office.



Here is how to enable Auto Recover and Auto Save to protect your files in
Microsoft Office:

1. Click the File tab. 1. Under Help, click Options.

2. Click Save.

3. Make sure the Save Auto Recover information every x minutes check box is selected.

4. In Word 2010, Excel 2010 and PowerPoint 2010, make sure the Keep the last autosaved version if I close
without saving check box is selected.



Here are the steps to take to recover your unsaved new document in Microsoft Office Excel, Work, or PowerPoint 2010 if
you inadvertently close it before saving it:

1. Open the Office 2010 applications that you were using.

2. Click the File tab.

3. Click Recent.

4. Click Recover Unsaved Documents if you are in Word 2010, Recover Unsaved Workbooks if you are in Excel2010 or Recover Unsaved Presentations if you are in PowerPoint 2010.



  1. Your saved drafts folder will open in a new window. Select the file and then click Open. 2. In the business bar at the top of the file, click Save As to save your file to your computer.

You can also access these files by using these steps:

  1. Open the Office 2010 application you were using.

  2. Open a new file or any existing file.

  3. Click the File tab.

  4. Click Info.

  5. Click Manage Versions.

  6. Click Recover Unsaved Documents if you are in Word 2010, Recover Unsaved Workbooks if you are in Excel
    2010 or Recover Unsaved Presentations if you are in PowerPoint 2010.

  7. You will see the list of your unsaved files. Select the file and click Open.

  8. In the business bar at the top of the file, click Save As to save your file to your computer.

You can also browse to one of the following file locations to open the file, depending on your operating system:
Windows 7/Windows Vista
Windows XP
C:\Documents and Settings\User_Name\Local Settings\Application Data\Microsoft\Office\UnsavedFiles
Important These file locations cannot be changed.  Files in this folder will be kept for four days after creation.

source Eric Ligman

[auction-nudge tool=”listings”]

Enable hidden Administrator account in Windows 7

windows7logo-580-75Microsoft disabled the Administrator account in Windows 7 by default for security reasons.  It is nice to have this enabled as a backup if your main user profile becomes corrupted or infected.  Here is ow to turn on the hidden Administrator account.

There are a few ways to enable this account but the fastest seems to be to open a command prompt with higher privileges by RIGHT-clicking on the Command Prompt menu option (in the windows start menu area) and choosing Run As Administrator.

Once the black command prompt window is open type this and hit enter:

net user administrator /active:yes

It will look like this when you type it out:

C:\>net user administrator /active:yes

That’s it. Now the Administrator account should also show on the Windows 7 log in screen.

[auction-nudge tool=”ads”]


Disable UAC (User Access Controls) in Windows Vista


Those annoying are you sure you want to do this popup windows on Windows Vista can be disabled, but not as easily as other version of Windows.  Here is how to turn off the UAC popup warning box.


Access the Control Panel and type user account into the search box. There will be a link to TURN OFF USER ACCOUNT CONTROL.  Click and follow it!!  Uncheck the box and reboot.


You will likely get a Security Center popup after disabling this feature, just choose the – Don’t notify me option.

[auction-nudge tool=”ads”]


Acronis 10 (ABR) Fails Backup hangs.


ACRONIS  Had a failing backup on Acronis ABR 10.  This is a quick note that allowed the backup to continue.


After cleaning the Temp folder and restarting these services;
Acronis Managed Machine Service
Acronis Remote Agent
Acronis Scheduler2 Service

The backup started and worked fine!

[auction-nudge tool=”listings”]

Installing a Dell Powervault LTO6 Tape Drive – Server 2008

Dell_Logo 200px-IBM_logo

I needed to configure a Dell Powervault LTO6 Tape Drive (model CSEH 001) on a server running Windows 2008 R2 x64. This seems like it should be straight forward but that is not the case.

The proper SAS card is installed in the server the tape drive is plugged in. Windows device manager sees the interface card but sees the tape drive under Other Devices.  As such nothing can access it.  Try as I might I could not locate a proper driver on Dell’s website.

Research shows this drive is manufactured by IBM.  I did find links to drivers on IBM’s website but the revisions and firmware options and sheer number of drivers left me dizzy.  I finally reached an engineer at Dell who sent me the driver and told me I would not have found them on Dell’s website. All I could think was “no-kidding! I looked”

After unzipping this file to a new folder. I ran the non-exclusive installer. I chose this instead of the exclusive as I may want more than one item to interact with the drive. It is friendlier this way.  The installation generated an error message.  This was because the driver could not locate the tape drive because it was marked under other devices in the device manager.  The installation requires the tape drive to be a known device which requires a driver which I was attempting to install.  Chase my tail, geesh!!

Workaround – Manually install the driver by choosing to point to the folder with the extracted files from the device manager update driver wizard.  This allows Windows to identify the device and move  it out of Other Devices to Tape Drives.  After a reboot it now showed properly but with the dreaded exclamation point next to it.

Workaround 2 – Now go to the extracted files folder and run or re-run the non-exclusive installer. Now that the device is not showing as an “Other Device”, the installer can see it and properly install the actual driver.  Afterward I was able to access the drive with my backup software.

Note – NT Backup is no longer included with Windows Server. While you can copy the files over and run it, you can not make backups to tape and may not even be able to restore old backups from tape.  Server 2008 no longer includes a necessary service needed by NTBackup to access tape drives.  Information indicates you may be able to restore from a file located on disk rather than tape.

Driver file attached below.


[auction-nudge tool=”listings”]



Toshiba Laptop with Windows 8.1 loses keyboard and mouse – FIX

toshibaThis weekend I worked on a Toshiba laptop with Windows 8.1 that had received some updates then rebooted.  The keyboard and mouse both failed to work after the reboot.  An external USB mouse worked but the USB keyboard did not.

I used the on-screen board to do everything with mouse clicks detailed below.

Click the Windows key and then Click the letter R to open the run box.  Click out the word REGEDIT and click enter.

Navigate to this KEY:


Find UpperFilters, of the type REG_MULTI_SZ. You may have to manually create the key if it does not exist. Edit the value UpperFilters to read kbdclass. If you find other text in this field, delete it and click out kbdclass.  Click O.K. You may get a warning but accept that and move on.

To fix the mouse follow this:

Navigate the registry to:


Find UpperFilters, of the type REG_MULTI_SZ. You may have to manually create the key if it does not exist. Edit the value UpperFilters to read mouclass. If you find other text in this field, delete it and click out mouclass.

Exit the registry and reboot.  This restored keyboard and mouse function to the laptop.

G’Day to ya!

[auction-nudge tool=”listings”]