To access the command prompt as an administrator using the Run program, instead of pressing enter, hold the ctrl+shift+enter keys.
The second way to access the command prompt as an administrator is to press the win key, type in the phrase cmd right click on the command prompt, and press "Run as administrator".
The second way to access the command prompt as an administrator is to press the win key, type in the phrase cmd right click on the command prompt, and press "Run as administrator".
First we must open up a command prompt and run it as an administrator. After doing that we can use the command:
> net user /add [username] [password] This command just adds a local account that is password protected, however, to make them an administrator, we must add them to the group. > net localgroup administrators /add [username] This will add the user to the group administrators, making them a local Administrator. Lastly, we want to delete the user, we can do this using the command: >net user /delete John |
The importance of good password practice is essential to a secure system. As a weak password could lead to the compromise of the host and in some circumstances the entire network, leading to the exposing of user or company sensitive data.
A good password is one that follows these guidelines:
A good password is one that follows these guidelines:
- The password has no relation to you
- The password has not been used in the past
- The password has at least one capital letter
- The password has at least one lowercase letter
- The password has at least one number
- The password has at least one symbol
- The password contains a length of 9 characters or more (for standard users)
- The password contains a length of 14 characters or more (for administrators)
First, we must open up a command prompt with administrative privileges. From here, we have to display a list of all the firewall profiles.
Disk Management, found within the Computer Management application, underneath the Storage tab is an amazing program that can be used to help shrink, expand, format, share, and even delete a volume.
To shrink a volume, right click on the drive, press the shrink volume button, after the optimization process finishes, enter the amount in megabytes that you wish to shrink the disk, then click okay. To format a volume, right click on the drive and press the format volume button. After typing the volume label, which will be the new name of the partition, select the file system you wish, then the allocation size if needed, then click okay. |
The beauty of Disk Management is that if you have an unallocated space within a disk, you can create a simple, spanned, or striped volume depending on your needs. |
First, we must open up a command prompt with administrative privileges. From here, we have to display a list of all of the Wi-Fi profiles and this is where the utility netsh comes in handy.
Within the command prompt type in: C:\WINDOWS\system32 > netsh wlan show profile This command will display all of the BSSIDs of every saved connected Wi-Fi network. Next, we can use the following command to display the password in cleartext. C:\WINDOWS\system32 > netsh wlan show profile [Wifi name] key=clear Now please understand that netsh is an extremely useful function and can do many more things, my advice is to research what it can do! |
First, we must open up a command prompt with administrative privileges, from here we should be able to remove a program using the wmic utility.
Within the command prompt type in: C:\WINDOWS\system32 > wmic product get name, vendor, version This will display all of the installed programs names, the vendor, and the version. Now, in order to uninstall we have to call the function. |
To uninstall a program follow the format below:
C:\Windows\system32 > wmic product where name="[Program Name]" call uninstall
After running the command, if succesful the followign will display:
Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
ReturnValue = 0;
};
Our program has uninstalled successfully, congrats!
C:\Windows\system32 > wmic product where name="[Program Name]" call uninstall
After running the command, if succesful the followign will display:
Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
ReturnValue = 0;
};
Our program has uninstalled successfully, congrats!