Blocking pages in the memory of Windows 10 home. Clear your disk of files that are no longer needed. Controlled folder access

Automatic disk cleanup of files that are no longer needed, such as temporary or recycle bin contents, is now available in the tenth Windows versions.

Every user can configure and actively use this system function. personal computer. It is ideal for those who have previously used third-party software for the same purposes.

We all know that after working on a computer for a long period of time, some users face the problem of insufficient disk space. This primarily applies to PCs with small hard drives.

In previous versions operating system, when there was a catastrophic lack of free space to install a program, game, or write large files to a local disk partition, the user received a system message prompting them to run the classic “Disk Cleanup.”

Also, when we delete any file, it is in automatic mode is moved to the trash and if the size of the allocated space for it is exceeded, all other files will then be deleted immediately and irrevocably. Using the keyboard shortcut Shift + Delete, nothing will be moved to the trash.

During the installation of various applications, during their operation, and also after removal, the files they create remain on the system and also take up precious space. Will help fight these problems new feature Windows 10 operating systems, and what’s great is completely automatic. Now let's see how you can activate it and go through other settings a little.

DISK CLEANING

Open the “Settings” window and go to the “System” section, where click on the “Storage” item. You will see the Memory Sense option which is off by default and turn it on. After this, all operations to free up disk space from files that are no longer needed will take place in background without user intervention.

You can make some additional settings, namely, follow the link below called “Change how you free up space” and select your preferred settings. The "Clear Now" button will allow you to manual mode delete unnecessary files and notify the user about the amount of freed disk space.

After selecting your preferences, you can exit the setup and Storage Sense will start working as needed. That's all for now!

I suggest you visit, where you can find many different computer advice. Discuss various issues, and also receive computer help You can if you participate in our FB group.

Optimization of 1C work. Setting up MS SQL server

  1. Enable Database instant file initialization
  • Database creation
  • Add files, logs, or data to an existing database
  • Increasing the size of an existing file (including auto-grow operations)
  • Restoring a database or filegroup

To enable the setting:

  1. On the computer where the backup file will be created, open the Local Security Policy application (secpol.msc).
  2. Expand the node in the left panel Local policies, and then click Assign user rights.
  3. In the right pane, double-click Perform volume maintenance tasks.
  4. Click the "Add" button of a user or group and add here the user under which the MS server is running SQL Server.
  5. Click the Apply button.
  1. Enable the Lock pages in memory option

This setting controls which accounts can store data in RAM so that the system does not send pages of data to virtual memory on disk, which can improve performance.

To enable the setting:

  1. From the Start menu, select Run. In the Open field, enter gpedit.msc.
  2. In the Local Editor console group policies Expand the Computer Configuration node, then the Windows Configuration node.
  3. Expand Security Settings and Local Policies.
  4. Select the User Rights Assignment folder.
  5. The policies will be shown in the details panel.
  6. In this panel, double-click the Lock pages in memory option.
  7. In the Local Security Option - Memory Pages Lock dialog box, select Add a user or group.
  8. In the Select: Users, Service Accounts or Groups dialog box, add the account under which you run the MS SQL Server service.
  9. For the changes to take effect, reboot the server or log in as the user under which you run MS SQL Server.
  1. Disable DFSS for disks.

The Dynamic Fair Share Scheduling mechanism is responsible for balancing and distributing hardware resources between users. Sometimes its operation can negatively affect the performance of 1C. To disable it for disks only, you need to:

  1. Find the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TSFairShare\Disk branch in the registry
  2. Set the EnableFairShare parameter value to 0
  1. Disable data compression for directories containing database files.

When compression is enabled, the OS will try to additionally process files during modification, which will slow down the recording process itself, but will save space.

To disable compression of files in a directory, you must:

  1. Open directory properties
  2. On the General tab, click Other
  3. Uncheck the “Compress” contents flag to save disk space.
  1. Set the Max degree of parallelism parameter to 1.

This parameter determines how many threads one request can be executed in. By default, the parameter is 0, which means that the server itself selects the number of threads. For bases with a typical 1C load, it is recommended to install this parameter to value 1, because in most cases this will have a positive effect on query performance.

To configure the parameter you need to:

  1. Open server properties and select the Advanced tab
  2. Set the parameter value to one.
  1. Limit the maximum memory size of MS SQL Server.

Memory for MS SQL Server = Memory for everything - Memory for OS - Memory for 1C server

For example, the server has 64 GB of RAM installed, you need to understand how much memory to allocate to the DBMS server so that it is enough for the 1C server.

For normal operation of the OS, in most cases 4 GB is more than enough, usually 2-3 GB.

To determine how much memory a 1C server requires, you need to look at how much memory the processes of a server cluster occupy at the height of the working day. These processes are ragent, rmngr and rphost; these processes are discussed in detail in the section dedicated to the server cluster. Data should be taken precisely during the period of peak work activity, when the maximum number of users is working in the database. Having received this data, you need to add 1 GB to it - in case you start “heavy” operations in 1C.

To set the maximum amount of memory used by MS SQL Server, you must:

  1. Launch Management Studio and connect to the desired server
  2. Open server properties and select the Memory tab
  3. Specify parameter value Maximum size server memory.
  1. Enable the Boost SQL Server priority flag.

This flag allows you to increase the priority of the MS SQL Server process over other processes.

It makes sense to enable the flag only if the 1C server is not installed on the computer with the DBMS server.

To set the flag you need to:

  1. Launch Management Studio and connect to the desired server
  2. Open server properties and select the Processors tab
  3. Enable the “Boost SQL Server priority” flag and click OK.
  1. Set the auto grow size of database files.

Autogrow allows you to specify the amount by which the size of the database file will be increased when it is full. If you set the auto-expansion size too small, then the file will expand too often, which will take time. It is recommended to set the value from 512 MB to 5 GB.

  1. Launch Management Studio and connect to the desired server
  2. Opposite each file in the Auto-increase column, put the required value

This setting will only apply to the selected database. If you want this setting to apply to all databases, you need to perform the same steps for the model service database. After this, all newly created databases will have the same settings as the model database.

  1. Separate mdf data files and ldf log files onto different physical disks.

In this case, work with files can proceed not sequentially, but almost in parallel, which increases the speed of disk operations. Super discs are best suited for these purposes.

To transfer files you need:

  1. Launch Management Studio and connect to the desired server
  2. Open the properties of the desired database and select the Files tab
  3. Remember file names and locations
  4. Detach the database by selecting Tasks - Detach through the context menu
  5. Check the Delete connections checkbox and click OK
  6. Open File Explorer and move the data file and log file to the desired media
  7. In Management Studio, open the server context menu and select Attach database
  8. Click the Add button and specify mdf file from a new disk
  9. In the lower database information window, in the line with the log file, you need to specify the new path to the transaction log file and click OK.
  1. Move the TempDB database files to a separate disk.
Restart MS SQL Server
  1. Enable Shared Memory if the 1C server is located on the same computer as the DBMS server.

The Shared Memory protocol will allow applications to communicate via RAM rather than via the TCP/IP protocol.

To enable Shared Memory you must:

  1. Launch SQL Server Configuration Manager.
  2. Go to SQL Native Client - Client Protocols - Shared Memory - Enabled
  3. Set the value to Yes and click OK.

The Named Pipes protocol must be disabled in the same way.

Attention! When all settings are completed, you need to restart the MS SQL Server service

With update Creators Update Last year, Windows 10 received a very cool and interesting feature that will appeal to gamers and others. Sonic Surround - virtual emulator surround sound for headphones. Enabling it is very simple:

  • right-click on the speaker icon in the lower right side of the screen;
  • select " Spatial audio» → “Windows Sonic for headphones.”

Not quite the same surround sound, but you should feel the difference.

2. Virtual desktops

Extremely useful feature, which helps to systematize work with big amount programs and applications. To do this you need:

  • Press Win + Tab to open the Task View menu;
  • Click on “Create Desktop” at the bottom right of the screen.

Of course, you can switch using Task View, but it is much more convenient to manage virtual desktops using:

  • Ctrl + Win + left or right arrow - switch between desktops;
  • Ctrl + Win + D - create a new desktop;
  • Ctrl + Win + F4 - closes the current desktop.

3. Memory control

Over time it turns into a garbage dump. A hundred or two accumulate on the computer unnecessary files and downloaded TV series that you forgot about, and the unfortunate overflowing basket is bursting at the seams. We have to pull ourselves together and do some spring cleaning. In this situation, another similar program will help. Or you can do it easier and use a built-in tool that will clean your system regularly.

  • Go to “Settings” → “System” → “Storage”.
  • Place the switch to "On".

All that remains is to configure the cleaning system. To do this, change the “Method to free up space” item in the “Storage” tab. The system can automatically empty the Downloads folder and Trash if the files have not been used for more than 30 days. In addition, the system can automatically delete previous versions Windows 10 days after update.

This method will not replace regular cleaning of your hard drive, but it will save you from some routine tasks.

4. Backup using file history

Great tool for Reserve copy, built right into the system. Moreover, Windows 10 will create backups itself, you just need to specify the frequency and location where they will be saved.

  • Go to “Settings” → “Update and Security” → “Backup Service”.
  • Add a drive or device where backups will be saved.

IN additional settings you will be able to select the folders you want to back up.

5. Windows Update Options

  • Go to Settings → Update & Security → Center Windows updates» → “Change activity period”.
  • Set the time at which you use the computer. Windows promises that it will not reboot the device during this period.

If this is not enough, go to Restart Options and set the day and time when you can restart your device to install the update.

6. Dynamic locking

The idea is that Windows can automatically block access to your computer when you're not around. To do this you need:

  • connect your phone to your computer via Bluetooth;
  • go to “Options” → “ Accounts» → “Login options”;
  • Scroll down to the Dynamic Locking section and check the box to allow Windows to detect when you are away.

Windows will block access to your computer a minute after you leave the range of the Bluetooth receiver.

7. Alternative login methods

Protect your account Windows entry definitely necessary. True, entering it every time is not so convenient. Windows developers suggest using alternative ways.

  • Go to Settings → Accounts → Sign-in Options.
  • Choose what you want to use: PIN code or pattern.

If in the first case everything is simple and clear, then the second option looks more interesting. You choose any picture and come up with three different gestures for it. The next time you want to unlock your computer, you will need to repeat these gestures. True, without touch screen this is not very convenient to do.

8. Controlled access to folders

Take advantage of this feature if you don't want to become a victim, which attacked users around the world last year.

  • Go to Security Center Windows Defender» → “Protection against viruses and threats” → “Settings for protection against viruses and other threats.”

  • Scroll down to the Controlled Folder Access section and turn the switch to On.

Choose which folders you want to protect and which applications you want to access them.

Windows Defender Security Center, including a new Device Security section that offers management of advanced security tools such as Kernel Isolation.

Kernel isolation is a virtualization-based security technology that provides an additional layer of protection against intelligent attacks. Memory integrity is part of kernel isolation technology, a feature designed to prevent malicious code from being inserted into highly secure processes. Protection is provided by the fact that the kernel virtual memory page begins to be executed only after successfully passing an integrity check.

Let's look at how to enable the Memory Integrity feature in Windows 10 April 2018 Update to strengthen your computer's security.

Enabling Memory Integrity

  • Open Windows Defender Security Center.
  • Select the “Device Security” section.
  • In the “Kernel Isolation” section, click the “Kernel Isolation Details” link.
  • Move the “Memory Integrity” switch to the active position.

After completing these steps, you must restart your computer for the changes to take effect.

Note: For this feature to work, your processor must support virtualization technologies. Additionally, virtualization must be enabled in the BIOS or UEFI. Otherwise, the function will not be available.

Fixing kernel isolation issues

In some cases, you may encounter compatibility issues in some applications if kernel isolation is enabled. To fix the problem you will have to disable the function.

If you try to disable memory integrity in Windows Defender Security Center, but the option becomes grayed out and you see the message “This setting is controlled by your administrator,” you can still disable the feature using the registry.

Note: Changing the registry incorrectly can cause serious problems. It is recommended to create backup copy Windows registry before performing these steps. From the Registry Editor menu, select File > Export to save a backup.

  • Press combination Windows keys+ R to bring up the Run window.
  • Type regedit and click OK to launch Registry Editor.
  • Go to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
  • Double click on the entry Enabled.
  • Change the value from 1 to 0.
  • Click OK.

To disable you can also use the ready-made