I'm trying to use the ProtectedData class from a Windows Service, using the "CurrentUser" scope. It fails with the error "Key not valid for use in specified state.". I believe this is because the user profile is not loaded. How can I load the user profile for the service account running the service?
Hallis