Posts

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

Basic Windows commands

Image
Windows Basic commands /?  :- Displays help at the command prompt. Cd  :-In Windows, the cd command is used to change the current working directory in the command prompt or PowerShell .     cd .. :- Is use for to go back one step. Dir :-In Windows, the dir command is used to list the files and directories in the current directory. It provides basic information about files such as name, size, and modification date. Ping :- In Windows, the ping command is used to test the reachability of a host (typically a computer or a server) on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer. tracert:- In Windows, the tracert (short for "traceroute") command is used to trace the route that packets take to reach a specified destination. Mkdir: -The mkdir command in the command line is used to create a new directory (folder).   Rmdir :-In Windows, the rmdir command is used to remove or delete direc