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

New toys in new PowerToys for Windows
A new update to popular Microsoft PowerToys has brought a few new features that are aimed at speeding up the workflow. PowerToysThe first new feature that was slid in is Always on top utility. With this cool utility, you can keep the window as the name suggests, always on top of other windows. To enable this cool feature all you have to do is press the key combination of ⊞ WINDOWS + CTRL + T and an active window will be now always on top of all other windows. To reverse and unlock this window from being always on top just press key combination again. A second new feature is a really great one and my favorite thing to happen in power toys. Often we are making the search in our browsers to find stuff, things, maybe some explanations, information, etc. The newest update in power toys brings this to a whole new dimension. While you are on PC you just simply need to type ?? followed by questions like: ?? When doctor strange 2 is coming out and that will launch your default browser with your chosen search engine and provide you with the answer. Third and final thing is G-code support in the file explorer preview pane and thumbnails, meaning that if you work with CNC equipment you can now have a thumbnail preview of the code itself inside File Explorer. And that’s it for now, thank you for coming and reading, Take care and I hope to see you next time.
Read More
Blu-ray player does not recognize the disc
So, you just made some popcorns, dimmed light, relaxed in from of the TV, pressed play on your application and Blu-ray drive can not read your movie. Your movie night failed sadly, but there is hope and in this article, we are going to explore and offer you solutions on what to do when something like this happens so you do not miss another movie night and some hard-earned relaxation. Please note that in this article we are assuming that you are using a Blu-ray player on your PC, so some of the solutions presented are meant only for this case. So the first thing that you are supposed to do is to check the disc itself. You can turn the disc around and visually check the disc for fingerprints and scratches which can be fatal for disc playing, alternatively, you can try to play the same disc on another device and if it fails there also it is not the disc, it is your drive. So if it is no issue with the disc let's see that seems to be a problem with the drive. The common thing that could stop disc reading are cables, check all connections and cables in the back of your device to be sure that everything is plugged in correctly and nicely. After checking cables if the issue persists lens cleaning is the next step. Over time lens from the Blu-ray, the device becomes dirty and dust accumulates on it, there are special cleaning discs on market made especially for this purpose, to clean the dirty lens of optical devices. If you have one put it in and clean your lens. After lens cleaning with a specialty disc, a good idea would be to use compressed air in a can to reduce the dust inside so no excess dust will accumulate quickly again on the lens itself.

So the device is cleaned and checked and still no disc playing?

Update firmware first. In order to accomplish this visit your device manufacturer's website and follow instructions there on how to upgrade firmware. If this did not helped also update or reinstall device drivers. Go to device manager and update drivers for your device by right-clicking on it and choosing update driver. If none of the things helped, go to command prompt as administrator and type in SFC /scannow, leave the process to finish, and reboot.
Read More
Mobile Hotspot does not show up or detected
As you know, the Mobile Hotspot feature is used to share the internet connection with other devices using Wi-Fi signals. These Wi-Fi signals are later caught by other devices using their Wi-Fi and then the internet connection is shared once they are connected. However, recently, some users reported that their devices weren’t able to see the Wi-Fi network even if their Wi-Fi is on. This kind of problem could be caused by several factors but one of the main ones include the frequency at which the Wi-Fi network is being broadcasted. If you are one of the users who are currently facing this problem, read on as this post will guide you on what you can do if the Mobile Hotspot or Wi-Fi connection does not show up or is not detected on your Windows 10 device. In most cases, there are only two frequencies at which a Wi-Fi network is broadcasted. They are broadcasted either at 2.4 GHz and 5 GHz. The ones that are broadcasted at 5 GHz need specific hardware since it is a newer technology compared to the ones at 2.4 GHz. There are several other pieces of equipment as well as electrical appliances that operate at 2.4 GHz that includes microwaves as well which causes disruption in the signal strength of the Wi-Fi network. Moreover, aside from signal interruption, this issue with the mobile hotspot might also have something to do with the network-related drivers in your computer. Thus, to fix the problem, here are some suggestions you should follow.

Option 1 – Try toggling the Network band or the frequency at which the Wi-Fi network is broadcasted

  • First, open the Windows 10 Settings app and then navigate to Network & Internet > Mobile hotspot.
  • From there, click on the Edit button located under the Network name, Network password, and Network band.
  • After that, set the Network band to be at 2.4 GHz and then click on the Save button.
  • Once done, restart the Mobile hotspot in your Windows 10 device as well as the Wi-Fi connection of the device that’s trying to connect to the hotspot.

Option 2 – Try running the Network Adapter Troubleshooter

If the first option didn’t work, you might also want to run the Network Adapter Troubleshooter. You can use it to troubleshoot the problem with the Mobile hotspot, to run it, follow these steps:
  • Open the Search bar on your computer and type in “troubleshoot” to open the Troubleshoot settings.
  • Next, scroll down and select the “Network Adapter” option from the right pane.
  • Then click on the Run Troubleshooter” button.
  • After that, your computer will check for any possible errors and will pinpoint the root cause of the problem if possible.

Option 3 – Try updating the Network adapter driver

As mentioned, the problem could also be due to the network-related drivers. So it probably might be the reason why you’re mobile hotspot did not appear or was not detected. That’s why it is recommended that you update the Network adapter driver and to do it, refer to these instructions: Follow the steps below to update your Network Adapter Driver:
  • Tap the Win + R keys to launch the Run window and then type in the “MSC” command and hit Enter to open the Device Manager window.
  • From there, expand the list of all the network drives and update each one of them.
  • Restart your PC and see if it helped in fixing the issue with the mobile hotspot.
Note: If updating the network drivers didn’t help in fixing the problem, you can also try to uninstall the very same drivers and restart your Windows 10 PC. After that, the system itself will reinstall the drivers you just uninstalled. Alternatively, you can also download and install the drivers from the manufacturer’s website directly.
Read More
Delete a Volume or Drive Partition in Windows 10
Operating systems now give users a feature that allows them to create separate partitions out of HDD or SSD-based storage in order to store data in an organized manner. This small yet powerful feature has always been supported by Microsoft. However, there are times when users might fill up on some particular very soon. This may result in the lack of space for that partition which makes the entire process of using PCs slower since there is a large chunk of files that has to be indexed in a smaller partition. If you are one of the users experiencing this dilemma, you need to either delete the other partitions to allocate their storage to the partition that is short on storage or simply recreate the partition so that all the useless data will be deleted and you can start afresh with the overflowing partition. In this post, you will be guided on how you can delete any storage partition from your Windows 10 PC via Disk Management, Command Prompt as well as Windows PowerShell.

Option 1 – Delete storage partition via Disk Management

This is one of the simplest ways you can use to delete a storage partition. Go to the WinX Menu and from there, open Disk Management and then select the Drive you want to get rid of, right-click on it and then select Delete Volume.

Option 2 – Delete storage partition via Command Prompt

  • Tap the Win + X keys or right-click on the Start button and select Command Prompt (Admin) or you could also type in “cmd” in the Cortana search box and right-click on the Command Prompt icon and then select the “Run as Administrator” option from the context menu.
  • Once you have Command Prompt pulled up as admin, type in and enter this command – diskpart
  • After entering this command, the Diskpart Utility will start. Diskpart Utility is a command line-based utility just like Command Prompt but it will get a UAC Prompt after you invoke it so you have to click Yes for the UAC Prompt.
  • After that, type in list volume and tap Enter to see the list of all the partitions created on your PC. This includes both types of partitions that are visible to a normal user in the File Explorer as well as the ones that are created by Windows 10 by default which helps it in storing the boot files and other essential system files.
  • You should see a list of all the partitions made on your computer. Select the partition you want to delete by its Unique Identification number as Volume X where X denotes the Unique Identification Number.
  • Next, type in the select volume number command and hit Enter to select the desired volume.
  • Then delete the volume you’ve selected and type in the delete volume command and hit Enter to delete the volume you just selected and convert it into unallocated space.

Option 3 – Delete storage partition via Windows PowerShell

  • Start by tapping the Win + X keys or simply right click on the Start button and select Windows PowerShell (Admin) or you could also type in “windows powershell” in the Cortana search box and right-click on the Windows PowerShell icon and select the “Run as administrator” option.
  • Once you’ve opened the Windows PowerShell, type in the Get-Volume command and hit Enter to get a list of all the partitions on your PC.
  • Next, select the drive letter you want to delete and then type in the Remove-Partition –DriveLetter command and hit Enter to delete the selected partition. Note that you need to replace the drive letter with the letter of the partition you want to get rid of.
  • After that, it will ask you for confirmation. Just hit the Y key for Yes or hit the A key to say Yes to All. This will delete all the partition you’ve selected and will move them in as unallocated space.
And that’s how you delete a Drive Partition or Volume in Windows 10. Note that you should only follow the last two options given in case the Disk Management is not able to fulfill the user requirements.
Read More
Change mouse pointer size & style in Windows11
mouse pointerWindows 11 provides several different ways to make your cursor stand out and be easier to spot inside it. You can make the mouse pointer larger, invert it, or change its color.
  1. Press ⊞ WINDOWS + I to open settings
  2. Click on Accessibility in the sidebar
  3. Select Mouse Pointer and Touch
  4. Adjust mouse cursor size with size slider by clicking on circle and dragging it left or right
  5. Under Mouse Pointer Style pick desired style from White, Black, Inverted, and Custom
    1. White: The cursor is white with a black outline (standard setting)
    2. Black: Cursor is black with a white outline
    3. Inverted: Cursor automatically changes color to an inverted version of the color it is currently hovering over
    4. Custom: You can pick the color for the cursor that you want.
And that is all about it, once you are done with pointer customization just close settings, all changes are saved automatically.
Read More
Fix BUGCODE_USB_DRIVER Error in Windows
This post will guide you in fixing yet another annoying Blue Screen of Death error, “BUGCODE_USB_DRIVER”. This particular BSOD error occurs due to some issue with usbhub.sys, winusb.sys, or usbport.sys system driver file. When you encounter this kind of Stop error on your Windows 10 PC, it indicates that an error has occurred in the Universal Serial Bus or USB driver. The USB driver is issued by Microsoft themselves and it comes along with the Windows 10 system which is why it is difficult to download its latest version using a web browser. Thus, you need to take some basic steps to resolve the problem. Carefully follow the given fixes below to fix the BUGCODE_USB_DRIVER Blue Screen error and before you proceed, you need to create a System Restore Point, this way you have some backup in case something goes out of hand.

Option 1 – Update the USB Controller Drivers

  • First, click the Start button and type “device manager”.
  • Then click on the “Device Manager” from the search results to open it.
  • From there, look for the “Universal Serial Bus controllers” option and then right-click on each one of the USB drivers and select the Update Driver from the menu.
  • Restart your PC and then click the “Search automatically for updated driver software” option.
You also have the option to update the motherboard and the USB driver from the manufacturer’s official website.

Option 2 – Check for any available Windows Updates

Another you can try is to check if there are any Windows Updates available to make sure that your Windows 10 PC has all the latest updates installed. All you have to do is go to Settings > Update &security. From there, just click on the Check for updates button.

Option 3 – Uninstall conflicting programs and services

There are certain programs like VMWare, Virtual Box, Hyper-V Virtualization services that might be in conflict with the USB port drivers on the parent operating system. Thus, you can try uninstalling the aforementioned programs and other similar ones to see if it fixes the BSOD error.
  • In the search box, type in “control” and then click on Control Panel (desktop app) among the search results.
  • After that, select Programs and Features from the list which will give you a list of all the programs installed on your computer.
  • From there, look for the concerned program and select it and then uninstall it.
Note: If you have downloaded the app from the Windows Store, you can simply right-click on it from the application list and then uninstall it. If uninstalling the programs mentioned above didn’t help, you might want to try putting your PC in a Clean Boot State to help you find the faulty program.
  • Log onto your PC as an administrator.
  • Type in MSConfig in the Start Search to open the System Configuration utility.
  • From there, go to the General tab and click “Selective startup”.
  • Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
  • Next, click the Services tab and select the “Hide All Microsoft Services” check box.
  • Click Disable all.
  • Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)

Option 4 – Modify the Power Settings

  • In the Cortana Search box, type “power options” and then select Power Options from the search results.
  • After opening Power Options, click on Change plan settings for your selected power plan.
  • Next, click on Change advanced power settings.
  • Then look for USB Settings and click on it to expand it.
  • Now expand the USB selective suspend setting and then disable it.
  • After that, click on the Apply and then OK buttons to save the changes made.

Option 5 – Check for any hard disk errors

  • On your desktop, right-click on the “This PC” or computer icon and then select Manage to open the Disk Management. Here you get to check your drive’s health.
  • Next, click on Disk Management on the left side panel.
  • From there, check the state of your drives. If it shows that all your partitions are healthy then it means all is good and that the problem may have something to do with some physical issues with your hard drive.
You might also want to run the CHKDSK utility to help you fix any issues with your hard disk. If your hard drive has issues with integrity, the update will really fail as the system will think that it’s not healthy and that’s where the CHKDSK utility comes in. The CHKDSK utility repairs hard drive errors that might be causing the problem.
  • Open Command Prompt with admin privileges.
  • After opening Command Prompt, execute the following command and hit Enter:
chkdsk /f /r
  • Wait for the process to be completed and then restart your computer.
Read More
Fix Device requires further installation Error
If you are trying to connect an external device to your computer but you suddenly encounter an error that says, “Device requires further installation”, then you’ve come to the right place as this post will guide you on how exactly you can fix this error. In most cases, USB sticks, headphones, speakers, and other external devices, install drivers automatically once you connect them to your computer which means that the drivers are downloaded and installed in the system as soon as the external device is plugged in. However, if the driver has become corrupted or outdated, you might encounter an error like the
“Device requires further installation”
Aside from corrupted or outdated drivers, the error could also be caused by pending updates, an incorrect version of the Intel PROSet Wireless driver, or checking the wrong event. Whatever the cause is, this post will provide you with some potential fixes that can help you resolve the problem. But before you troubleshoot the problem, ensure that your Windows 10 computer is updated to its latest version and you must also not forget to check that you’re checking the correct event on the Event Viewer. Once you have these things covered, proceed to the instructions below.

Option 1 – Try to update the device drivers to the latest version

One of the most likely root causes of the “Device requires further installation” error is either outdated or corrupted drivers in your computer. This kind of problem is more common on several devices like scanners and printers for which the drivers are provided with them.
  • First, boot your computer into Safe Mode.
  • After that, tap the Win + R keys to launch Run.
  • Type in devmgmt.msc into the box and tap Enter or click OK to open the Device Manager.
  • After that, a list of device drivers will be displayed. From there, look for any outdated device drivers and click on each one of them.
  • After that, right-click on each entry of the device drivers and select the “Uninstall Device” option from the menu.
  • Now restart your computer.
  • After restarting your computer, go to the Settings app and Check for Updates in the Windows Update section.
Note: You also opt to download the latest versions of the device drivers directly from the website of the manufacturer. Once you’ve downloaded them, you can install them into your computer right away and then try connecting the external device again. On the other hand, you can also try to reinstall the device drivers.

Option 2 – Try to install the latest version of the Intel PROSet Wireless driver

A lot of users who experience the problem reported that their wireless driver wasn’t also working properly and it was then found that it was caused by the outdated Intel PROSet wireless driver. Thus, to fix the problem, you need to install the latest version of this driver from the intel.com website and install it on your computer. When you download the driver, make sure that your computer is running an Intel system and then download the correct driver depending on whether your computer is a 64-bit system or a 32-bit one.
Read More
How to Fix R6025 Pure Virtual Function Call
R6025 pure virtual function call’ is a runtime error that occurs suddenly on the screen and disrupts the program being run prior to it. This error display indicates that the program has been corrupted. R6025 runtime error usually occurs with the Visual C++ framework.

Solution

Restoro box imageError Causes

This error occurs when the C++ program crashes which is usually because of the malfunctioning or missing of the device driver or incomplete device driver files. It happens because your application indirectly calls a pure virtual member function in a context where a call to the function is invalid. Most of the time, the compiler detects it and reports it as an error when building the application. R6025 error is usually detected at run time.

Further Information and Manual Repair

To fix the R6025 pure virtual function call error, you need to find the call to the pure virtual function. After you find the call, you need to rewrite the code so that it is not called again. There are 2 ways to do this:

Alternative 1

One way to fix the R6025 pure virtual function call is to replace the function with an implementation that calls the Windows API function DebugBreak. The DebugBreak causes a hard-coded breakpoint. Once the code stops running at this breakpoint, it is easy for you to view the call stack. By viewing the call stack you can identify the place where the function was actually called.

Alternative 2

Another quick way to find a call to a pure virtual function to fix the R6025 error is to set a breakpoint on the _purecall function that is usually found in PureVirt.c. By breaking this function you can trace the problem occurring and rewrite the call to ensure the error does not occur and the program you are trying to develop on the Visual C++ framework is easily developed. If R6025 Error is related to Windows Registry Problem Then here’s how you can fix the problem: To fix the runtime error R6025, run registry cleaner software to scan and fix all errors.  This alternative is suitable if the R6025 error is related to the Windows registry problem and where the error has occurred due to corrupted or malicious registry entries. You can download the registry cleaner repair tool for free. Run it to scan errors and then click the fix error button to repair the problem immediately.
Read More
Switch audio devices in Windows 11 taskbar
windows 11 audio settingsWindows 11 has brought some new features and changed some of the existing ones. One of these changes includes quick switching of audio devices which will play audio. Audio switching can still be done under the taskbar, it is just a little different and one could say even hidden. Follow this quick guide and you will be switching from your headphones to speakers as an example in a matter of seconds.
  1. Click on the speaker icon located in the far-right part of the taskbar.
  2. After the quick settings menu appears click on the right arrow located right of the volume slider. If the arrow is not present, instead of click on the pencil icon, then on add, and finally select Volume from the list.
  3. After clicking on the arrow icon, a list of all enabled audio devices on the system will replace the volume slider. Click on the desired audio device in order to make it active.
  4. Click anywhere outside the quick setting menu to save changes and close it.
Note: in the Quick settings menu if you choose More Volume Settings it will bring you to System > Sound where you can access more sound input and output options.
Read More
Chrome Roblox malware

Roblox is a very popular online game with millions of gamers playing it each day and as such it will naturally bring a lot of malware and attack on players trying to steal and exploit them for monetary gains. The latest attack and high-profile stealing of currency and assets happened exactly in Roblox.

roblox

Malicious activities have been reported to come from chrome extensions. So far 2 extensions have been identified that have hidden malware inside them but there could be more of them currently undetected. Extensions work as a front while in the back they mine user logins and other data in order to steal stuff from the Roblox platform.

To make things worse some of the malware is within long extensions like SearchBlox. The SearchBlox extension allows you to search quickly for other users if it was legitimate but has been compromised within the last month. There is evidence that people are stealing Roblox currency with the data gathered by the hidden backdoor in it.

SearchBlox extension is still Active in Chrome Web Store, with the primary listing still with the "Featured " badge. Google is actively removing malicious software from its storefront on a regular basis but this one still lingers in it.

If you or your kid have this Chrome extension installed, uninstall it right away and always be careful about which extension you install and give access to your system, keep them updated and check various blogs and article sites to inform yourself when a bad one is found.

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