Exempel på att skriva i registret:
Option Explicit
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives" ,"31", "REG_DWORD"
Wscript.Echo("Fixat !!")
Skrivet i VBScript...
Googla och sök lite.. det finns massor där ute..
