Mart, Ok. I modified the script with the code.... I execute it and it removes the registry entries on my computer, but not the remote pc.... and it gives the following errors....

2
The system cannot find the file specified.
2
The system cannot find the file specified.
2
The system cannot find the file specified.