End your computer session. Ending your session with Windows xp Professional. Logging off from Windows xp Home Edition

In the Microsoft Windows operating system, each user can set their own parameters necessary for their work. Each user has their own account. You can change a user or end a user session in one of several ways.

Instructions

  • To end the session, click on the “Start” button to bring up the menu. At the bottom of the menu, select “Logout” by left-clicking on it. This command will allow you to close running applications and end the session, or leave programs running and switch to another user.
  • In the “Exit Windows” window that appears, click one of the buttons. Clicking the Change User button will log out one user and allow the other to log in. However, the programs will remain open. User switching can also be done using the keyboard. To do this, press the Windows key combination and L.
  • If you want to close running applications and end the current user's session, click on the "Logout" button. Shutting down the computer completely also ends the user's session and closes all programs. To turn off the computer through the “Start” menu, select “Shutdown” and the command of the same name in the “Turn off computer” window.
  • There is another way to end a user session. Call "Task Manager". To do this, enter the key combination Ctrl, Alt and Del on your keyboard. If you cannot press these keys at the same time, you can open the Task Manager in another way.
  • Right-click on the “Taskbar”, select “Task Manager” from the drop-down menu by left-clicking on it. In the dialog box that opens, select “Shut down” in the top menu bar. In the drop-down menu, select one of the commands: “End session” or “Change user”.
  • Tip added on May 19, 2011 Tip 2: How to end a session Using any Windows operating system requires working in multi-profile mode. This means that several people can be users of one operating system. To make the work of a personal computer user easier, Windows developers have created an option to quickly switch from one user to another. To complete this operation you will only need a few clicks and a short period of time.

    You will need

    • Explore the Log Off mode in the Windows operating system.

    Instructions

  • To quickly change users, use the “End session” option. How does it work? Previously, it was considered a rule that for two or more people to work, a computer reboot was required, but the developers of the Windows operating system came up with a new technology for safely changing the profile without losing data.
  • After clicking the “End Session” button, all programs that were launched by one user will be closed, but the computer will continue to work. This mode of operation is often called “background”. To end your session with the operating system in the Windows Vista operating system, you must click the “Start” menu. In the menu that opens, move the cursor to the “Lock” button (padlock icon), then click the “End session” button. After another user logs into the system, he can work with the same documents if he has access rights to these documents.
  • After finishing working with the operating system, turn off the computer or lock the system. Only users of this computer will be able to remove the lock.
  • To switch user experience in the Windows XP operating system, click the "Start" menu, click the "Log off" button. In the window that opens, select one of two solutions: change user or log out.
  • How to end a session - printable version

    The need to forcefully shut down a user mainly arises in the following cases:

    • Updating the information base;
    • Adding a new metadata object to the configuration;
    • Carrying out preventive and repair work on the server;
    • A hung user session is preventing the application from restarting.

    In this article we will try to tell you how to end a user session, what tools an administrator has in his or her arsenal to complete this task, which termination options are provided by the file version and which by the client-server version of 1C.

    It is important to remember that forcefully terminating a session may result in data loss. So, to avoid unpleasant situations, it is advisable to warn users in advance about the disconnection.

    Closing sessions from the configurator

    When changes are made to the database structure, dynamic configuration updates are no longer available. And an information window appears on the screen (Fig. 1).

    The sequence of actions in this case is obvious:

    1. You must click the “End sessions and repeat” button;
    2. Wait for the database restructuring window;
    3. Click "OK".

    It should be noted that changes made to the program code do not require users to shut down, but they will not work on that device without restarting the application on each specific computer.

    Ending sessions directly from the program

    Most standard 1C products, version eight, have a mechanism that allows you to easily terminate a user's work remotely and provide the administrator with exclusive access to the database. This is the “Blocking connections to infobase” processing.

    You can find it at one of two addresses:

    1. In one of the submenus of the “Service” section;
    2. Going to the Operations->Processing section.

    Fig.2

    The appearance of the processing is shown in Fig. 2.

    Features of this processing:

    1. Checking or unchecking the box and clicking the Record button turns user blocking on and off, deleting sessions and preventing new connections from being created;
    2. The blocking end time cannot be empty or less than its start time;
    3. If the “Permission code” parameter is specified, it can be entered into the startup line to ignore the blocking by specifying “/UC” before the code;
    4. If you do not specify the “Permission Code”, then it will be problematic to get into the database before the blocking period expires (in the file version of work, you can try to delete the 1CVcdn file from the database folder);
    5. If instead of the parameter “/UC” and a password separated by a space, you specify “/CAllow Users to Work”, where C is Latin, you can completely disable blocking for all users;
    6. Clicking the “Active Users” button opens a window with a complete list of users (Fig. 3), from where you can open the “Registration Log” or end the session of each specific user.

    Fig.3

    The two options above work fine in both file and client-server mode. Further we will consider cases typical only for server work.

    Removing users from rdp

    It is important to remember that disconnecting user sessions from servers is only possible if you have certain rights to do this.

    When working from a remote desktop, you can end user sessions using the standard task manager. Simply interrupting sessions is a little incorrect, but quite effective.

    The second option is to use the task manager - remote connection with the ability to control each specific session and exit the program according to all the rules. This method is long, and no one guarantees that while one user is logging out, the program will not be launched by any other worker.

    Removing users via the server console

    Having Administrator rights for a 1C server cluster, you must:


    Very often, when working in server mode, hung user sessions are not visible through the platform tools; they can only be deleted through the console.

    The most radical way to interrupt sessions

    A situation where the above methods do not work is extremely rare. But if it occurs, there is another radical way to interrupt connections to the database: physically reboot the server.

    Of course, users who did not have time to finish their work and save the data will be extremely outraged by such a shameless attitude, but it is fast and it is extremely effective.

    The essence of the problem is that viruses replace registry keys and files necessary for user initialization and loading the desktop. Almost any Reanimator LiveCD boot disk will help us fix the first and second. This is a stand-alone operating system that boots directly from a CD (or flash drive) and includes a set of programs for working with a guest computer. In particular, we will need a registry editor. You can download the LiveCD image from any more or less popular torrent tracker. I hope there should be no problems with writing the image to disk either. I'll probably write how to do this in future articles. For now, we will assume that we have already booted from the LiveCD. We will also need the following files: winlogon. exe, userinit. exe, logonui. exe, taskmgr. exe, explorer. exe. They can be found on the Windows installation disk or copied from another computer, for example to a USB flash drive.

    So, let's start restoring the system:

    1. Using a file manager (Explorer, Total Commander, MidnightCommander, etc.), open the “C:” drive and delete the contents of the System Volume Information folder. This folder stores old “snapshots” of the system with copies of system files. By deleting the content, we eliminate the possibility of restoring any malware that may have remained there.

    2. Delete the files (which exist) from the C:WINDOWSsystem32dllcache folder:

    In this folder, Windows stores copies of system files in case of system failure, but viruses could replace them.

    3. It is necessary to overwrite (with replacement) previously prepared files:

    C:WINDOWSystem32winlogon. exe

    C:WINDOWSsystem32userinit. exe

    C:WINDOWSsystem32logonui. exe

    C:WINDOWSsystem32taskmgr. exe

    C:WINDOWSexplorer. exe

    4. In the “Start” menu, find the registry editor (usually in the “Tools” folder) and launch it. In the registry editor, go to the section:

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon

    On the right side of the editor we find the following parameters:

    Shell – double-click on it with the left mouse button and a window for editing the parameter will open; if it’s different, correct it in – explorer. exe

    UIHost – should be like this – logonui. exe

    Userinit - should be like this - C:WindowsSystem32Userinit. exe, (with comma).

    VmApplet – should be like this – rundll32 shell32,Control_RunDLL “sysdm. cpl"

    5. Go to the section:

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Options

    Find and delete (if any) subsections: userinit. exe and explorer. exe

    6. Go to the section:

    HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionDevices

    If there are string parameters (REG_SZ): explorer. exe and userinit. exe - delete.

    After these steps, reboot the computer, the system should start with the desktop.