Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Lock screen after specific app quit : How to?

27 Jan 2013   #11
goja

Ultimate x86 & x64
 
 

I know that, but as I told you, this specific screensaver won't work this way. However it works if I start it directly by the file. So I need to find a way so that lock screen comes after it.


My System SpecsSystem Spec
.

27 Jan 2013   #12
DavidE

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Try a bat file like this - you will need to change the screensaver to what you want, but you can test this.


%systemroot%\system32\Mystify.scr /s
rundll32.exe user32.dll, LockWorkStation
My System SpecsSystem Spec
27 Jan 2013   #13
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

David, I repped you for this. That /s switch does the trick and the batch works also with screensavers.

(You might want to edit your post, to remove that Excel line...)

Kari
My System SpecsSystem Spec
.


27 Jan 2013   #14
goja

Ultimate x86 & x64
 
 

Thanks for joining David, i better directly tell you the screen saver i'm talking about :

It's called Album Art Sreensaver, find it easily with google. Your bat indeed work... But not with this one!
My System SpecsSystem Spec
27 Jan 2013   #15
DavidE

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Quote   Quote: Originally Posted by Kari View Post
David, I repped you for this. That /s switch does the trick and the batch works also with screensavers.

(You might want to edit your post, to remove that Excel line...)

Kari
Thank you for the rep Kari!

Why do you suggest I remove the Excel line?
This PC has Win7 32 Bit / Office 2010 and that is where Excel.exe is located.

Thanks,
David
My System SpecsSystem Spec
27 Jan 2013   #16
DavidE

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Quote   Quote: Originally Posted by goja View Post
Thanks for joining David, i better directly tell you the screen saver i'm talking about :

It's called Album Art Sreensaver, find it easily with google. Your bat indeed work... But not with this one!
If I found the right screensaver, it seems like it can retrieve info for a music collection and iTunes tracks.
What does the BAT file do with that screensaver.

I don't use screensavers and the only ones on my systems are the ones that are included with Windows.
My System SpecsSystem Spec
27 Jan 2013   #17
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Quote   Quote: Originally Posted by DavidW7ncus View Post
Why do you suggest I remove the Excel line?
This PC has Win7 32 Bit / Office 2010 and that is where Excel.exe is located.

Thanks,
David
Excel has nothing to do with OP's issue, he has not even mentioned it. I just used Excel as example program in my batch file ). User is only interested in running a specific non-compatible screensaver.

That's why.
My System SpecsSystem Spec
27 Jan 2013   #18
goja

Ultimate x86 & x64
 
 

David, do you think I would make such thread if that screensaver could be used normally..? Just read dive and you'll know why.
My System SpecsSystem Spec
27 Jan 2013   #19
DavidE

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Quote   Quote: Originally Posted by goja View Post
David, do you think I would make such thread if that screensaver could be used normally..? Just read dive and you'll know why.
I don't understand what you are asking, or wanting to do.
My System SpecsSystem Spec
27 Jan 2013   #20
DavidE

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

Quote   Quote: Originally Posted by Kari View Post
Quote   Quote: Originally Posted by DavidW7ncus View Post
Why do you suggest I remove the Excel line?
This PC has Win7 32 Bit / Office 2010 and that is where Excel.exe is located.

Thanks,
David
Excel has nothing to do with OP's issue, he has not even mentioned it. I just used Excel as example program in my batch file ). User is only interested in running a specific non-compatible screensaver.

That's why.
Ah, OK.
I just copied your BAT example and went forward with that.
I thought there was some other program that would be run before the screensaver
My System SpecsSystem Spec
Reply

 Lock screen after specific app quit : How to?




Thread Tools





Similar help and support threads
Thread Forum
Num Lock, Caps Lock and Scroll Lock all lights up (not blinking)
For some time now, i have been experiencing that my Num Lock, Caps Lock and Scroll Lock all lights up (not blinking) all at the same time, I tried to google it but i can not find any solutions or explanations for it. Does anyone know if it is bad? and what is causing this? I am having a wired...
Hardware & Devices
Caps Lock/Num Lock, on screen pop up gone Gateway NV77
Good afternoon, I just did a clean install of 7 to fix errors with my laptop, and it fixed one, but not the other main issues, My caps lock, and number lock button on the keyboard don't have a light on it and the pop up that is supposed to pop up doesn't show up on screen. I figured by doing...
General Discussion
Screen lock up.
Ok, i got a lil problem with my computer. When i go on certain websites, or start up Origin when i wanna play BF3, my screen lock up for a few seconds. The sounds hold up some times, and starts again when the screen is working again. It has been like this for a while. And i upgraded my computer...
Performance & Maintenance
Application specific lock ups.
I have been trying to diagnose a particular problem where applications freeze for a split 2-3 seconds at random intervals. I really hope that someone might be able to provide some suggestions as I am starting to pull my hair out with this. For example, I could be running the following programs:...
Software
Caps lock, num lock, scroll lock screen messages
Hi, how to disable Caps lock, num lock, scroll lock screen messages? I have desktop pc with two keyboards usb and bluetooth. Also TOSHIBA Bluetooth Stack software, but in device manager: keyboard > hid keyboard device both using microsoft drivers. And I dont have any software installed...
General Discussion
Lock Screen
Hello everybody, I was recently poking about in the Group Policy Editor seeing if there were any changes between Vista and 7, but after I had exited and locked my computer I noticed my lock screen now shows as this: http://img121.imageshack.us/img121/2/20092009100o.jpg (I had to use my phone...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App