Posts

Showing posts from March, 2024

Prevent access to drives from My computer.

Image
  Note:- The method described using the Local Group Policy Editor is only available in Windows Pro, Enterprise, and Education editions. For Windows Home editions, alternative methods such as modifying the registry or using third-party software may be required.   To Prevent access to drives from My computer. Step 1: Press the Windows key + R, then enter "gpedit.msc" into the "Run" dialog box. Step 2: Click on "User Configuration" on the left side. Step 3: Click on "Administrative Templates." Step 4: Click on "Windows Components." Step 5: For Windows 10/11, click on "File Explorer". For Windows 7, click on "Windows Explorer". Step 6: Click on "Prevent access to drives from My computer." Step 7 :- To enable, select the drive, then click "Apply." Step 8:  1.Repeat the process. 2.Select the "Not Configured" option. 3.Click on "Apply." Note: This material is intended solely for educ

How to Hide c drive or any other drive.

Image
  Note:- The method described using the Local Group Policy Editor is only available in Windows Pro, Enterprise, and Education editions. For Windows Home editions, alternative methods such as modifying the registry or using third-party software may be required. To hide the C drive or any other drive, you can follow these steps using the Local Group Policy Editor:- Step 1: Press the Windows key + R, then enter "gpedit.msc" into the "Run" dialog box.   Step 2: Click on "User Configuration" on the left side. Step 3: Click on "Administrative Templates." Step 4: Click on "Windows Components." Step 5: For Windows 10/11, click on "File Explorer". For Windows 7, click on "Windows Explorer". Step 6: Click on "Hide these specified drives." . Step 7:- To enable, select the drive, then click "Apply." Step 8:  1.Repeat the process. 2.Select the "Not Configured" option. 3.Click on "Apply." No

Kali linux basic commands

Image
  ls:-  It is used to list files and directories in the current directory. ls -l :- The ls -l command in Kali Linux is used to list files and directories in the current directory in long listing format. Pwd :- T he pwd command stands for "print working directory." It is used to display the current working directory in the terminal. sudo su :- In Kali Linux the sudo su command is used to switch to the root user account. Date :- In Kali Linux, as in other Linux distributions, the date command is used to display or set the system date and time. mkdir :- In Kali Linux, the mkdir command is used to create directories (folders). rmdir:- T he rmdir command is used to remove directories (folders). rmdir can only remove empty directories. rm -rf:- For remove non-empty directorices use rm -rf. touch:- The touch command is used to create empty files or update the access and modification timestamps of existing files. rm :- the rm command is used to remove (delete) files or