I hope this isn't too off topic, as there may be other SCCM users out there. When running a script as the logged on user (not as System) Regread and Regwrite don't work. I think this is because even though the script is running with only the user's rights it is still running to some extent in the System account - although a message box popped up from a script running in this way does show the correct username for @username. What I don't understand is why running in the same way Reg.exe does work in reading and writing to the registry as the logged on user - although I find the syntax harder :-). Does anyone understand why this is or have a workaround to get Regread etc working is this situation?
Many thanks as always,
Stephen