registry - variable ?

  • Thread starter Thread starter barabba
  • Start date Start date
B

barabba

Hello all,

I have an application that has a key underneath HKLM\Software that
stores the path for a INI file and it cannot be moved from there.

The problem is that this machine is a Metaframe terminal server so I
would need to create a different INI file for each user logging-on.

Is there a way to use a variable as a value of that key ? For example,
instead of c:\program files, c:\documents and
settings\%username%\Application Data\etc. Is that possible ?

Alternatively, I was thinking of a logon script that upon each user
logon would set this value to an user defined path. Is this a feasible
way ? What wouldd happen in the event of a simultaneous user logon ?
This is the first time I am confronted with such an issue. Maybe other
more experienced Terminal Server administrators can give a hint about
this problem.

Thank you in advance for your help
Bye
Bar
 
You might try it with a data type Reg_Expand_Sz
%userprofile%\Application Data\etc

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello all,
|
| I have an application that has a key underneath HKLM\Software that
| stores the path for a INI file and it cannot be moved from there.
|
| The problem is that this machine is a Metaframe terminal server so I
| would need to create a different INI file for each user logging-on.
|
| Is there a way to use a variable as a value of that key ? For example,
| instead of c:\program files, c:\documents and
| settings\%username%\Application Data\etc. Is that possible ?
|
| Alternatively, I was thinking of a logon script that upon each user
| logon would set this value to an user defined path. Is this a feasible
| way ? What wouldd happen in the event of a simultaneous user logon ?
| This is the first time I am confronted with such an issue. Maybe other
| more experienced Terminal Server administrators can give a hint about
| this problem.
|
| Thank you in advance for your help
| Bye
| Bar
 
I have a Win2000 PC. I noticed the auto-update icon was in the system
tray- it had updates ready. I let it install. It didn't tell me to
reboot- but I did anyway.

Over the next week, every day the auto update would run and download
the same exact patches. I would reboot- but it would auto update
again.

I went manually to MS site and scanned for updates- it said I needed
the same updates that had been auto downloaded.
i downloaded manually and when it tried to install them, I got a red
error message saying the updates had failed to install.

I'm running the latest Norton Antivirus - and Adaware- neither finds
any problem.

Any idea on how I can get this PC to update?


Also- I am in a rural area with REAL slow phone connections - no cable
or DSl available....so, is there a MS site where I can download the
upgrades ONCE to my hard drive??? it takes several hours to download
some of these big patches.

Thanks

Henry
 
Ask them in public.windowsupdate

This link may also help.
http://v5.windowsupdate.microsoft.com/v5consumer/default.aspx?ln=en-us

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have a Win2000 PC. I noticed the auto-update icon was in the system
| tray- it had updates ready. I let it install. It didn't tell me to
| reboot- but I did anyway.
|
| Over the next week, every day the auto update would run and download
| the same exact patches. I would reboot- but it would auto update
| again.
|
| I went manually to MS site and scanned for updates- it said I needed
| the same updates that had been auto downloaded.
| i downloaded manually and when it tried to install them, I got a red
| error message saying the updates had failed to install.
|
| I'm running the latest Norton Antivirus - and Adaware- neither finds
| any problem.
|
| Any idea on how I can get this PC to update?
|
|
| Also- I am in a rural area with REAL slow phone connections - no cable
| or DSl available....so, is there a MS site where I can download the
| upgrades ONCE to my hard drive??? it takes several hours to download
| some of these big patches.
|
| Thanks
|
| Henry
 
Back
Top