I want to connect to remote PC running Windows 7, from another PC using ManagementScope on a local network. On remote PC I\'ve created a new user account \"Samuel\" withou
Are you sure you can make remote WMI connections to accounts without passwords?
There are a number of things such accounts can't do (share files, remote desktop, for example). Try setting a password and see if that makes a difference.
You may want to check to WMI Security Settings on the Remote Windows 7 PC. Right Click Computer > Manage > Services and Applications > WMI Control > Security Tab and make sure the user account you are using has the necc permissions.
Maybe it's the missing 'EnablePrivileges':
scope.Options.EnablePrivileges = true;
From MSDN (ConnectionOptions.EnablePrivileges Property):
Gets or sets a value indicating whether user privileges need to be enabled for the connection operation. This property should only be used when the operation performed requires a certain user privilege to be enabled (for example, a machine restart).
Edit: If it doesn't work, try setting the ImpersonationLevel to 'Impersonate':
scope.Options.Impersonation = System.Management.ImpersonationLevel.Impersonate;
ImpersonationLevel Impersonate: Impersonate-level COM impersonation level that allows objects to use the credentials of the caller. This is the recommended impersonation level for WMI calls.