dickersonka 104 Veteran Poster

Does anyone have any experience using Instant Virtual Office.
http://ivoapp.com

I have an application that reads from HKCU, which runs fine on w2k, w2k3, and w2k8 servers, but it fails to read the HKCU when running on the IVO server. I haven't been able to find any development document for this server infrastructure and wondered if anyone here has some experience dealing with it?

Thanks

Dani AI

Generated

Short answer: hosted "virtual office" environments commonly run customer code in a different security context or session, so the interactive user hive (what appears as HKCU) can be a different SID or not be loaded at all. For — if the same app reads HKCU on your own W2K/W2K3/W2K8 boxes but fails on IVO, this is the likeliest cause.

Quick troubleshooting checklist:

  • Verify the process identity and session (Task Manager / Process Explorer) to confirm which account the process runs under.
  • In Regedit check HKEY_USERS for the expected user SID; if the SID is missing the user profile/hive is not loaded. See Predefined Keys.
  • Inspect Event Viewer for profile, logon, or service start errors.
  • If the app runs as a service or scheduled task, confirm the configured Log On account and whether that configuration loads the user profile.

Remedies and design notes:

  • Prefer machine-scoped settings (HKLM or %ProgramData%) or per-user files inside the actual user profile instead of depending on HKCU in hosted contexts.
  • If you must target another user hive, load it explicitly after authenticating (LogonUser + LoadUserProfile) — this requires appropriate privileges; see .
  • Watch 32/64-bit registry redirection (Wow6432Node) if keys exist but are visible in the alternate registry view; see Registry Redirector.

Note: services and scheduled tasks frequently run without an interactive profile, so relying on HKCU in hosted/managed environments is brittle.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.