Khi cố tạo Library mới trên Windows 11/10 hoặc Windows Server, bạn có thể gặp lỗi:
Unable to create the file ‘New Library.library.ms’. File system error (16389)
Đây là chính sách mặc định của Windows ngăn người dùng tạo mục tại thư mục gốc của hồ sơ người dùng (Users Files folder) và Libraries.
Cách khắc phục qua Group Policy (gpedit.msc)
- Mở Run (Win+R), gõ
gpedit.mscvà Enter. - Điều hướng đến:
User Configuration > Administrative Templates > Windows Components > Windows Explorer > Prevent users from adding files to the root of their Users Files folder
Giải thích chính sách
- Enabled (Bật): Người dùng KHÔNG thể thêm file/thư mục mới vào gốc thư mục Users Files trong Windows Explorer.
- Disabled / Not Configured (Tắt / Không cấu hình): Người dùng CÓ THỂ thêm file/thư mục mới vào gốc thư mục Users Files.
Lưu ý: Bật chính sách này không ngăn người dùng thêm mục vào thư mục hồ sơ thực tế tại %userprofile%.
Để khắc phục lỗi 16389, hãy đặt chính sách này về Disabled hoặc Not Configured.
Tham khảo thêm: Không thể mở Libraries trên Windows.