Automatically shutting down your computer is extremely useful option, which will help you out more than once. It will come in handy in cases where a PC or laptop is busy with a long process, and you need to leave. In this case, you can configure the shutdown of the computer - when the desired operation is performed, it will turn itself off. And you can safely go to sleep, go to work or do your other business.

Most often, setup is required if you:

  • check your PC for viruses;
  • convert video files;
  • install a computer game;
  • upload large files;
  • copying important data, etc.

There are many options here, but the essence should be clear.

The first is with the built-in Windows tools... The second is using additional software. Read about the last method here:. And this article describes all possible ways configure the shutdown of the computer at a specified time by the built-in means of Windows.

All of the methods below are universal and work on Windows 7, 8, and 10. Therefore, it doesn't matter which one you have. operating system, you can schedule a computer shutdown in any convenient way.

Configuring automatic shutdown of the computer

The first method of how you can turn on the automatic shutdown of your computer or laptop is to use the "Run" section. For this:

The following window will appear, confirming that everything is done correctly.


The number 3600 is the number of seconds. It can be anything. This particular command activates the automatic shutdown of the PC after 1 hour. The procedure is one-time. If it is necessary to turn it off again, it must be done again.

Instead of 3600, you can write anything else:

  • 600 - shutdown after 10 minutes;
  • 1800 - after 30 minutes;
  • 5400 - in an hour and a half.

I think the principle is clear and you can calculate the required value yourself.

If you have already activated self-shutdown of the computer and for some reason changed your mind, then call this window again and write the shutdown -a line. As a result, the scheduled automatic shutdown will be canceled. If everything is done correctly, then this message will appear.


Shutting down the computer via the command line

Another very similar method is through the command line. To activate this option:


If you suddenly change your mind about performing this operation, then reopen this window and enter - shutdown -a.


This command works only when you have already set the time to shutdown the computer, but it has not come yet.

By the way, if this procedure needs to be performed regularly, then there is an easier way. In order not to open the Run window or the command line, create a shortcut (for example, on the desktop). And in the "Object Location" field write the following line C: \ Windows \ System32 \ shutdown.exe -s -t 5400(the number can be any). Click Next, then enter a name for the shortcut and click Finish.


Now, when you need to set the computer shutdown, just click on this shortcut. And this option is immediately activated (you will see a confirmation message).

For convenience, you can create another shortcut to remove the shutdown of the computer (suddenly needed). But here it is already necessary to register the following: C: \ Windows \ System32 \ shutdown.exe -a(without a dot at the end).


Shutdown computer on schedule

And the last method is to turn off the computer on time through the "Scheduler". Suitable in cases where you need to perform this procedure regularly: daily, weekly, etc. In order not to run the command line all the time, you just need to set the shutdown time for your computer or laptop and that's it.

To do this:

  1. Go to Start - Control Panel - Administrative Tools.
  2. Select Task Scheduler.
  3. In the right column, click on "Create Basic Task".
  4. Enter a name that you understand - for example, "Automatic shutdown of the PC".
  5. Indicate how often you need to perform this procedure (if only once, then it is better to choose one of the ways to automatically turn off the computer described above).
  6. Configure the shutdown of the computer or laptop (specify the start time and date).
  7. Select the first item - "Run the program".
  8. In the "Program" field write shutdown, and in the "Arguments" field - -s -f (the -f switch forcibly closes programs - in case they suddenly freeze).
  9. Click the Finish button.


This is how you can set the computer shutdown time. Daily or monthly setup is done in much the same way. Some fields will be different, but there is nothing complicated there - you will figure it out.

What if you want to edit or delete this task? In this case, go to the "Scheduler" again and open the "Library" tab. Find here your task (by name) in the list and double-click the left button.


In the window that opens, go to the "Triggers" section and click on the "Change" button.



If you no longer need to shutdown the PC on schedule, then go to the "Library", select your task, click RMB, and then - "Delete".


A few words in conclusion

In many modern programs there is a checkbox "Turn off the PC after the procedure is over." Most often it is found in those utilities that do their job for a long time - for example, defragmenting a disk, checking a laptop or computer for viruses, etc.

Be sure to check the presence of this checkmark in each program. If it is, then you will not need to configure the PC shutdown by time. This is much easier and more convenient. If it is not there, then you will have to manually configure it.

By the way, how to correctly calculate the time when you need to turn off your PC? Usually, programs show an approximate value for when a particular procedure (virus scan or defragmentation) will be completed. Look at it and add another 20-30% (or more) on top. In any case, your PC will be turned off before you wake up in the morning or come home from work in the evening.

A macro is a set of commands that you can use to automate a repetitive task. This article outlines the risks of using macros and provides instructions on how to enable or disable macros in the Trust Center.

For information on creating macros, see Quickstart: Create a Macro.

Enabling macros when the message bar appears

When you open a file containing macros, a yellow message bar appears with a shield icon and a button Include content... If you know the macro came from a trusted source, use the instructions below.

The image below shows the message bar when there are macros in the file.

Enabling Macros in Backstage View

Another way to include macros in a file is by using the view Microsoft Office Backstage that appears after opening a tab File, when the yellow message bar is displayed.

The figure below shows the command parameters Include content.

Enabling macros one time when a security alert appears

By following the instructions below, you can enable macros while the file is open. If you close the file and open it again, the warning appears again.

    Open the tab File.

    In area Security Warning press the button Include content.

    Select an item Extra options.

    In the dialog box, select the command Include content for this session for each macro.

    Click the button OK.

Change macro settings in Trust Center

Macro options are available in the Trust Center. However, an organization administrator can change the default settings to prevent any settings from being changed.

Important:

    Open the tab File.

    Click Parameters.

    Then select items and Trust Center Settings.

    IN security control center click an item Macro options.

    Select the options you want.

    Click the button OK.

The figure below shows the area Macro options security control center.

The next section contains more detailed description parameters of macros.

Description of macro parameters

    Disable all macros without notification This setting disables macros and their associated security alerts.

    This option disables macros without disabling security alerts that appear when needed. This allows you to enable macros when required.

    Disable all macros except digitally signed macros This option disables macros without disabling the security alerts that will appear when present. However, if the macro has digital signature trusted publisher, it runs if the publisher is trusted. Otherwise, you are prompted to enable the digitally signed macro and express trust to the publisher.

    Deny or Allow programmatic access to the object model from the automation client. This security setting is for code written to automate Office programs and managing the VBA environment and object model. This is the same setting for each user and for each application, and also denies access by default, which prevents unwanted programs from creating malicious self-replicating code. For automation clients to access the VBA object model, the user who runs the code must grant access. To enable access, select the checkbox.

Note: In Microsoft Publisher and Microsoft Access, the setting Trust access to the object model of VBA projects absent.

What are macros, who creates them, and what is the security risk?

Macros automate frequently performed tasks, saving you time by reducing the amount of keyboard and mouse work required. Many of them are written using the Visual Basic for Applications (VBA) language. However, some macros pose a security risk. An attacker can inject a potentially dangerous macro into a file that can infect a computer or corporate network with a virus.

What is a macro and what is a security risk?

Macros automate frequently used tasks; Many of them are built with VBA and written by developers software... However, some macros can pose a security risk. An attacker assigned a malicious target could inject a macro into a document or file that could spread a virus on your computer.

Turn macros on or off in the Trust Center

Macro security options are available in the Trust Center. However, a system administrator in an organization can change the default settings to prevent any setting from being changed.

Note: When you change macro settings in the Trust Center, they change only for the Office program you are using this moment... Macro settings do not change for all Office programs.

Which 2007 Microsoft Office program are you using?

Access

Excel

Advice: The developer The developer unavailable, click Microsoft Office Button and select the item Excel options... Select a category The main and check the box.

Outlook

    On the menu Service select item Trust Center.

    Click an item Macro options.

    Select the options you want.

    • Do not display warnings; disable all macros. Select this option if you don't trust macros. All macros and macro safety warnings are disabled.

      Warnings for signed macros; all unsigned macros are disabled This is the default and is the same as the parameter Disable all notification macros but if the macro is digitally signed by a trusted publisher, the macro can run if you already trust that publisher. If the publisher is not considered reliable, you will receive a notification. This way you can choose whether to enable these signed macros and trust the publisher. All unsigned macros are disabled without notice.

      Warnings for all macros. Select this option if you want to disable macros but still receive security warnings if macros are present. This way you can decide on a case-by-case basis whether to enable these macros.

      Do not perform security checks on macros (not recommended). This parameter allows all macros to run. This will make your computer vulnerable to potentially harmful code, so this option is not recommended.

PowerPoint

Advice: The Macro Security Options dialog box can be opened from the tab The developer on the ribbon included with the Microsoft Office Fluent User Interface. If the tab The developer unavailable, click Microsoft Office Button and select the item PowerPoint options... Select a category The main and check the box Show Developer Tab on Ribbon.

Publisher

    On the menu Service select item Trust Center.

    Click an item Macro options.

    Select the options you want.

Visio

  1. On the menu Service select item Trust Center.

    Click an item Macro options.

    Select the options you want.

Word

Advice: The Macro Security Options dialog box can be opened from the tab The developer on the ribbon included with the Microsoft Office Fluent User Interface. If the tab The developer unavailable, click Microsoft Office Button and select the item Word options... Select a category The main and check the box Show Developer Tab on Ribbon.

How can Trust Center protect against unsafe macros?

Before enabling a macro in a document, the Trust Center checks the following:

  • The macro must be digitally signed by the developer.

    The digital signature must be valid.

    The digital signature must be valid (not expired).

    The certificate associated with the digital signature must be issued by a well-known certification authority (CA).

    The developer who signed the macro is a trusted publisher.

If Trust Center detects that any of these conditions are not met, the macro is disabled by default and a message bar appears with the notification of a potentially unsafe macro.

To enable the macro, on the message bar, click Parameters and the security settings dialog box will open. See the next section for macro and security decision making.

Note: In Microsoft Office Outlook 2007 and Microsoft Office Publisher 2007, security alerts are displayed in dialog boxes, not in the message bar.

A security warning appears asking if you want to enable or disable the macro. What should I do?

In the security settings dialog box that appears, you can enable the macro or leave it disabled. A macro should only be enabled when you are sure it came from a trusted source.

Important: If you are sure that the document and macro are from a trusted source, they contain a valid signature, and you do not want to be notified of them anymore, instead of lowering the security of macros using the default settings in the Trust Center, click on the item in the security dialog ... The publisher is added to the trusted publishers list in the Trust Center. All software from this publisher will be trusted. If the macro does not have the correct signature, but you believe it is safe and do not want to receive notifications again, instead of changing the default Trust Center settings to less secure, it is better to move the document to Add, Delete, or Change Safe Place mode. Macros in documents from trusted locations can run without being checked by the Trust Center system.

In each specific situation, the problem is described in the security dialog box. The table below lists possible problems and provides advice on what to do and what not to do in each of these cases.

The macro is unsigned. Since the macro is not digitally signed, there is no way to identify its publisher. Therefore, it cannot be determined how safe a macro is.

Before enabling an unsigned macro, make sure it is from a trusted source. Even if you don't enable the macro, you can still work with the document.

Macro signature is not considered secure. The macro is potentially insecure because it contains a valid digital signature, but the publisher who signed it has not been selected as trusted.

You can explicitly express trust in the publisher of the macro by selecting the option in the security dialog box Trust all documents from this publisher... This option is displayed only if the signature is valid. Selecting this option adds the publisher to the trusted publishers list in the Trust Center.

The macro signature is invalid. The macro is potentially insecure because it contains an invalid digital signature.

The macro signature has expired. The macro is potentially insecure because its digital signature has expired.

Before enabling an expired signed macro, make sure it is from a trusted source. The risk of enabling a macro is potentially reduced if you have previously used this document without any security concerns.

The very first fear that novice users have is the fear of turning on the computer. Elderly people are especially susceptible to this fear. Today you and I will “fight” this fear. Usually there are no problems with the first power-on. But some people not only do not know how to turn off the computer, but also do not want to learn how to do it. But in vain! As practice shows, 80% of computer malfunctions are due to the fault of users, and of these 70% - 30% are due to improper shutdown of the computer.

If you are reading these lines, it means that somehow you have already turned on your computer, or someone turned it on for you.

Remember once and for all! You cannot spoil anything. If something went wrong when turning on the computer, then this is most likely the consequences of a virus, or an incorrect shutdown of the computer.

To avoid such troubles, you must immediately learn how to turn on and off your computer correctly. The same applies to laptop and tablet.

Connecting the computer to an electrical outlet

The most correct thing is to connect the computer through a pilot-type surge protector.

Connect one of these devices first to an electrical outlet. An uninterruptible power supply is quite expensive equipment, so it is more necessary if your light is often turned off, or if your apartment is constantly experiencing power surges.

In other cases, you can get by with a less expensive protection device against sudden power surges - this is the so-called surge protector. It has a small black button on one end. In the event of a sudden power surge, this button will automatically shut off the overcurrent flow to the devices connected via the pilot.

Do not connect your computer directly to a power outlet, otherwise you risk not only losing all your data, but you may also be left without a computer. The same applies to the monitor. All of these devices can be plugged into an outlet through one device (either a pilot or an uninterruptible power supply).

Never use cheap Chinese extension cords. Buy equipment only from specialized computer stores. Otherwise, you will burn not only your computer, but the whole apartment. This is not a joke! Don't tempt fate.

How to properly turn on the computer

In order to turn on the computer, you must:

  1. Make sure that it is connected to a 220 V electrical network;
  2. Make sure that this network has voltage;
  3. Make sure that all computer cords are firmly seated in their connectors;
  4. Press the button to turn on the power filter, uninterruptible power supply (if available);
  5. Press the power button on the front panel of the system unit;
  6. Press the power button on the monitor;

How to properly turn on a laptop or netbook

  1. Check the availability of power in the 220V electrical network (if you turn on the laptop from the outlet);
  2. Connect the cable from the power supply first to the laptop connector, and then connect the plug to the electrical network;
  3. Open the laptop lid;
  4. Press the laptop power button;
  5. Wait for the operating system to load.

Usually, there are no problems with turning on the computer. The main thing is not to panic and not press all the keys in a row on the keyboard during boot.

How to properly shut down your computer, laptop or netbook

After you have worked or played on the computer, it must be properly shut down. It is CORRECT, tk. it will depend on whether to turn on your computer next time or not.

It often happens that after an improper shutdown of the computer (laptop or netbook), the boot file fails and the computer cannot start. Most often, this situation can be corrected, but it must be done by a specialist. It could be worse. Then you have to reinstall the entire operating system.

To avoid problems, the computer must be shut down correctly. Left-click on the button Start(in the lower left corner).

You can turn off your computer, laptop, or netbook only through the button Start... There is nothing complicated about that.

Remember how to properly turn on and off your computer, and you will never have unnecessary problems.

Windows 8, like its predecessor, has a set of tools on board for solving many tasks without using third-party software. So, immediately after installing the system, you can view web resources in Internet Explorer listening to music through the built-in player Windows Media, sync files to different devices via OneDrive, send email and manage affairs with using Windows Live, and so on. These features are provided by native Windows 8 features.

Some of the system components are enabled by default, others are disabled. Their set depends on the tasks that are performed on the PC, so the choice - what to install and what not to install, is left to the user.

In systems prior to Windows 8, each component could have 2 states - “enabled” and “disabled”. The G8 now has the ability to physically remove components from the distribution. This is done using the DISM utility at the stage of preparing the system for installation, for example, to reduce the volume Windows folders or increasing the level of system security. The removed component will have a status of "disabled with removal of payload". To make it available again, Microsoft recommends installing system updates, copying the required component from another computer or Windows distribution.

Let's leave the topic of physically removing Windows 8 components to specialists, and we'll figure out how to enable and disable them.

How to manage system components

Enabling and disabling components in Windows 8 / 8.1 is the same as in the "seven" - using a special control tool. You can run it through the Programs and Features Control Panel applet, search, or Run. Let's consider all the ways.

Launching Windows 8 Features Management Tool through Programs and Features

  • Right-click on the “Windows” button in the lower left corner of the screen. Select Programs and Features.

  • Click on the right side of the Turn Windows Features On or Off window.


Launching Windows 8 Components Management Tool via Search

  • Move the cursor to the upper left corner of the screen and slide down. Select "Search" from the sidebar.

  • Type in the search bar the phrase "enable or disable components" or "enable components" and run the found application.


Launching the Windows 8 Component Management Tool with Run

  • Select the "Run" item in the context menu of the "Windows" button, or press the keys Windows + R. Enter the command OptionalFeatures and click OK.


Turning components on and off

As a result of the above actions, you will be presented with the Windows Components window. That, next to which there are flags, is currently installed and can be used. Partially installed items are marked with dots, while unidentified items are not.

To enable a component, select the checkbox and click OK. You can watch the installation progress on the screen:

Disabling components is the opposite action - instead of checking a checkbox, you need to uncheck it.

The system will warn you about a possible malfunction of other components and programs. For example, disabling Internet Explorer can cause crashes for a variety of applications that use it. Even despite the fact that Microsoft officially allowed deleting this browser in Windows 7.

If you are sure that disabling the component will not harm you, click OK.

After that, you will also have to restart your computer.

What to do if Windows 8 or 8.1 component won't turn on?

Perhaps this is the case that we mentioned above: the component cannot be turned on, since it has been physically removed from the hard drive. You can find out if this is the case using the DISM system utility.

  • Uncover context menu the “Windows” button and click “ Command line(administrator) ”- this will launch the command console with administrative rights.

  • To get a list of components and their states (enabled, disabled, pending completion, disabled, deleting payloads), enter the command DISM / online / get-features / format: table and press Enter. The data in the console window will be displayed as a table.

  • If you know the name of the component of interest and need more detailed information about it, run the command DISM / online / get-featureinfo / featurename: xx... Instead of xx, you need to write the name of the component. For example, if we are interested in “Managing Services for NFS,” we would write DISM / online / get-featureinfo / featurename: NFS-Administration and click Enter. If this component is not in the system, we will receive a notification that it is “Disabled with removal of payloads”.

You can restore the necessary data if you do not know which file or group of files makes up the required component by installing updates (Windows Update)

or reinstall Windows with data retention. To reinstall, insert a disc with an original copy of Windows 8 or 8.1 of the same bit and version as yours into the drive, and run the installation from under a working system. When you are prompted to select its type, click Update.

Your settings and files will not disappear anywhere, and the missing components will be restored.