Posts

Showing posts from January, 2024

3 cách để "buộc" người dùng thay đổi mật khẩu theo định kỳ trên Windows 10

Image
 Nguồn: https://quantrimang.com/cong-nghe/3-cach-de-buoc-nguoi-dung-thay-doi-mat-khau-theo-dinh-ky-tren-windows-10-127501#google_vignette Windows 10 được tích hợp cả một đống tính năng bảo mật tuyệt vời, trong đó bao gồm xác thực sinh trắc học Windows Hello, phần mềm bảo vệ malware (phần mềm độc hại) Windows Defender và Windows Update để cập nhật thiết bị của bạn. Tuy nhiên ngay cả khi có các tính năng này thì máy tính của bạn vẫn có thể dễ dàng bị truy cập trái phép nếu bạn tiếp tục sử dụng cùng một mật khẩu trong một thời gian dài. Mặc dù người dùng có thể thay đổi mật khẩu của họ bất cứ lúc nào, nhưng cũng có thể cấu hình hệ điều hành để yêu cầu người dùng thay đổi mật khẩu theo định kỳ. Trong bài viết dưới đây Quản trị mạng sẽ hướng dẫn bạn 3 cách để "buộc" người dùng thay đổi mật khẩu theo định kỳ trên Windows 10. 1. Sử dụng Group Policy để “buộc” thay đổi mật khẩu Nếu đang sử dụng Windows 10 Pro, Enterprise hoặc Education, bạn có thể sử dụng Local Group Policy Editor để

Bỏ dấu tiếng việt

     static string ConvertCombiningDiacriticsToPrecomposed(string input)     {         string normalized = input.Normalize(NormalizationForm.FormD);         StringBuilder precomposed = new StringBuilder();         foreach (char c in normalized)         {             UnicodeCategory category = CharUnicodeInfo.GetUnicodeCategory(c);             if (category != UnicodeCategory.NonSpacingMark)             {                 precomposed.Append(c);             }         }         return precomposed.ToString().Normalize(NormalizationForm.FormC);     }     static string ConvertCombiningDiacriticsToPrecomposedWithoutRemovingDiacritics(string input)     {         return input.Normalize(NormalizationForm.FormC);     }

Create schedule Restart SQL Server

 If you want to schedule the restart of SQL Server or Windows Server on a regular basis, you can use the Windows Task Scheduler. Here's a general guide on how to create a scheduled task for restarting SQL Server and Windows Server: Schedule SQL Server Restart: Open Task Scheduler: Press Win + R to open the Run dialog. Type taskschd.msc and press Enter. Create a Basic Task: In the Task Scheduler, select "Create Basic Task" from the right-hand actions pane. Name and Description: Provide a name and description for your task. Click Next. Trigger Configuration: Choose the trigger type (Daily, Weekly, Monthly) based on when you want the SQL Server to restart. Set the start date and time. Click Next. Action Selection: Choose "Start a program" as the action. Click Next. Program/Script: Browse and select the SQL Server service executable. The default path is typically C:\Program Files\Microsoft SQL Server\MSSQL<Instance>\MSSQL\Binn\sqlservr.exe. Add the following p