attiahia
06-11-2001, 04:28 AM
I am a LAN Administrator, I developed a KIX script and comforted to an EXE file, once the user click on it specific software will be installed for him and then restart his workstation.
According to the installation instruction I have to execute another EXE after the software installation completed and the workstation restarted.
Therefore I am writing in HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Runonce
The paths of this second EXE file before restart the workstation.
This worked fine and the path of the second EXE file will be wrote to this Key when the users himself execute my script (EXE). But when I Contact the user workstation REMOTELY with a user account has admin privilege on this workstation I found that I became able to write in HKEY_LOCAL_MACHINE Keas only but not in HKEY_CURRENT_USER.
I think this because of the deferent between the 2 login id.
Please help.
According to the installation instruction I have to execute another EXE after the software installation completed and the workstation restarted.
Therefore I am writing in HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Runonce
The paths of this second EXE file before restart the workstation.
This worked fine and the path of the second EXE file will be wrote to this Key when the users himself execute my script (EXE). But when I Contact the user workstation REMOTELY with a user account has admin privilege on this workstation I found that I became able to write in HKEY_LOCAL_MACHINE Keas only but not in HKEY_CURRENT_USER.
I think this because of the deferent between the 2 login id.
Please help.