Windows 10: NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient...

Discus and support NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient... in Windows 10 Gaming to solve the problem; After updating to Windows 11 24H2 build 26100 or later, the NetUserChangePassword API always returns ERROR_ACCESS_DENIED code 5, even though all... Discussion in 'Windows 10 Gaming' started by 1juyeon, Jun 18, 2025 at 7:57 AM.

  1. 1juyeon Win User

    NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient...


    After updating to Windows 11 24H2 build 26100 or later, the NetUserChangePassword API always returns ERROR_ACCESS_DENIED code 5, even though all necessary permission and environment conditions appear to be met. Here’s what I’ve confirmed in my environment: - The service process making the call is running under a local administrator account not LocalSystem. - IPC$ connection to the target PC is established successfully using WNetAddConnection2. - The user account whose password is being changed has "User may change password: Yes". - Local Security Policy allows users to change their pass

    :)
     
  2. wenxibo Win User

    Why SetupDiSetDeviceProperty return ERROR_ACCESS_DENIED ?

    Thank you for reply .

    I had tried to config my program with compatibility win7 mode on win8 system , but the problem still exists .

    SetupDiSetDeviceProperty still report ERROR_ACCESS_DENIED , and CM_Set_DevNode_Property also return ERROR_ACCESS_DENIED .

    Other functions in SetupAPI such as SetupDiCreateDeviceInfo work OK .

    I think there are some restriction for setting device property on win8/win10 , but not published on MSDN document .
     
  3. wenxibo Win User
    Why SetupDiSetDeviceProperty return ERROR_ACCESS_DENIED ?

    My application using SetupAPI to perform some works .



    But I found call SetupDiSetDeviceProperty failed on Win8/Win10 , return error is ERROR_ACCESS_DENIED .

    My application had elevated as administrator context , and worked well on Win7 .

    What is the possible method to solve this problem ?
     
  4. DaveM121 Win User

    NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient...

    Factory reset Windows 11 24H2 (build 26100.863)

    Hi, I am Dave, I will help you with this.

    There are no currently listed problems resetting version 24H2 of Windows 11 and no specific steps you need to perform, are you experiencing any problems with that insider build that is causing you to perform a Windows reset?
     
Thema:

NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient...

Loading...
  1. NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient... - Similar Threads - NetUserChangePassword returns ERROR_ACCESS_DENIED

  2. NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient...

    in Windows 10 Software and Apps
    NetUserChangePassword returns ERROR_ACCESS_DENIED on Windows 11 24H2 even with sufficient...: After updating to Windows 11 24H2 build 26100 or later, the NetUserChangePassword API always returns ERROR_ACCESS_DENIED code 5, even though all necessary permission and environment conditions appear to be met. Here’s what I’ve confirmed in my environment: - The service...
  3. RegisterPointerInputTargethwnd,PT_TOUCH returns ERROR_ACCESS_DENIED

    in Windows 10 Gaming
    RegisterPointerInputTargethwnd,PT_TOUCH returns ERROR_ACCESS_DENIED: RegisterPointerInputTargethwnd,PT_TOUCH returns ERROR_ACCESS_DENIED,Here is my C++ code: int APIENTRY wWinMain_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine,...
  4. RegisterPointerInputTargethwnd,PT_TOUCH returns ERROR_ACCESS_DENIED

    in Windows 10 Software and Apps
    RegisterPointerInputTargethwnd,PT_TOUCH returns ERROR_ACCESS_DENIED: RegisterPointerInputTargethwnd,PT_TOUCH returns ERROR_ACCESS_DENIED,Here is my C++ code: int APIENTRY wWinMain_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine,...
  5. Windows 11 version 24H2 update issue with NetUserChangePassword fail

    in Windows 10 Gaming
    Windows 11 version 24H2 update issue with NetUserChangePassword fail: After Windows 11 24H2 10/01/2024 update, the call to NetUserChangePassword API always fails. It returns ERROR_ACCESS_DENIED even though the calling process has sufficient privileges.ERROR_ACCESS_DENIED5 NetUserChangePassword function lmaccess.hAccording to Remarks, it says...
  6. Windows 11 version 24H2 update issue with NetUserChangePassword fail

    in Windows 10 Software and Apps
    Windows 11 version 24H2 update issue with NetUserChangePassword fail: After Windows 11 24H2 10/01/2024 update, the call to NetUserChangePassword API always fails. It returns ERROR_ACCESS_DENIED even though the calling process has sufficient privileges.ERROR_ACCESS_DENIED5 NetUserChangePassword function lmaccess.hAccording to Remarks, it says...
  7. Return to Windows 11

    in Windows 10 Gaming
    Return to Windows 11: My laptop came with w10 i then upgraded to w11 but I thought A game I got wasn't working due to it being on w11 so i went back. turns out I just had to reinstall the game due to file issues. Now I want to have w11, how do I do that?btw i hope the fix multi monitor issues....
  8. Is Windows Defender sufficient?

    in AntiVirus, Firewalls and System Security
    Is Windows Defender sufficient?: Is Windows Defender (Windows 10) as good as the other free antivirus programs? Ist Windows Defender ausreichend?
  9. Is Windows Defender Sufficient?

    in AntiVirus, Firewalls and System Security
    Is Windows Defender Sufficient?: is windows defender antivirus is enough to protect my pc ? [Original Title: security] https://answers.microsoft.com/en-us/protect/forum/all/is-windows-defender-sufficient/f5d4e65f-de4d-42a9-bba4-fc38c8551d3e
  10. Why SetupDiSetDeviceProperty return ERROR_ACCESS_DENIED ?

    in Windows 10 Installation and Upgrade
    Why SetupDiSetDeviceProperty return ERROR_ACCESS_DENIED ?: My application using SetupAPI to perform some works . But I found call SetupDiSetDeviceProperty failed on Win8/Win10 , return error is ERROR_ACCESS_DENIED . My application had elevated as administrator context , and worked well on Win7 . What is the possible method to...