Auto Lock after Login

acurasd

New member
Guru
Local time
2:16 PM
Messages
972
Location
North Carolina
I know that you can set up windows to auto login the computer using "control userpasswords2" then you can tell it to log into the windows; therefore, allowing windows to continue booting the rest of the computer up.

Seeing that I want this on a server. I need the computer to log into the computer and then lock the computer right away.

Is there a command that I can put into the "startup" folder that will allow me to do this?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64AMD Phenom x6 1045t8 GBATI Radeon HD 5570
Computer Manufacturer/Model Number
HP Pavilion Elite HPE-410f
OS
Windows 7 Ultimate x64
CPU
AMD Phenom x6 1045t
Motherboard
N/A
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 5570
Sound Card
Realtek Highdefinition Audio / 5.1 Dolby Setup
Monitor(s) Displays
HP w2207h Widescreen
Screen Resolution
1680*1050
Hard Drives
1 TB (fixed), 320 Portable maxtor, Server Hard drives
PSU
350 Watt
Case
HP CASE
Cooling
Bass
Keyboard
Logitech MX 5500
Mouse
Logitech MX 5500
Internet Speed
ROAD RUNNER 16MB D/512 U
I think thats how it works as well..
 

My Computer My Computer

At a glance

Windows 7 and MACNVIDIA 9200 GT
Computer Manufacturer/Model Number
Microsoft
OS
Windows 7 and MAC
Graphics Card(s)
NVIDIA 9200 GT
Sound Card
NvIdiA

My Computer My Computer

At a glance

Windows 7 Ultimate (64)i7-2600KG.SKILL Ripjaws X Series 8GB (2 x 4GB)ATI 5750
Computer Manufacturer/Model Number
Home Grown
OS
Windows 7 Ultimate (64)
CPU
i7-2600K
Motherboard
Asus P8P67-M Pro
Memory
G.SKILL Ripjaws X Series 8GB (2 x 4GB)
Graphics Card(s)
ATI 5750
Sound Card
On-Board
Monitor(s) Displays
LG W2486L
Screen Resolution
1920X1080
Hard Drives
Intel X-25M 80 Gig SSD | Intel X-25M 160 Gig SSD | WD Black 500MB - External eSata
PSU
Zalman ZM770-XT 770 Watts
Case
Antec 180 mini
Cooling
Cooler Master V8
Internet Speed
15MB - Cable
Other Info
Sissy OC - 4.6 @ 1.3175 24/7 | 18' Idle - 55' Load
Why not let the computer auto login, let it stay at login screen... It's essentially the same as lock screen...
But wait... It's a server, why do you even need to login locally anyway? Am I missing something here?

zzz2496
 

My Computer My Computer

At a glance

Windows7 Ultimate 64bitIntel Core 2 Quad Q6600DDR2 Adata 4GBNvidia GeForce GTX 285 1024 and Nvidia GeForc...
Computer Manufacturer/Model Number
Self Built
OS
Windows7 Ultimate 64bit
CPU
Intel Core 2 Quad Q6600
Motherboard
Abit IN9-32X-MMAX
Memory
DDR2 Adata 4GB
Graphics Card(s)
Nvidia GeForce GTX 285 1024 and Nvidia GeForce 8800GT 512
Sound Card
Asus Xonar HDAV 1.3
Monitor(s) Displays
Dell 2407WFP and BenQ 2400v and Philips 150v3
Screen Resolution
3840x1200 and 1024x768
Hard Drives
2 WDC 1TB
1 WDC 1.5TB
1 WDC 640GB
1 WDC 320GB
1 Seagate 200GB
PSU
Corsair TX 850W
Case
Cooler Master HAF932
Cooling
Arctic Cooling Freezer Extreme and plenty of fans...
Keyboard
MicrosoftNaturalKeyboard 4000/Apple Alu keyboard/Dinovo mini
Mouse
Logitech G5/MarbleMouseTrackball/PerformanceMX/SpacePilotPRO
Internet Speed
1.5Mbps down/384Kbps up
Other Info
APC SURT 1000XL
Logitech Z-560
Wiimote
Mikrotik Router
Linksys (now Cisco) SD2008 8 port Gigabit switch
Linksys WRT54G (acting as AP)
Apple wireless Aluminium keyboard
Apple Magic Mouse
Xbox360 wired controller
I know that you can set up windows to auto login the computer using "control userpasswords2" then you can tell it to log into the windows; therefore, allowing windows to continue booting the rest of the computer up.

Seeing that I want this on a server. I need the computer to log into the computer and then lock the computer right away.

Is there a command that I can put into the "startup" folder that will allow me to do this?
I don't think so... If I'm wrong someone here will have the answer, luck with it. ;)
 

My Computer My Computer

At a glance

Windows 7 Ultimate (64)i7-2600KG.SKILL Ripjaws X Series 8GB (2 x 4GB)ATI 5750
Computer Manufacturer/Model Number
Home Grown
OS
Windows 7 Ultimate (64)
CPU
i7-2600K
Motherboard
Asus P8P67-M Pro
Memory
G.SKILL Ripjaws X Series 8GB (2 x 4GB)
Graphics Card(s)
ATI 5750
Sound Card
On-Board
Monitor(s) Displays
LG W2486L
Screen Resolution
1920X1080
Hard Drives
Intel X-25M 80 Gig SSD | Intel X-25M 160 Gig SSD | WD Black 500MB - External eSata
PSU
Zalman ZM770-XT 770 Watts
Case
Antec 180 mini
Cooling
Cooler Master V8
Internet Speed
15MB - Cable
Other Info
Sissy OC - 4.6 @ 1.3175 24/7 | 18' Idle - 55' Load
Why not let the computer auto login, let it stay at login screen... It's essentially the same as lock screen...
But wait... It's a server, why do you even need to login locally anyway? Am I missing something here?

zzz2496
Good post zzzzz, I didn't even consider just not logging in. :(
 

My Computer My Computer

At a glance

Windows 7 Ultimate (64)i7-2600KG.SKILL Ripjaws X Series 8GB (2 x 4GB)ATI 5750
Computer Manufacturer/Model Number
Home Grown
OS
Windows 7 Ultimate (64)
CPU
i7-2600K
Motherboard
Asus P8P67-M Pro
Memory
G.SKILL Ripjaws X Series 8GB (2 x 4GB)
Graphics Card(s)
ATI 5750
Sound Card
On-Board
Monitor(s) Displays
LG W2486L
Screen Resolution
1920X1080
Hard Drives
Intel X-25M 80 Gig SSD | Intel X-25M 160 Gig SSD | WD Black 500MB - External eSata
PSU
Zalman ZM770-XT 770 Watts
Case
Antec 180 mini
Cooling
Cooler Master V8
Internet Speed
15MB - Cable
Other Info
Sissy OC - 4.6 @ 1.3175 24/7 | 18' Idle - 55' Load
Well
It is Windows 7 HP... but using it as Home Server.
Sorry I left that part out. It is not an actual true server OS.

There are some programs that need to boot up all the way and can't be used as a windows service.

1. iTunes
2. Steam Powered
3. PS3 Media Server
4. ORB
5. ect.....
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64AMD Phenom x6 1045t8 GBATI Radeon HD 5570
Computer Manufacturer/Model Number
HP Pavilion Elite HPE-410f
OS
Windows 7 Ultimate x64
CPU
AMD Phenom x6 1045t
Motherboard
N/A
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 5570
Sound Card
Realtek Highdefinition Audio / 5.1 Dolby Setup
Monitor(s) Displays
HP w2207h Widescreen
Screen Resolution
1680*1050
Hard Drives
1 TB (fixed), 320 Portable maxtor, Server Hard drives
PSU
350 Watt
Case
HP CASE
Cooling
Bass
Keyboard
Logitech MX 5500
Mouse
Logitech MX 5500
Internet Speed
ROAD RUNNER 16MB D/512 U
rundll32.exe user32.dll, LockWorkStation

zzz2496

Ps. It's a command, put it in command prompt or a shortcut... your choice...
 

My Computer My Computer

At a glance

Windows7 Ultimate 64bitIntel Core 2 Quad Q6600DDR2 Adata 4GBNvidia GeForce GTX 285 1024 and Nvidia GeForc...
Computer Manufacturer/Model Number
Self Built
OS
Windows7 Ultimate 64bit
CPU
Intel Core 2 Quad Q6600
Motherboard
Abit IN9-32X-MMAX
Memory
DDR2 Adata 4GB
Graphics Card(s)
Nvidia GeForce GTX 285 1024 and Nvidia GeForce 8800GT 512
Sound Card
Asus Xonar HDAV 1.3
Monitor(s) Displays
Dell 2407WFP and BenQ 2400v and Philips 150v3
Screen Resolution
3840x1200 and 1024x768
Hard Drives
2 WDC 1TB
1 WDC 1.5TB
1 WDC 640GB
1 WDC 320GB
1 Seagate 200GB
PSU
Corsair TX 850W
Case
Cooler Master HAF932
Cooling
Arctic Cooling Freezer Extreme and plenty of fans...
Keyboard
MicrosoftNaturalKeyboard 4000/Apple Alu keyboard/Dinovo mini
Mouse
Logitech G5/MarbleMouseTrackball/PerformanceMX/SpacePilotPRO
Internet Speed
1.5Mbps down/384Kbps up
Other Info
APC SURT 1000XL
Logitech Z-560
Wiimote
Mikrotik Router
Linksys (now Cisco) SD2008 8 port Gigabit switch
Linksys WRT54G (acting as AP)
Apple wireless Aluminium keyboard
Apple Magic Mouse
Xbox360 wired controller
%windir%\System32\rundll32.exe user32.dll,LockWorkStation

something like this... as a shortcut....

Thanks!
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64AMD Phenom x6 1045t8 GBATI Radeon HD 5570
Computer Manufacturer/Model Number
HP Pavilion Elite HPE-410f
OS
Windows 7 Ultimate x64
CPU
AMD Phenom x6 1045t
Motherboard
N/A
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 5570
Sound Card
Realtek Highdefinition Audio / 5.1 Dolby Setup
Monitor(s) Displays
HP w2207h Widescreen
Screen Resolution
1680*1050
Hard Drives
1 TB (fixed), 320 Portable maxtor, Server Hard drives
PSU
350 Watt
Case
HP CASE
Cooling
Bass
Keyboard
Logitech MX 5500
Mouse
Logitech MX 5500
Internet Speed
ROAD RUNNER 16MB D/512 U
You're welcome :)

zzz2496
 

My Computer My Computer

At a glance

Windows7 Ultimate 64bitIntel Core 2 Quad Q6600DDR2 Adata 4GBNvidia GeForce GTX 285 1024 and Nvidia GeForc...
Computer Manufacturer/Model Number
Self Built
OS
Windows7 Ultimate 64bit
CPU
Intel Core 2 Quad Q6600
Motherboard
Abit IN9-32X-MMAX
Memory
DDR2 Adata 4GB
Graphics Card(s)
Nvidia GeForce GTX 285 1024 and Nvidia GeForce 8800GT 512
Sound Card
Asus Xonar HDAV 1.3
Monitor(s) Displays
Dell 2407WFP and BenQ 2400v and Philips 150v3
Screen Resolution
3840x1200 and 1024x768
Hard Drives
2 WDC 1TB
1 WDC 1.5TB
1 WDC 640GB
1 WDC 320GB
1 Seagate 200GB
PSU
Corsair TX 850W
Case
Cooler Master HAF932
Cooling
Arctic Cooling Freezer Extreme and plenty of fans...
Keyboard
MicrosoftNaturalKeyboard 4000/Apple Alu keyboard/Dinovo mini
Mouse
Logitech G5/MarbleMouseTrackball/PerformanceMX/SpacePilotPRO
Internet Speed
1.5Mbps down/384Kbps up
Other Info
APC SURT 1000XL
Logitech Z-560
Wiimote
Mikrotik Router
Linksys (now Cisco) SD2008 8 port Gigabit switch
Linksys WRT54G (acting as AP)
Apple wireless Aluminium keyboard
Apple Magic Mouse
Xbox360 wired controller
Back
Top