Windows 10: Using C++, Want to remove not deny Write permission alone from a user trustee with Full...

Discus and support Using C++, Want to remove not deny Write permission alone from a user trustee with Full... in Windows 10 Gaming to solve the problem; I want to implement a c++ program to remove "Write" permission alone for a user trustee with "Full Control" permission over a folder in windows NTFS... Discussion in 'Windows 10 Gaming' started by Praveenkumar SS, Jan 30, 2025.

  1. Using C++, Want to remove not deny Write permission alone from a user trustee with Full...


    I want to implement a c++ program to remove "Write" permission alone for a user trustee with "Full Control" permission over a folder in windows NTFS drive. I tried to use the SetEntriesInAcl function from the aclapi.h API, but I failed to to because REVOKE_ACCESS AccessMode removing the trustee itself. I want to remove Write access that is I don't want to set deny or allow access type. Help and suggest me how to achieve it.Note : I also tried the below method which I don't want. Since it is not a correct solution for my need. I used "SET_ACCESS" as grfAccessMode, "GENERIC_READ GENERIC

    :)
     
    Praveenkumar SS, Jan 30, 2025
    #1
  2. scopio Win User

    File permissions for another user

    Still no joy. Test User can still write to the file. *Sad
    This are the steps I have done;

    1. Created file in User account
    2. Copied file to Test User account
    3. Signed into Test User account
    4. Right click file
    5. Properties > Security > Edit > Add Test User > Allow Read > Deny Write > Advanced > Change Owner to Administrators > To Remove User account had to disable inheritance which removed all accounts except Test User and Administrator
    6. Test User can still write to the file!!

    Using C++, Want to remove not deny Write permission alone from a user trustee with Full... 239202d1562193185t-file-permissions-another-user-03-07-2019-23-21-01.jpg



    Using C++, Want to remove not deny Write permission alone from a user trustee with Full... 239203d1562193260t-file-permissions-another-user-last-action.jpg



    Using C++, Want to remove not deny Write permission alone from a user trustee with Full... 239204d1562193300t-file-permissions-another-user-03-07-2019-23-21-33.jpg



    Using C++, Want to remove not deny Write permission alone from a user trustee with Full... 239205d1562194063t-file-permissions-another-user-03-07-2019-23-46-18.jpg


    Still stuck. Test User still has full control of the file, he can write, modify, cut, copy, paste in fact as if the permissions had not been changed. *Confused
    Administrators permissions

    Using C++, Want to remove not deny Write permission alone from a user trustee with Full... 239209d1562194691t-file-permissions-another-user-03-07-2019-23-57-30.jpg
     
    scopio, Jan 30, 2025
    #2
  3. cannot write to memory keys in windows 10

    Hello,

    To isolate this concern, we suggest that you follow the steps below:

    • Open File Explorer.
    • Go to Local Disk (CUsing C++, Want to remove not deny Write permission alone from a user trustee with Full... :).
    • Right-click on Users.
    • Choose Properties.
    • Go to Security tab.
    • Under Group or user names, highlight the user account that you want to have a
      Write permission.
    • To change permissions, click on Edit.

    Please post back with the result for further assistance.
     
    Desiree Yau, Jan 30, 2025
    #3
  4. Using C++, Want to remove not deny Write permission alone from a user trustee with Full...

    Folder Permissions Remove System

    Hi,

    Thank you for posting your query in Microsoft Community.



    Let me answer your query on Windows 10.

    Please be informed that you cannot remove the system entry, However you can add/remove permission for a particular user.

    The Group or user name section lists all the accounts on the computer. If you want to prevent a user to accessing the folder, you may deny/remove all permission for that particular user.

    The system account and the administrator account (Administrators group) have the same file privileges, but they have different functions. The system account is used by the operating system and by services that run under Windows.

    I suggest you not to remove permissions for SYSTEM entry.

    Hope the information helps, do reply if you need further assistance.



    Thank you.
     
    Deepak Kodi, Jan 30, 2025
    #4
Thema:

Using C++, Want to remove not deny Write permission alone from a user trustee with Full...

Loading...
  1. Using C++, Want to remove not deny Write permission alone from a user trustee with Full... - Similar Threads - Using C++ remove

  2. Using C++, Want to remove not deny Write permission alone from a user trustee with Full...

    in Windows 10 Software and Apps
    Using C++, Want to remove not deny Write permission alone from a user trustee with Full...: I want to implement a c++ program to remove "Write" permission alone for a user trustee with "Full Control" permission over a folder in windows NTFS drive. I tried to use the SetEntriesInAcl function from the aclapi.h API, but I failed to to because REVOKE_ACCESS AccessMode...
  3. What if I remove the write permissions for authenticated users for client CMG certificate?

    in Windows 10 Software and Apps
    What if I remove the write permissions for authenticated users for client CMG certificate?: Hello Guys,Ad CS vulnerabilities.IntuneClientCertificate -> ESC1:"Domain Users" can enroll with the CA and specify the "Subject Alternative Name". Therefore, a user can request a client authenticate certificate, specifying a DA as the SAN, and have a certificate to...
  4. MKLINK in C:\Users Access Denied

    in Windows 10 Network and Sharing
    MKLINK in C:\Users Access Denied: I have Win 10 21H2 Bld 19044.1706. I did a Laplink PCMover transfer to new computer but it changed profile name from "john.WORKGROUP" to "john". Everything is working except a million links like "C:\Users\john.WORKGROUP\Documents\something.exe" so I want to make a link named...
  5. MKLINK in C:\Users Access Denied

    in Windows 10 Gaming
    MKLINK in C:\Users Access Denied: I have Win 10 21H2 Bld 19044.1706. I did a Laplink PCMover transfer to new computer but it changed profile name from "john.WORKGROUP" to "john". Everything is working except a million links like "C:\Users\john.WORKGROUP\Documents\something.exe" so I want to make a link named...
  6. MKLINK in C:\Users Access Denied

    in Windows 10 Software and Apps
    MKLINK in C:\Users Access Denied: I have Win 10 21H2 Bld 19044.1706. I did a Laplink PCMover transfer to new computer but it changed profile name from "john.WORKGROUP" to "john". Everything is working except a million links like "C:\Users\john.WORKGROUP\Documents\something.exe" so I want to make a link named...
  7. User Account Control Denying Permission

    in AntiVirus, Firewalls and System Security
    User Account Control Denying Permission: User Account Control in Windows 10 won't allow me to enter an admin user name or password. How do I correct that problem? https://answers.microsoft.com/en-us/windows/forum/all/user-account-control-denying-permission/0b1f11cf-80e1-492b-819a-31e3e7afb56d
  8. Full user permission

    in Windows 10 BSOD Crashes and Debugging
    Full user permission: Hi, recently i have been getting a bundle of errors and i think are mainly due to permission changes. My user is an admin yet i get an admin has blocked me from doing stuff device manager, services ... meaning cant access mcc exe. Also windows troubleshooters all get an error...
  9. Write permission denied for non-existent file

    in Windows 10 Network and Sharing
    Write permission denied for non-existent file: Hello I have the most peculiar issue. A program that I downloaded from the internet was updated, and the executable of the updated version triggered some heuristic issue with the antivirus Bitdefender and was quarantined and later removed. There have been even newer...
  10. C:/ access denied Local Disc C read permission

    in Windows 10 Customization
    C:/ access denied Local Disc C read permission: Hello I really need your help on this I tried different methods but didn't help me to solve this hardest issue that I have ever had before Let me explain step by step I din't know it would be this hard but it all started when I denied read access from Local Disc C, I...