RES Workspace Manager Run Once Per Computer, Per User

RES Workspace Manager Run Once Per Computer, Per User

March 16th, 2011 @ // One Comment

We all know that RES Workspace Manager stores the flag that determines if a Run Once task has completed for a given user in the \PWRMENU folder (at least by default). These files are named with the .ONCE file extension and given a (seemingly random) GUID, i.e. <SeeminglyRandomGUID>_task.once.

Unfortunately, there is no simple way of determining which .ONCE file relates to which task but that’s a post for another day! To force a task to rerun for a given user all we need to do is delete the relevant .ONCE file and the task will magically rerun. This avoids the necessity to check the “Clear History” checkbox and force it to run again for all users.

What about the Run Once Per User, Per Computer and Run Once Per Computer options? Logically they don’t live in the user’s \PWRMENU folder as they’re not a per user setting. So where do they live? After a discussion with RES Support it was discovered they live in the %RESPFDIR%\Data directory. Once you’ve determined which file relates to which task you can just delete it!

Here is an example of a Run Once Per Computer and Run Once Per Computer, Per User external tasks:

image

The 132DBDF_34930_105A_task.once file is a Per Computer external task. The 132DBDF_34981_1381_<domain>_<username>_task.once files are the Per Computer, Per User tasks for the LAB\Administrator and LAB\LOCAL01 user accounts.

Easy when you know how! Iain

Iain Brighton

Iain Brighton is an experienced virtualisation consultant, RES Software Certified Trainer (RCT) and Valuable Professional (RSVP). He is also the founder and co-owner of Virtual Engine Limited, the Dynamic Desktop Delivery Specialists, providing consultancy services on various desktop virtualisation solutions to European organisations.

More Posts - Website

Follow Me:
TwitterLinkedIn


Category : RES    |    Trackback URL

One Comment → “RES Workspace Manager Run Once Per Computer, Per User”


  1. Max Ranzau

    1 year ago

    Iain, great article. Let me just add that you can get the GUID by exporting a buildingblock of the item (external task). Open up the resulting XML file with notepad etc and look for the {nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn} tag inside the section.

    /Max


Leave a Reply

Testimonial

LETN recently undertook some RES product training with Virtual Engine which was delivered on site and was very flexible, tailored to suit our specific needs. The training was superbly delivered, very interactive and what stood out was Virtual Engine’s considerable product knowledge in an operational environment, helping us not only learn the product but how best to use it in the live environments we gave examples of. Without doubt the best vendor training we’ve undertaken recently, we would not hesitate to use Virtual Engine again and would highly recommend their skills to anybody requiring RES training or Professional Services.

Gregg Mearing, Service Delivery Manager
LETN
2011 Logos Footer

Search Our Site