This project is read-only.

Can't run program under Windows 7 x64 even as admin


I've copied CustomURL.exe to SysWow64 and System32. I've tried running it as adminstrator, and no luck. I've tried this on multiple machines, admin domain logins, and local PC admins, and still get the same error. I've searched the internet for possible fixes and tried everything that I've found, without any luck.

Here is the error I'm getting:. Any ideas? I really need this to get my helpdesk to work with DameWare remote client! Please help! I can run this on another machine sitting next to me not on our domain (but that shouldn't matter I would think, since I can't even run it as local admin on the machine).

Any suggestions?

Also, for some reason I can't get it to pass the host name/IP to the program. Any ideas? I use dwrcc://x.x.x.x, and it launches DameWare, but doesn't pass the IP address or host name to the program. For the command lines, my switch/arguments are:

-c -h -m:%host% -u:pctech -p:xxx -a:2
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Security.SecurityException: Requested registry access is not allowed.
   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   at CustomURL.Form1.RefreshList()
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The Zone of the assembly that failed was:

************** Loaded Assemblies **************
    Assembly Version:
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Users/a035125/Desktop/CustomURL%20(1).exe
    Assembly Version:
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/
    Assembly Version:
    Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/
    Assembly Version:
    Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/
    Assembly Version:
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the section.
The application must also be compiled with debugging

For example:


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.