Soluții

How to Check the Groups a User Belongs to in Linux?

All Linux operating systems are designed as multi-user operating systems. This means that they provide the capabilities and related tools to create and handle multiple users within a system. One such tool is user groups. A user group is simply a collection of users. It is handy when a system administrator wants to deal with multiple users simultaneously (especially for handling permissions). We define a rule for the group and it automatically applies to all its member users.

[mai mult...]

How to change the Default Startup Page in File Explorer on Windows 11

It’s easy to configure File Explorer to open the “This PC” page on launch. To do this, open the File Explorer, click the three dots in the top bar, and select “Options” from the menu that appears.

Three dots in the File Explorer page.

In the Folder Options window, click the drop-down menu next to the Open File Explorer to option and select “This PC”. In addition to “This PC,” you can also choose the Personal page or a linked smartphone as the default page for File Explorer. Once you’ve made your selection, click “Apply” and then “OK” to save the changes.

Open File Explorer to option in Folder Options window.

How to get Rid of the File Explorer Home Page on Windows 11

Although you can configure File Explorer to open to the “This PC” page instead of the Home page through the Folder Options window, you also have the option to remove the Home page entirely. This ensures that no one will be able to switch back to the Home page from “This PC.”

Editing the Registry involves risks, as one wrong move can make your computer unstable. Therefore, make sure to back up your computer and create a restore point to keep your system safe from any mishaps.

To remove the File Explorer Home page on Windows 11, open the Registry Editor and navigate to the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

Right-click the “Explorer” key in the left sidebar, click “New,” and select “DWORD (32-bit) Value”.

Explorer key in the Registry Editor.

Name the value HubMode. Then, double-click the value, type 1 in the Value data field, and click “OK”.

Value Data field in the Registry Editor.

Next, navigate to the following location in the Registry Editor:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

Locate and right-click the “{f874310e-b6b7-47dc-bc84-b9e6b38f5903}” key in the left sidebar and choose “Delete” from the menu that appears. Click “Yes” to confirm your decision.

Delete option in the Registry Editor.

Restart your computer for the changes to take effect. After restarting, even though the Home page option will still appear in the Folder Options window, selecting it will no longer have any effect. In the future, if you want to reverse the change, go to the “HubMode” value you created, right-click it, and choose “Delete”.

Delete option for HubMode value.

Then, navigate to the following location, right-click the “NameSpace” key, choose “New,” and select “Key”:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace

Name the key {f874310e-b6b7-47dc-bc84-b9e6b38f5903}. Then, double-click the “Default” string of the key on the right, type CLSID_MSGraphHomeFolder in the Value data field, and click “OK”.

Default String in the Registry Editor.

After that, restart your computer, and you’ll be able to change the default startup page to the Home page using the Folder Options window.

This was all about how you can change the default startup page in File Explorer on Windows 11. The Folder Options window not only allows you to change the default startup page but also offers many other functionalities. For instance, you can use it to configure whether you want to see hidden files in File Explorer, control what appears in the navigation pane, and perform many other tasks. I’d recommend exploring the window to better understand all the changes you can make using it.

[mai mult...]

How to set Up a Metered Connection on Windows 11

With Windows 11’s metered connection feature, you can reduce the amount of internet data your system uses from apps or updates. It’s handy if you have a data limit.

For example, if you’re using your phone’s internet (hotspot) with your PC, you can mark that connection as metered so you don’t drain the data of your limited mobile plan. You can use the metered connection feature with any internet connection you want.

When you’re on a metered connection, Windows delays installing some non-essential system updates, which means you won’t get the latest Windows features immediately. Other services like Dropbox and OneDrive will also stop syncing your files.

Note that this feature isn’t perfect. My colleague here at How-To Geek had a situation where the Microsoft Store downloaded a 20GB update for a game they had never played, even though the connection was set as metered.

Using Settings is the easiest graphical way to set a connection as metered. To do that, open Settings by pressing Windows+i. From the left sidebar, select “Network & Internet.” On the right pane, choose your Wi-Fi or Ethernet connection.

"Network & Internet" and "Wi-Fi" highlighted in Settings.

Select “[Connection Name] Properties.”

"[Connection Name] Properties" highlighted in Settings.

On the following screen, turn on the “Metered Connection” toggle.

The "Metered Connection" toggle highlighted in Settings.

Without any prompts, Settings will mark your specific connection as metered. In the future, you can disable the feature by toggling off the “Metered Connection” toggle.

Using Command Prompt

You can use a command in Command Prompt to set a connection as metered, but this method only works for Wi-Fi connections. If you want to set an Ethernet connection as metered, use the other methods listed in this guide.

  • To start, open Windows Search (press Windows+S), type Command Prompt, and select “Run as Administrator.” In the User Account Control prompt, choose “Yes.”
  • On the Command Prompt window, type the following command and press Enter. You’ll see all your Wi-Fi networks.
netsh wlan show profiles
  • On the network list, find the network you want to set as metered. Then, type the following command, replace “YourNetwork” with your network name, and press Enter:
netsh wlan set profileparameter name="YourNetwork" cost=fixed
The command to mark a connection as metered typed in Command Prompt.

Your chosen connection is now set as metered. To verify that, run the following command replacing “YourNetwork” with your network name. In the Cost Settings section, next to Cost, it’ll say “Fixed,” which means the connection is marked as metered. If it says “Unrestricted” or “Default,” the connection is unmetered.

netsh wlan show profiles name="YourNetwork"

In the future, to set the connection as unmetered, use the following command. Make sure to replace “YourNetwork” with the name of your wireless network.

netsh wlan set profileparameter name="YourNetwork" cost=unrestricted

With Registry Editor

Another graphical way to set Wi-Fi or Ethernet connections as metered is by using Registry Editor. You tweak a registry item’s value, which sets your connection type as metered. This method sets the entire network type (Wi-Fi or Ethernet) as metered; you can’t select a specific network to be set as metered. Also, follow the instructions carefully as accidental changes can cause your system to be unstable.

To do that, launch Run by pressing Windows+R. Type the following in the Open field and press Enter:

regedit

In the User Account Control prompt, choose “Yes.” Then, navigate to the following path:

You can copy the following path, paste it in the Registry Editor’s path box, and press Enter to quickly get to the path.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost

To be able to change certain items, right-click “DefaultMediaCost” in the left sidebar, choose “Permissions,” and give your user account all the permissions.

To set a Wi-Fi connection as metered, on the right pane, double-click “WiFi.” In the open box, click the “Value Data” field and type 2. Then, select “OK”.

"Value Data" and "OK" highlighted for "WiFi" in Registry Editor.

If you’d like to set your Ethernet connection as metered, double-click “Ethernet” on the right pane, type 2 in the “Value Data” field, and select “OK”. Then, close Registry Editor and restart your Windows 11 PC to bring the changes into effect.

Set Data Limit for your Metered Connection

You can specify the amount of data for your connection, so Windows 11 knows what amount of data is available to use on your metered connection and doesn’t exceed it.

To do that, open Settings using Windows+i. From the left sidebar, select “Network & Internet.” On the right pane, choose your Wi-Fi or Ethernet connection.

"Network & Internet" and "Wi-Fi" highlighted in Settings.

Select your connection on the following screen. Beneath Metered Connection, select “Set a Data Limit to Help Control Data Usage on This Network.”

"Set a Data Limit to Help Control Data Usage on This Network" highlighted in Settings.

In the top-right corner, click “Enter Limit.” You’ll see a Set Data Limit dialog box. Here, click the “Limit Type” drop-down menu and choose the limit frequency. Select when the limit resets from the other drop-down menu. Click the “Data Limit” field and type the limit. Choose the limit unit from the “Unit” drop-down menu.

Then, select “Save” to save the changes.

Various fields highlighted on the "Set Data Limit" window in Settings.
[mai mult...]