Archive for the ‘RES Workspace Manager’ Category

How to: Print multiple documents from Windows Explorer using RES Workspace Manager

Normally users have the ability to right click on a file, or multiple files in the Windows Explorer, and print the file(s). When using RES Workspace Manager, this option is default not available for all your file extensions. This is a feature that you want enable for your users, for example for PDF files. So let’s configure this option.

1.) First of all start the RES Workspace Manager console
2.) Navigate to Composition / Applications /  Adobe Reader XI (in my example for PDF files)
3.) Navigate to the Properties / File Types tab and click Add
4.) Add the PDF file extension
5.) Select the command Print
6.) Select the parameter “%1”, this is default
7.) Now login with a user again and the Print option for PDF files within the Windows Explorer is back again!

2013-06-13_14h10_47    2013-06-13_14h11_17    2013-06-13_14h12_00

2013-06-13_14h12_32    2013-06-13_14h15_20

RES Workspace Manager 2012 Recent Files not vissible in start menu

A copple of months ago I have configured a new Citrix XenApp 6.5 with RES Workspace Manager 2012 environment. Within this environment I have configured mandatory profiles, added to Workspace Manager as a custom resource.

When the user are opening some documents, the Recent Files folder is filled up with the last opened document. The save location is C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Recent.

I’ve created a new User Setting to save the content within this folder. Now there is something strange happening!! The content is saved within a UPF (User Preference File) correctly, but its not vissible in the user session from the start menu.

When I open a commandline and browse to my user profile, the content is there! Huh…?!? After some troubleshooting, I have figured out that I had to change one setting within my custom resource. The folder AppData\Microsoft\Windows\Recent was marked as Read-Only. That’s the problem! After disabling the Read-Only, the recent files are vissible from my start menu.

Recent_Files_01    Recent_Files_02    Recent_Files_03

Recent_Files_04    Recent_Files_05    Recent_Files_06

Recent_Files_07    Recent_Files_08

How to: Lock desktop icon using RES Workspace Manager 2012

When you’re using a Server Based Computing environment managed with RES Workspace Manager 2012, the users have the abbility to lock their desktop. Normally, the users using the tray icon to lock the desktop. One of the disadvantages using the tray icon, is the 5 seconds wait time before the desktop is actually locked. After a black screen for 5 seconds, the desktop is locked.

It is also possible to create a application for the users to lock their desktop. A great thing about this is that the user don’t have to wait 5 seconds before the desktop will be locked.

1.) Create a new application
2.) Use the following configuration
Command:%systemroot%\system32\rundll32.exe
Working directory:%systemroot%\system32
Parameters: user32.dll,LockWorkStation
3.) Select the user of users that are going to use this application
4.) Select the right Workspace Container, for example Windows XP, Windows 7 or Citrix Xenapp environment

Now the users have a new application available in the start menu. You  can force a mandatory desktop icon. All you need to do is double click the new application and your desktop is locked now!

RES_LD_01    RES_LD_02    RES_LD_03

How to: Remove public Libraries in Windows Server 2008 R2 using RES Workspace Manager 2012

Default in Windows Server 2008 R2, there’re libraries available for each user. This Libraries are located in the left bar in the Windows Explorer. When you’re using a Server Based Computing environment, for example Remote Desktop Services or Citrix Xenapp, you want to edit this libraries. Default, the users have own libraries, but also an public library. The public libraries are located to C:\Users\Public. In an Server Based Computing environment, the users haven’t access to that location. Let’s have a look on have to delete this public libraries.

In this environment I’m using Windwos Server 2008 R2 with the Remote Desktop Services role enabled. The workspace is managed with RES Workspace Manager 2012. The users are using mandatory profiles, published as a custom resources with RES Workspace Manager.

1.) First of all, let’s have a look in the Windows Explorer. In the left bar there’re the libraries.
2.) The library folders are located in the directory
C:\Users\username\AppData\Roaming\Microsoft\Windows\Libraries
Documents.library-ms
Music.library-ms
Pictures.library-ms
Videos.library-ms

3.) Let’s open these files in notepad (or another texteditor)
4.) There’re two sections. One for the library and one for the public library.
5.) Right-click on each public library and choose Remove Location from library
6.) The public libraries are located to C:\Users\Public. In an Server Based Computing environment, the users haven’t access to that location.
7.) After deleting the public libraries, navigate back to the library directory in your profile
C:\Users\username\AppData\Roaming\Microsoft\Windows\Libraries
Documents.library-ms
Music.library-ms
Pictures.library-ms
Videos.library-ms
8.) Open each file within notepad and delete the rows
<ownerSID>….</ownerSID>
<serialized>….</serialized>
This will make the files generic for using as a baseline for all the users.
9.) Open your RES Workspace Manager Console and navigate to Administration, Custom Resources
10.) Open your mandatory profile and navigate to
Mandatory Profile\AppData\Roaming\Microsoft\Windows\Libraries
11.) Delete the orrigional files and add the four customized files into this folder
12.) Update the cache of your RES Workspace Manager Agents and login with a user
13.) The public libraries are gone now and users didn’t receive error messages anymore 🙂

Delete_lib_01    Delete_lib_02    Delete_lib_03

Delete_lib_04    Delete_lib_05    Delete_lib_06

Delete_lib_07    Delete_lib_08    Delete_lib_09

Delete_lib_10    Delete_lib_11

Hopefully this blogpost is usefull for your own production envirenment!

How to: Show recent files in the Start Menu when using RES Workspace Manager 2012

When you are using RES Workspace Manager 2012 and you have configured to apply the Windows Shell, the recently files are not shown in the start menu. This is a feature that is a must for some users, so let’s have a look on how to enable this option!

1.) In the first screemdump, the recently files are not shown
2.) Open the registry (regedit.exe)
3.) Navigate to the following section in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
4.) Create a new REG_DWORD with the name Start_ShowRecentDocs with the value 1
5.) You also can create a new User Registry within RES Workspace Manager 2012, though this option it’s available for all users!
6.) Logoff the user and login again. As you can see, there are the recently files!
7.) The recently files are stored in the folder:
%APPDATA%\Microsoft\Windows\Recent
8.) When you’re using mandatory profiles or you doesn’t redirect de AppData folder, configure a User Preference within RES Workspace Manager 2012 to save the recently files.
9.) Create a new User Preference and select the option Folder tree to the path %APPDATA%\Microsoft\Windows\Recent

       

       

   

How to: Change the Windows 2008 R2 desktop to Aero look using RES Workspace Manager 2012

A great feature within Windows Server 2008 R2 is the new Desktop Experience. After the installation of this feature, the desktop could be configured with the Aero look. Normally, the active setup will change the desktop look. When you are using a mandatory profile in combination with for example RES Workspace Manager 2012, the active setup components are disabled by default. So the desktop is looking like an old-school desktop and the most using color is grey.

To give the users more Desktop Experience, we are going to change the desktop to Aero look.

1.) The first step is to install the Windows feature Desktop-Experience.
This could be done throught the Server Manager, of using the ServerManagerCmd option within powershell.
ServerManagerCmd -i Desktop-Experience
2.) Open the RES Workspace Manager 2012 Management Console and navigate to Execute Command
3.) Create a new command with the following commandline
%SystemRoot%\system32\regsvr32.exe /s /n /i:/UserInstall %SystemRoot%\system32\themeui.dll
4.) Make sure the option Run task is configured to run Before logon and before other actions

After login again, the Windows shell is looking much better now! 🙂

       

   

Remove duplicate personal folders within Windows 2008 R2 when using folder redirection

When you are using folder redirection within Windows Server 2008 R2 to redirect some personal folders, you will see some duplicate folders when you are opening the Windows Explorer. One is the redirected folder to your network, the other is the orrigional folder. When opening the origioal folder, you will receive an error. The redirected folder works fine.

To resolve this duplicate folder issue, you have to add a registry key to the HKEY_CURRENT_USER environment. I have used RES Workspace Manager 2012 to deploy this registry key, but you can also use a loginscript or other third party software.

1.) Open the RES Workspace Manager 2012 Management Console
2.) Navigate to User Registry
3.) Create a New Registry, in my example “OS – Remove duplicate user personal folder”
4.) Add the following registry key
HEKY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum
5.) Create a REG_DWORD
{DFFACDC5-679F-4156-8947-C5C76BC0B67F}
6.) The REG_DWORD value should be 1 (0x00000001)
7.) Distribute this to all the users or just to a group of users

After login again, you will see that the duplicate folders are gone! This is much better for the user now.