From: Jason Burgett Date: 2012-06-01T12:20:32+09:00 Subject: Registry editing in Windows 7 I'm trying to edit 1 key in the Windows 7 registry and I'm having trouble. Here's what I have so far: ------------------- require 'win32/registry' keyname = 'Software\Tightvnc\Server' access = Win32::Registry::KEY_ALL_ACCESS Win32::Registry::HKEY_LOCAL_MACHINE.open(keyname, access) do |reg| reg['Password'] = '7a,2f,07,fd,36,74,7c,52' end ------------------- The key has a BINARY value that is already set to another value. When I run the .rb file from an administrative command prompt it seems to run with no errors, but the value never changes. -- Posted via http://www.ruby-forum.com/.