Would there still be a current user when condor is crunching on that machine? If so, how about making a regedit from the batch script that starts opera? Just add the HKCU key each time you start the program.
Or, have a common account set-up on each machine complete with the reg key. Then run using that account. The Bristol enhancement might help you out too.
From: Colin Stolley [mailto:stolley@xxxxxxxxxxx]
Sent: March 31, 2005 3:55 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] User profile for condor-reuse-vm1 in Windows
>With help from the IT managers in the department, we've managed to link
>the problem to the fact that the program (Opera) looks for a registry
>key in HKEY_CURRENT_USER\Software to determine the licensing mechanism
>(dongle or network). If no key is found, the program assumes (wrongly)
>that a local dongle is being used.
You're running Opera under Condor? I'd be curious to know what for.
>We would like to create the necessary key in the registry for use by
>condor-reuse-vm1 (the owner of the jobs on the remote machines), but it
>seems that Condor doesn't have a user profile (as can be shown by
>running a simple batch script which runs "cmd /c set > dump.txt" on the
The only way I know of that user profiles are created is when the user
first logs in interactively. Since the condor-reuse-vm1 account doesn't
ever get logged in this way, the profile never gets created.
One crazy idea might be to create the keys yourself. If you download
pstools.zip from www.sysinternals.com, you'll get a tool called
psgetsid. If you run 'psgetsid condor-reuse-vm1', that'll tell you what
the account's SID is. For example, on my machine, I'd create a key called:
Then you can put whatever profile-specific registry settings you want
under that key.
Sounds like a lot of work, but you could probably automate it somehow.
Condor-users mailing list