Enable Windows Keyboard Shortcuts In Citrix

This is a bit of an old topic; I recently, after reinstalling Windows, had to reconfigure my local client to allow passing windows keyboard shortcuts through to my Citrix instance. In this case, I was using remote desktop as a Citrix application. I have noticed that Citrix Desktops don’t seem to have this same issue. Since it took a bit of digging to find out how to configure this, again, I thought I would put it here as a reminder and to help other should they run across the same issue.

Open regedit (press the windows key  and type “regedit” sans quotes) on the client device.

  • Navigate to the key: HKEY_CURRENT_USER\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Keyboard
  • Modify the key: TransparentKeyPassthrough
  • Set the value to: Remote

Next time you start up your Citrix app you should now be able to use your usual Windows keyboard shortcuts such as Alt+Tab, Alt+Ctrl+Del, Ctrl+Tab.

InfoPath Roles And Views

One useful feature of InfoPath is its built in support for user Roles. While it is not an overly powerful (and it should not be used for security purposes as all data can be viewed and edited in XML format via notepad or a similar) it can be handy for automatically switching views based on AD users or groups.

To add a role simply go to Tools -> User Roles (alt + t + e) and click Add (alt + a). You can then specify which users, groups or user names from the form should belong to the new role.

One thing to note is that when you are designing an InfoPath form and click “Preview Form” it shows the form based on the default role. If you wish to preview the form under a different role you need to go to File -> Preview Form -> With User Role… (alt + f + r + r). The form will then be launched in preview mode under the select role.

There is also the option to set a role as either the default role or the initiator role (only one role can occupy either or both of these options). The default setting specifies that this role is the default role for all users, should they not meet the requirements of another role. The initiator setting is the role assigned to a user when they open the InfoPath form for the first time.

Another point of interest is that roles are assessed on a top-down approach, however, you can not change the ordering of roles from within the InfoPath IDE. In order to change the ordering of roles, should you be required to, you must open the manifest.xsf and manually reorder the <xsf:role /> elements.

Creating A Simple SharePoint Workflow In SharePoint Designer

This one is a quick and easy one but is the basis for creating some very useful workflows in for use in SharePoint lists. Firstly you will need a SharePoint website and a copy of SharePoint Designer (a 60-day trial version is available from Microsoft) and a list in SharePoint which you can apply the workflow to – for this example, I am using a fairly simple Travel Requisition list which is a document library which contains InfoPath documents.

To create the workflow open SharePoint Designer and connect to your SharePoint website. Once connected, go to File -> New and select the SharePoint Content tab and select Workflow (blank workflow). You should now be presented with a form similar to the following. Here you can specify a name for your workflow (each workflow in a site must have a unique name) which list the workflow is attached (associated) to and when the workflow should be triggered. In this case, we want to trigger the workflow whenever a list item is added or updated.

Continue reading “Creating A Simple SharePoint Workflow In SharePoint Designer”

Fixing Your Boot.INI

Using Recovery Console

The standard and recommended way to repair your boot.ini is to boot to your Windows installation CD and through the recovery console perform a repair on the boot config. This can be done by calling bootcfg /rebuild, however, this requires you to have administrative privileges for the Windows installation that you are attempting to fix. As I recently discovered this may not always be the case, luckily I remembered my good friend Knoppix.

Knoppix is a free Linux bootable Live CD. It allows you to boot to a fully functional Linux system, without having to perform an install or without any other permanent effects.

Using Knoppix

This workaround allows you to fix the boot.ini file, without requiring administrative privileges, however in order to be able to boot to Knoppix you will need to be able to boot from your CD drive.

  1. Download the latest version of Knoppix. *The version I used was 5.1.1
  2. Burn the ISO to a bootable CD.
  3. Insert the Knoppix CD into the problematic computer and boot from CD.
  4. Once the boot screen is presented press Enter to start loading or press F2 or F3 for more boot options.
  5. After Knoppix has finished loading you should see an HDD image (you may see multiple images, depending on the number of fixed drives on your machine).
  6. Right-click your Windows drive and press “mount”.
  7. Right-click the drive again and press “change read/write mode” in order to be able to edit the boot.ini file.
  8. Open the drive and navigate to the boot.ini file.
  9. Open boot.ini and edit as required.
  10. Save the file and restart to windows, be sure to remove the Knoppix CD.

Tips For XP Users

Here are some useful tips for people using Windows XP (from Tweak UI)

Press Win+L to lock your workstation.
You can rename multiple files all at once: Select a group of files, right-click the first file, and select “Rename”. Type in a name for the first file, and the rest will follow.
Hold down the shift key when switching to thumbnail view to hide the file names. Do it again to bring them back.
When dragging a file in Explorer, you can control the operation that will be performed when you release the mouse button:

Hold the Control key to force a Copy.

Hold the Shift key to force a Move.

Hold the Alt key to force a Create Shortcut.
If you create a file called Folder.jpg, that image will be used as the thumbnail for the folder. What’s more, that image will also be used as the album art in Windows Media Player for all media files in that folder.
Hold down the shift key when deleting a file to delete it immediately instead of placing it in the Recycle Bin. Files deleted in this way cannot be restored.
If you hold down the shift key while clicking “No” in a Confirm File Operation dialog, the response will be interpreted as “No to All”.

Continue reading “Tips For XP Users”