I have a script that modifies several registry keys of windows, it works all but this:

WriteValue ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Personal","D:\%username%\My Documents","REG_SZ")

It also change the key "User Shell Folders".
I killed the process "explorer.exe" before, and I launch it after all
Can you help me??? Thanks everyone.