RG03F – Viewing the contens of UPR files

By Patrick Kaak

 

When you enable RES Workspace Manager’s Zero-profiling feature, aka User Settings, it can happen that the filesize of some of the User Setting files (.upr*) become quite large. It isn’t always easy to find out what is being stored with the Sampling option. This article is about how you can find out what is in an upr-file. If you know what setting or application the upr-file is associated with, you can skip right over to step 2 in the article below. Otherwise you first have to find out which upr*-file is associated with what application or global user setting.

Step 1: Find the application which the upr*-file belongs to

User Settings are stored on a drive which is unique to the user. Per default this would be the homedrive, although another drive letter or even a variable (%reshomedrive%) can govern this. The .UPR* files are stored in the folder [homedrive:]\PwrMenu\UserPref.

You will find multiple upr-files in here, when you enable User Settings/Zero-profiling. Each of them exists of the settings and files saved for one Global User Setting or Application in RES Workspace Manager. The name of the upr-file is the internal GUID used by RES Workspace Manager. Next we will look at how to find the Setting or Application the GUID belongs to.

 

Global User Settings

First check of the GUID exists in the global User Settings. In the RES Workspace Manager Console, go to Composition -> User Settings.

On the right side of the screen, the GUID is shown. If you find a matching GUID with the name of the upr-file you want to inspect, than remember the name of the user setting and go to step 2.

 

Application user settings

If you do not see the GUID at the global User Setting, then it is an user setting saved with an application GUID. You can search for it in several ways: The hardest method is to open every single application properties and look for the application GUID till you find the application with a matching GUID of the filename of the upr-file.

The application GUID is shown right below the application ID.

In large environment this can take a while for you to get the matching application. There is a quicker way though: When you go back to the global User Settings in the Composition-node, you can select a checkbox names ‘Show all User Settings’ right below the list of User-Settings. Check it and you will see all User Settings including the ones of applications. On the right side of the screen, it will show all GUIDs. Match it with the one you are looking for and remember the name of the User Setting. Now, go to step 2.

The last method is to create an Instant Report and search for the GUID in there. It will also show you the application.

Step 2: View the content of the upr-file.

To view the contents of the UPR-file, you first have to open the Workspace Analysis of the given user. Go to Diagnostics (1) -> Workspace Analysis (2) -> Enter the username which owns the the homedrive where you found thethe big upr-file in the first place (3) and hit Search (4). Double click the username when it shows up (5).

The Workspace Analysis of the user is on the screen now. Go to Composition (1) and choose User Settings (2). On the right side of the screen, all User Settings are being showed now. Doubleclick the User Setting you want to see (5).

In the new window, the properties of the selected User Setting are shown. Click on the ‘View Stored Settings’ to open the content of the upr-file of this user-setting for this user.

If you get an error or cannot see the contents of the User Setting, it means either that:

a) The user doens’t have any data stored for the selected User Setting.

b) You do not have read rights on the users homedrive.

 

 

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.