Firstly, you might want to try this version of the shell command, it waits for regedit.exe to finish:

shell '%COMSPEC% /c regedit /s \\server\share....'

ah, then you have to consider possible security issues, might want to check the errorlevel with:

?"@ERROR : @SERROR"

after your shell.

Then, there are known issues when writting to HKCU under Win95, what platform are you writing to ?

Lastly, you might want to check out the builtin Kixtart functions READVALUE() and WRITEVALUE(), that read and write to the registry directly, without having to shell-out to regedit. Might be a better way to go if you only have a poke or two.

-Shawn