Windows error 0x8007052F, -2147023569

Detailed Error Information

ACCOUNT_RESTRICTION[1]

MessageAccount restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code1327 (0x052f)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x0000052f.

Questions

3votes
2answers

Registering a new task in C# is not working

I want to register a new task. My app has admin privileges: <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> I have tried to find something on the Internet, but there are so many examples that tell me I'm doing it right. Here's an exception I'm getting: > COMException was caught Account restrictions are [...] read more
c#
scheduled-tasks
task

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0