Soluții

How to schedule automatic shutdown in Win 11 – Powershell

If you prefer PowerShell over Command Prompt, you can use a cmdlet in this utility to shut down your PC. To do that, access Windows Search, type PowerShell, and select “Run as Administrator.” Select “Yes” in the User Account Control prompt.

On the PowerShell window, type the following cmdlet. Here, replace “seconds” until the shutdown time. Then, press Enter.

Start-Sleep -Seconds seconds; Stop-Computer

For example, to shut down your PC in five minutes, run the following cmdlet:

Start-Sleep -Seconds 300; Stop-Computer
The cmdlet to schedule the shutdown of the PC typed in PowerShell.

To cancel a scheduled shutdown, run the following cmdlet:

shutdown /a
[mai mult...]

How to use MSCONFIG to troubleshoot a Configuration Issue

Configuration Issues: These are issues where new commands have been set or old ones modified and it had an adverse affect on the computer. This can usually be resolved by finding the wrong or modified command or setting and either changing it to one that works or revert it back to its original state.

Boot options using the Boot tab

This tab gives you many options for starting up the computer. The top portion of the window contains the start-up file that the computer is using. If there are multiple boot partitions on the computer, you see each listed here. You can change the timeout value for the boot menu. You can clearly see what commands the boot manager is using, to see if there are any issues.

MSCONFIG Boot Tab

Two of the three buttons provided in this window are for editing purposes and are unavailable by default. There are two options down the side of the page:

Make all boot settings permanent:
Changes made in System Configuration are not tracked. If you want to make changes later, you have to do so manually. Use this feature with caution!
Note: Selecting Normal Startup in the General tab DOES NOT work if this feature is selected. With this setting enabled, you must manually revert any changes that you have made.
Timeout field:
Using MSCONFIG can cause the operating system selection screen to display for 30 seconds. As a result, 30 seconds are added to the overall startup time. To prevent the operating selection screen from appearing for 30 seconds on startup, change the timeout line in the Timeout field to zero.

The only button that is not unavailable under the Boot tab, is the Advanced Options. Clicking the Advanced Options button brings up the Boot Advanced Options dialog box. Usually you do not use these options, but they can come in handy. Such as if you suspect that a boot issue is being caused by having multiple processors. You can limit the number of processors used to boot the computer by selecting the Number of Processors check box and specifying a number.

MSCONFIG Advanced Boot

[mai mult...]

How to open and use MSconfig

In Windows 10 and 11 you can press the Windows + R keys together and a run box appears.

    • Alternatively, pressing the windows key or clicking the start button opens the start menu and you can type MSCONFIG and the application is shown in a list.
    • MSCONFIG search
  1. Type MSCONFIG in the box and then press the ENTER key on your keyboard.
  2. MSCONFIG runbox
  3. This launches the Microsoft System Configuration Utility
  4. The MSCONFIG window contains five tabs:
  5. MSCONFIG Tabs
    • Boot
    • Services
    • Startup
    • Tools
  • Boot Issues: These are issues where the computer is either having trouble loading correctly, is taking a long time to boot or is giving errors on-screen as it starts up. It can even be a combination of the three. First we identify the issue, narrow down the cause and then change it to resolve the problem.

The General tab

The General Tab

The MSCONFIG General tab gives you some basic options for starting your device. The default choice for the utility is Normal Startup. The other two options for starting the computer are Diagnostic Startup and Selective Startup.

Diagnostic Startup:
This starts Windows with basic services and drivers only. With this mode, you can determine if a basic Window file is the problem. This type of startup gives you a minimum environment for troubleshooting.
Selective Startup:
This allows you to choose which programs and services you want to open and which ones you want to keep from opening at startup.

If you detect that one of the launch programs is causing a problem at startup, then you can clear the Load Startup Items. It prevents any startup program from launching. This is too general to help you determine which program is causing the problem, but it helps you narrow down the issue to a certain area.

[mai mult...]

How to perform a clean boot on Win 10

  1. Sign in to the computer as an administrator. If you don’t have an administrator account, see Manage user accounts in Windows to learn how to create one.
  2. In the Search box  on the taskbar, type msconfig and select System Configuration from the list of results.Search result - System Configuration

    Important: If the computer is connected to a network, network policy settings might prevent you from following these steps. Only use the System Configuration utility to change the advanced boot options on the computer with guidance from a Microsoft support engineer.  Using the System Configuration utility might make the computer unusable.

  3. On the Services tab of System Configuration, select Hide all Microsoft services, and then select Disable all. Select Apply.System Configuration - Services tab - Hide all Microsoft services check box checked - Disable all
  4. On the Startup tab of System Configuration, select Open Task Manager.System Configuration - Startup tab - Open Task Manager button
  5. On the Startup tab in Task Manager, for each Enabled startup item, select the item and then select Disable. (Keep track of which items have been Disabled. You will need to know this later)
  6. Close Task Manager.
  7. On the Startup tab of System Configuration, select OK. When you restart the computer, it will be in a clean boot environment. You can now try to troubleshoot your problem by trying the troubleshooting steps in the section, install, uninstall, or run application.

    Warning: Your computer might temporarily lose some functionality while in a clean boot environment.

[mai mult...]