Initiate welcome screen

  • Thread starter Thread starter Gustavo
  • Start date Start date
G

Gustavo

I would like to know how to initiate the welcome screen with a batch
file. I need that after my computer runs a program to automatically
activate the welcome screen so nobody will have access to this user
session.
I would appreciate any help.

Gustavo
 
Gustavo said:
I would like to know how to initiate the welcome screen with a batch
file. I need that after my computer runs a program to automatically
activate the welcome screen so nobody will have access to this user
session.
I would appreciate any help.
Hi

Try this command:

%windir%\SYSTEM32\rundll32.exe user32.dll,LockWorkStation

(note that the command is case sensitive for the word LockWorkStation)

You may need to configure your computer to show the welcome
screen when locking the computer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top