Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Command Prompt - Windows 11, 10, etc. ► ««« »»»

Lock the PC via the command prompt, Windows 11, 10, ...!


Locking Windows 11, 10, ... or MS Server 2022, 2019, ... is also possible via the command prompt!



It is not the fastest way to lock your Windows 11, 10, ... PC, but you can also do this via the command prompt, why not if it is possible without the keyboard shortcut to lock your Windows PC (Windows + L)

Lock your MS Windows PC using the cmd.exe or command prompt!




1. Start the command prompt as always 

2. Enter the command:  Rundll32.exe user32.dll, LockWorkStation   

3. Confirm this with the Enter key 

(... see Image-1 Point 1 to 3)

Windows PC will start up without any detours locked, a new login to the Windows computer is required! After you've locked your PC, the lock screen will generally appear for a certain amount of time before the time limit is exceeded and the PC goes into standby . 

(Image-2) Lock the PC via the command prompt, Windows 11, 10, ...!
Lock the PC via the command prompt, Windows 11, 10, ...!

-
▲ Back to the top ▲




FAQ 110: Updated on: 26 August 2023 10:55 Windows
Windows-Console

Find out the PC serial number and manufacturer via command prompt?


Using the command prompt, it is easy to find out the PC serial number and manufacturer under Windows 11, 10, and MS Server OS Everyone has ► read out
Windows-Console

Share more fonts for Windows 11, 10, ... command prompt!


It is easy to give more fonts for Windows 11, 10, command prompt Everyone has ► changed the color, font, etc. for the command prompt / CMD  may
Windows-Console

List hidden files via the command prompt in Windows 11, 10, ...!


It is easy to list hidden files via the command prompt in Windows 11, 10, 1. Show hidden files with the command prompt 2. Show hidden files
Windows-Console

Activate the classic boot menu under Windows 11, 10, 8.1, ... again!


The classic boot menu / boot load of Windows can easily be reactivated to start better in safe mode or with repair options 1. Activating the classic
Windows-Console

Reset local group policies under Windows 11, 10, ... via cms.exe!


The local group policies can be quickly reset at a command prompt under Windows 11, 10, and MS Server OS 1. Reset local group policies under MS
Windows-Console

Change drive letters via the command prompt in Windows 11, 10, ....!


It is easy to change drive letters from the command prompt in Windows 11, 10, etc. and MS Server OS 1. The quick change of drive letters under
Windows-Console

Query Windows screen resolution via the command prompt!


The screen resolution via the command prompt can be easily queried under Windows 11, 10, etc. and MS Server OS Find out your screen resolution, and

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: 2019, 2022, windows, 11, console, lock, PC, command, prompt, server, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + PhotoResizerOK
  + Office.Files.Images
  + Film.Strip.Explorer
  + WinScan2PDF
  + DontSleep
  + ExperienceIndexOK
  + QuickTextPaste
  + DesktopNoteOK
  + ShortDoorNote
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► The Ultimate Stress Test for All 3D Graphics Cards! ◄
► Give Quad Explorer access to folder protection under Windows 10 / 11! ◄
► Protect the images with watermarks to reduce copying! ◄
► Find file by owner in MS Windows 11, 10, 8.1, 7 ...! ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....