API Reference
Class
RsopRemoteHelper
Convenience helpers to compute RSOP for a remote user's hive by locating NTUSER.DAT via the remote machine's ProfileList registry and using the offline hive reader. Requires administrative access to the remote machine (SeBackupPrivilege/SeRestorePrivilege) and access to the administrative share (e.g., \\COMPUTER\C$).
Inheritance
- Object
- RsopRemoteHelper
Methods
public static RsopDetails GetUserFromRemoteHive(String computerName, String userSid, String admxDirectory = null, String language = null) #Returns:
RsopDetailsBuilds RSOP for a remote user by resolving the user's profile path from the remote machine and loading the NTUSER.DAT hive via administrative share into an offline policy source.
Parameters
- computerName System.String
- Remote computer name.
- userSid System.String
- Target user's SID on the remote computer.
- admxDirectory System.String = null
- Optional ADMX directory (auto-located when null/empty).
- language System.String = null
- Optional ADML language (e.g., en-US).
Returns
RSOP details for the remote user hive.