Logo

Managing the Local Users and Groups

As you know, Windows PowerShell is a useful command-line utility in Windows 10 that can be used to manage the Local Users and Groups which affirms the multiuser operating system principle of Windows 10. Although there are other GUI-based utilities used to manage the Local Users and Groups, there are some system administrators that would still like to use the command-line utility to manage these Local Users and Groups. So in this post, you will be guided on how exactly you can manage the Local Users and Groups using PowerShell on your Windows 10 computer.

To get started, refer to the options provided below to manage both the Local Users and Groups using Windows PowerShell.

Option 1 – Manage the Local Users via Windows PowerShell

  • You need to first open Windows PowerShell as an admin. To do that, just tap the Win + X keys and select the Windows PowerShell (Admin) option.
  • After opening PowerShell, you need to execute the “Get-LocalUser” cmdlet so that you can find all the details about all the local user accounts in your computer which would include the Account Name, Enabled status, as well as description.

Note: On the other hand, you can also get the customized data about several objects that are related to your account. For instance, if you want to check when was the last time the Local account’s password was set, then you need to execute the “Get-LocalUser -Name root | Select-Object PasswordLastSet” cmdlet. Thus, the structure for this cmdlet is “Get-LocalUser -Name root | Select-Object *”.

Here are the objects you can use to get different sorts of data:

  • AccountExpires
  • Description
  • Enabled : True
  • FullName
  • PasswordChangeableDate
  • PasswordExpires
  • UserMayChangePassword
  • PasswordRequired
  • PasswordLastSet
  • LastLogon
  • Name
  • SID
  • PrincipalSource
  • ObjectClass

Option 2 – Manage the Local User Groups using Windows PowerShell

  • Like what you did earlier, open Windows PowerShell as admin and then execute the “Get-LocalGroup” cmdlet so you can get all the information about all the groups of all the local user accounts.
  • Now if you want to create a new Local User Group, just execute the “New-LocalGroup -Name <NAME OF THE GROUP> -Description '<ENTER THE DESCRIPTION OF THE GROUP HERE>'” cmdlet.
  • And if you want to add Local User Accounts to a specific group, just execute the “Add-LocalGroupMember -Group '<NAME OF THE GROUP' -Member ('NAME 1','NAME 2','<ROLE>') -Verbose” cmdlet. You could also use the “Get-Localuser -Name john | Add-LocalGroupMember -Group '<NAME OF THE GROUP>'” cmdlet for the same purpose.
  • If you want to display all the User Accounts of a specific group, just use the “Get-LocalGroupMember –Group ‘ ’” cmdlet.
  • Now if you want to remove a local user account from a group, all you have to do is use the “Remove-LocalGroupMember -Group '<NAME OF THE GROUP>' –Member <NAME OF THE LOCAL USER ACCOUNT>” cmdlet.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

Fixing “The .NET Framework 4.7 is not supported on this operating system” Error in Windows 10
In case you don’t know, the .Net Framework is a programming infrastructure introduced by Microsoft. You will need it to run on lots of services and applications. Note that most of the applications that require the .Net Framework are packed with their installation files which is why it will be installed automatically on your computer when you install an application. However, there are instances when you’ll get an error message saying, “The .NET Framework 4.7 is not supported on this operating system” while trying to install the .NET Framework as a standalone service. The very reason why this error message appears is stated in the error message itself. Although the .Net Framework is supported on Windows 10, it is not actually compatible with some other Windows 10 versions. So it is most likely that you are seeing this error message because the .Net Framework in your computer is not compatible with the Windows 10 version you are running. Since that’s the case, you need to update Windows 10 to fix the problem. Updating your Windows 10 computer is the only solution you can try to fix this problem. Thus, it is advised that you check for Windows Updates even if you are now using the latest version of Windows 10. And since the issue is caused by an incompatible operating system version, once you install the exact version of Windows 10 required by the .Net Framework, the problem will be fixed. Simply follow the steps given below to do so.
  • Step 1: Tap the Win + R keys to open the Run dialog box.
  • Step 2: After that, type in “winver” in the field and tap Enter.
  • Step 3: Next, your Windows 10 version should be given in the new window that appears. Take note that the number after the Version which is in the second line is your version number of Windows 10. And that the number must be 1507 or 1709. The first two digits in these numbers are the year while the second two represent the month when the update was released. So if you are running a 1709 version, this means that the Windows 10 version you are using was released in September 2017.
  • Step 4: The next thing you have to do is to make sure that you have the Windows 10 version that’s compatible with the .Net Framework. To verify, you need to click here and click on the System Requirements.
After opening the link, take a look at the Supported Operating System section where it says, “Windows 10 Anniversary Update” and “Windows 10 Creators Update”. Since there are users who are not familiar with the version numbers related to both the Anniversary and Creators updates, refer to the list given below.
  • November Update (1511)
  • Anniversary Update (14393)
  • Creators Update (1703)
  • Fall Creators Update (1709)
  • Spring Creators Update (1803)
As you can see, the Creators Update has version 1703 while the Anniversary Update has version number 14393 so if you are using a version lower than the 14393 version then it’s no wonder you aren’t able to install the .Net Framework 4.7 on your Windows 10 PC. Now all that’s left to do is to update your Windows 10 version and make sure that you will be updating it to the latest version available and then try installing the .Net Framework again.
Read More
Fix WIFI not asking for password
Windows has tendencies to remember WIFI passwords so it can reconnect automatically to them. But from time to time we change passwords and Windows does not let us change it since he has network remembered. In this case, we will not be able to connect to the internet. In this helpful guide, we will let you know which steps you will need to take in order to solve this issue and to be able to connect to the internet again.
  1. Restart Modem

    First thing first, restart your modem. Windows might see it as a new network and offer you to type in the password for it.
  2. Update driver

    Sometimes the issue could be due to driver problems, open device manager and update WIFI driver or reinstall it.
  3. Reset WIFI password

    Press ⊞ Windows + R type “Control” > hit Enter. Now click Network and Internet > Network and Sharing Center > Change adapter settings. Right-click on the connected Wifi and select Status. Click Wireless Properties, change the password from the Network security key section, and then click OK to reset your WiFi password.
  4. Forget the network

    Click on Start > Settings > Network & Internet > Wi-Fi. Click the Manage known networks link Select the network you are looking for Select Forget.
  5. Delete your WIFI profile

    Press ⊞ Windows + X to open the secret menu and click on Command prompt (admin) In command prompt windows type: netsh wlan show profile netsh wlan delete profile name=<profile name> Reboot
Read More
How to reset TCI/IP stack in Windows

TCI/IP or as known as Internet protocol is one that controls packets that are sent over the internet and makes sure that each one has reached its destination so you can pleasantly browse your favorite websites. The setting for the given protocol is stored locally on your machine and most of the time, everything works fine and good, but sometimes, these settings can get corrupted.

tcp/ip reset protocol

Malware or other software can temper with setting making TCP/IP making it wrong and throwing nondescript connection errors in your face. If you are faced with this issue worry not because fixing this issue is really easy.

Before we actually go and fix the issue please do scan your system with your protection suite just to be sure that if there is any kind of malware on the system it is properly removed from it.

Resetting TCP/IP

First thing is to open search and find PowerShell, press the Windows key on the keyboard, and type in PowerShell so search results are shown. Click on Run as administrator to open PowerShell in elevated mode.

Once PowerShell is opened type indie it:

netsh IP reset and press ENTER. The task will start executing and at this point you will see a lot of Resetting, OK! messages. Once everything is finished restart your PC and you are good to go.

Read More
Fixing netio.sys Blue Screen error in Windows
One of the most important components of a computer in the network. The network, with the help of network devices, makes it possible for all kinds of devices to exchange information. One of the files associated with the network driver is the netio.sys file. It is a system file used by third-party programs to interact with the devices on the network. If you encounter a Blue Screen of Death error that’s related to the netio.sys file then you’ve come to the right place as this post will guide you in fixing it. Here are some of the Blue Screen errors related to the netio.sys file:
  • KMODE EXCEPTION NOT HANDLED
  • PAGE FAULT IN A NONPAGED AREA
  • IRQL NOT LESS EQUAL
  • SYSTEM_SERVICE_EXCEPTION
  • DRIVER IRQL NOT LESS OR EQUAL
  • SYSTEM THREAD EXCEPTION NOT HANDLED
To fix the netio.sys Blue Screen errors on your Windows 10 computer, you can check out each one of the following suggestions.

Option 1 – Try to use the System File Checker

One of the built-in tools in Windows that you can use to fix Blue Screen errors is the System File Checker. This built-in command utility can help you restore corrupted or missing files as well as replace bad and corrupted system files. Chances are, the netio.sys file might be corrupted so to fix it, use System File Checker.
  • First, right-click on the Start button and click on the “Command Prompt (Admin) option.
  • Next, type in the sfc /scannow command and hit Enter to execute it.
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
  • Finally, restart your computer.

Option 2 – Try checking the Memory for any errors

The first thing you can do to check the memory for errors is to run the CHKDSK utility. The CHKDSK utility repairs hard drive errors that might be causing the problem.
  • You need to open “This PC” first.
  • And then right-click on your operating system partition for Windows.
  • Next, click on Properties and navigate to the Tools tab.
  • After that, click on the Check button under the Error Checking section.
  • A new mini window will appear and from there, click on Scan drive.
  • Now let it scan your disk drive partition to check for errors and then restart your computer.
After running the CHKDSK utility, it’s now time to fix issues with your RAM by running the Memory Diagnostic tool. This tool in windows can help resolve the Blue Screen errors related to the netio.sys file by checking and automatically fixing any memory-based issues. To run it, refer to these steps:
  • Tap the Win + R keys to open Run and type mdsched.exe and hit Enter to open the Windows Memory Diagnostic Tool.
  • After that, it will give two options such as:
    • Restart now and check for problems (Recommended)
    • Check for problems the next time I start my computer
  • Once your computer has restarted, perform a basic scan or you could also go for the “Advanced” options such as “Test mix” or “Pass count”. Simply tap the F10 key to start the test.
Note: After you select your preferred option, your computer will restart and check for memory-based issues. If it finds any issues, it will automatically fix them and if there’s no issue found, then it’s most likely not a memory-based issue so you should try the other options given below.

Option 3 – Try to update or rollback or disable Network drivers

You might also want to update, roll back or disable your Network drivers to resolve the netio.sys Blue Screen errors.
  • Tap the Win + R keys to launch the Run window and then type in the “mdsched.msc” command and hit Enter to open the Device Manager window.
  • Under the Device Manager, you will see a list of drivers. From there, look for the Network Adapters and expand it.
  • Then right-click on each one of the Network drivers and depending on your preference, you can either select “Update driver”, “Disable device” or “Uninstall device”.
  • After that, restart your PC and see if it helped in fixing the netio.sys Blue Screen error.

Option 4 – Perform System Restore

Performing System Restore can also help fix BSOD errors, including the ones related to the netio.sys file. To run System Restore, follow the steps below.
  • First, tap the Win + R keys to open the Run dialog box.
  • After that, type in “sysdm.cpl” in the field and tap Enter.
  • Next, go to the System Protection tab then click the System Restore button. This will open a new window where you have to select your preferred System Restore point.
  • After that, follow the on-screen instructions to finish the process and then restart your computer and check if the problem is fixed or not.

Option 5 – Run the Blue Screen Troubleshooter

Troubleshooting Blue Screen of Death errors wouldn’t be complete without the Blue Screen troubleshooter. As you know, it is a built-in tool in Windows 10 that helps users in fixing BSOD errors like Storport.sys. It can be found on the Settings Troubleshooters page. To use it, refer to these steps:
  • Tap the Win + I keys to open the Settings panel.
  • Then go to Update & Security > Troubleshoot.
  • From there, look for the option called “Blue Screen” on your right-hand side and then click the “Run the troubleshooter” button to run the Blue Screen Troubleshooter and then follow the next on-screen options. Note that you might have to boot your PC into Safe Mode.
Read More
Turn off or on Mobile Hotspot remotely
In case you don’t know, new support has been added by Microsoft to Windows 10 that now allows users to turn off or on the Mobile Hotspot remotely. The Mobile Hotspot feature, known earlier as “Virtual Networks”, was first introduced with the initial release of Windows 10. With this new feature to remotely turn on or off the Mobile Hotspot in Windows 10, users can just use the Bluetooth on their mobile phones to turn off or on the Mobile Hotspot even when their Windows 10 computers are out of their reach. To turn off or on the Mobile Hotspot feature in your Windows 10 computer remotely, there are two options you can try. First, you can do it using the Windows 10 settings app or using the Registry Editor. To get started, refer to the following options.

Option 1 – Turn off or on the Mobile Hotspot remotely via Windows 10 Settings app

  • First, you need to open the Windows 10 Settings app and from there go to Network & Internet and then go to the Mobile Hotspot section.
  • After that, scroll down to the “Turn on remotely” section.
  • Once done, make sure that the toggle button is set to ON and that the Bluetooth of both devices is turned on and paired as well. This should enable the feature to turn on or off the mobile hotspot remotely.

Option 2 – Turn off or on the Mobile Hotspot remotely via Registry Editor

Before you get started with the second option, make sure that you create a System Restore point first. Once done, proceed to the following steps:
  • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and then hit Enter to open the Registry Editor.
  • Next, navigate to this registry path: ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWcmSvcTethering
  • From there, look for the DWORD named “RemoteStartupDisabled” and set its Value data to be “0”. This will enable the feature that will allow you to remotely turn on or off the mobile hotspot in your Windows 10 computer. To disable it, just set its Value data to “1”.
Read More
5 ways to open task manager in Windows 11
Something we are used to doing in a certain way inside Windows 10 is slightly changed in Windows 11. One of those things is how you open task manager, well kind of. task managerOption to right-click on the taskbar and launch task manager is gone but do not worry there are other same and simple ways you can launch it.
  1. Press CTRL + SHIFT + ESC or CTRL + ALT + DEL
  2. Right-click on the START button
  3. Type task manager in start search on top in the start menu
  4. Type taskmgr in command prompt
  5. Press ⊞ WINDOWS + R to open run dialog and type in taskmgr
And that’s it, now depending on your situation, you might use different methods to evoke task manager.
Read More
Nearby Sharing is not working in Windows
Windows 10 has a lot of several useful features and one of them is the Nearby Sharing feature. You can access this feature by going to Start > Settings > System > Shared experiences. From there, switch on the Nearby Sharing option and select the folder where you want to download the files to. This feature is really useful as it allows you to share files. However, there were reports from a number of users recently stating that Nearby Sharing is not working on their Windows 10 computers. If you are one of the users facing this problem, you might want to try checking if the Windows 10 v1803 Update is installed on your computer or not. You could also try to check if Bluetooth supports low energy mode or you could also try bringing the device closer or check if the adapter has Bluetooth version 4.0 or later. For more information, refer to each one of the given options below.

Option 1 – Try checking if Windows 10 v1803 Update is installed

To check if the Windows 10 v1803 Update is installed on your computer, go to Start > Settings > System > About. From there, scroll down to the Windows specifications and check the Version. If it is 1803 or above, then the Nearby Sharing feature should be active on your computer. However, if you find that Windows 10 v1803 Update is not installed yet, then you need to update your computer to its latest version and then see if it fixes the problem or not.

Option 2 – Verify if Bluetooth supports low energy mode

Although low energy mode is not really necessary in using Nearby Sharing, there are some Bluetooth terminals that support low energy mode which makes a lot of difference. Thus, you need to check if Bluetooth in your computer supports low energy mode by following these steps:
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “devmgmt.msc” in the field and tap Enter to open the Device Manager.
  • After that, expand the list of Bluetooth adapters, and then right-click on your adapter and select Properties.
  • Go to the Details tab and select Bluetooth radio supports Low Energy Central Role from the drop-down menu and if its value says “<true>”, it means that your Bluetooth supports low energy mode, otherwise, it doesn’t.
  • If your Bluetooth does not support low energy mode, then you might want to consider purchasing an external one.

Option 3 – Try bringing the devices closer

Nearby Sharing might not work if your devices are not close enough. Thus, you need to bring your devices closer together and see if it fixes the problem. And when you do, make sure that Network Sharing is switched on for all the concerned devices.

Option 4 – Make sure that you’re using Bluetooth version 4.0 or later

For you to use the Nearby Sharing feature, you have to make sure that the adapter for all the concerned devices is using Bluetooth version 4.0 or later. So if one of the devices or if all the devices are not using this version or later versions, then you must buy an external Bluetooth adapter for you to enjoy the Nearby Sharing feature.
Read More
How to run old applications in Windows 10
Having the latest applications is often preferred for most users but sometimes we have some old applications which have not been updated or simply we just want to run oldie on our computer because it does everything we need and we do not want to upgrade in order to save some money. The issue is presented sometimes when we try to run an old application in Windows 10 and some components are missing in Windows itself or the application is simply coded in a way to work on older Windows versions. If by any chance you have this issue then this guide is for you since we are going to show you how to run old applications in Windows 10. This guide is made in a way to takes into account that the application itself is completely installed on your Windows 10 machine if you can not even install the application you will need to search solution for that particular application since that can not really be generalized and pinpointed issue, every application is different.

Running old applications using the compatibility option

All of that being said, let's start that old app you have. First thing is to locate an executable file or shortcut of the desired application. Once it is located, right-click on it to bring up the menu, and all the way to the bottom you will find properties. Left-click on properties. file properties drop down menuThe application settings screen will open, in upper tabs locate Compatibility and left-click on it. file properties compatibility tab markedAfter the click, you will find yourself in application compatibility settings. File properties compatibility optionsIn this window, you will face different options to run the chosen application in various modes in order to make it run. How settings are self-explanatory and different applications will need different settings sadly we can not cover them all but your safest bet is to run them in an environment where they have worked. For example, if the application was working fine in Windows XP and required administrator privileges, check Run this program as an administrator and Run this program in compatibility mode for Windows XP.
Read More
Automatically backup files & folders
If you are a person which spends a lot of time in front of the computer doing work, then you are aware of the importance of having a proper backup of your archive so if anything bad happens you will lose almost none of the work. We can never tell when we might experience HDD failures or when we might be a victim of cyber attacks, natural disasters,s and other unpredictable circumstances where we could lose all of our data in a matter of minutes. Having a backup of our data is very important but sometimes we are too busy or not around and we miss that data backup we wanted to do, and if in this case disaster strikes we are out of luck and data is lost. To avoid such circumstances, you can set up automatic Windows Backups at a scheduled time. This way it will help to have the loss of important files and documents from unexpected hazards. in order to create automatic backups of your files, you have several options, and below we will explore each one in hopes that you will find one that best suits your needs.
  1. Create automatic file backup with OneDrive

    This is probably the best way to do it because each time when you sign in OneDrive files get backed up right away, files are stored in the cloud and can be accessed on any device via a Microsoft account. To get started, open the Settings app first. Click on the Update & Security category Select the Backup tab from the left pane. Move to the right page and click on the Back up files button that is available under Back up files to OneDrive. Select the folders you want to backup in the cloud, and remove those ones you don’t want to backup. On the next page, click the Start backup button to start the procedure.
  2. Create a backup using File History

    File History is an inbuilt feature that allows users to create automatic file backup on Windows 10. File History allows the users to back up their files in an external or cloud drive at different intervals of time. To create automatic file backup using File History: Press the ⊞ WINDOWS + I to open the Settings app. Click on the Update & Security category and then select the Backup tab from the left pane. Under the Back up using File History section, click on Add a drive button. Now choose the drive to store the backup files. Windows will use this drive for File History. Then turn on the toggle button under Automatically back up my files. This will back up your data to the drive automatically whenever you connect it to the system. Below the toggle button, click on the “More options” link to set how frequently File History will back up. Use the Keep my backups drop-down menu to get the option to configure the time for how long you want to keep your backups. By default, it will keep your backups forever. Under the section Back up these folders, tap on the Add a folder button in order to add one more folder to the backup. Then click on the Add a folder button, under Exclude these folders. This will exclude the files that you don’t want to back up. You can stop the drive from storing backup files to change the backup storage location. To do this, click the Stop using drive option under the Back up to a different drive category.
  3. Backup using Windows backup & restore tool

    Open Control Panel Click on the System and Security option Scroll down and select the Backup and Restore (Windows 7) button Next click on the Set up backup button, available under the Back up or restore your files section Under the Save backup on section, select the Backup Destination where you want your backup files to get stored On the “Set up backup” page, Windows will ask you to choose the way to backup, check Let me choose checkbox, and then hit the Next button Under the section Computer, select the files and folders you want to backup. Then uncheck the box next to the Include a system image of drives option, and then hit the Next button Now click on the Change schedule link. Set the time and check the box beside Run backup on a schedule button Click OK then select the Save settings and run backup option
Read More
Fix Windows 11 Black Screen Error
A black screen error inside Windows 11 is a typical screen turning to solid black without any error message. This can be very annoying since it can randomly appear out of nowhere and it will appear while you are using the computer. Worry not, this is not a serious error and we have several solutions for it, so please keep reading and try them as presented in order.

Black screenRestart graphic driver

This is the first thing to check if the issue is due to software or driver malfunctioning, there is a shortcut for rebooting graphic driver inside Windows 11. Press WINDOWS + CTRL + SHIFT + B to reboot the graphic driver and see if this fixes the issue. A beep sound should be heard during this process and the screen should turn back to normal.

Check connections

Sometimes the screen can go black due to a faulty connection or cable. If you have it at your hand try a different cable or slightly and gently nudge the existing one to see will screen flicker. If you are on a laptop try gently moving the lid from back to front and pay attention to the screen. If screen flickers or picture returns with this method, cable or connector needs to be replaced.

Clean your computer

The black screen can be because the computer is overheating. If this is the case either fan inside is not working properly or there is a lot of dirt and dust that needs to be removed so airflow can be established again for proper cooling. We have an article on errortools.com on how to properly clean your PC but if you are not technical enough maybe the best solution would be to call someone who is or to take the PC to service for cleaning.

Change The Projection Settings

Press WINDOWS + P to open projection settings, check to see if PC is set to PC screen only. If any other option is selected change it to PC screen only since this can cause random black screen issues.

Uninstall latest updates

If this problem has started to manifest itself during the latest update, go to setting and roll back from the latest update to fix this issue.

Scan system for malware

The black screen can also be caused by various viruses and malware. IF you have anti-virus software, run a full system scan to check it for malware. If you do not have one, download a free one and run a system scan, we recommend Bitdefender.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status