Ok... the registry stuff works, thanks, witto

NTDOC: The only thing still remains is that i somehow cannot connect to the WMI of WinXP Computers. I'm running the script from a WIN2K-Computer. The Firewall on the winxp is not a problem, the RPC-Services are all turned on, but it just doesn't work, it gives me an "ERROR 1722", the RPC-Server was not found. When I try to access it/run the script from another winxp-computer it gives me access denied (error 5, though i have the right user/pwd typed in)