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

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

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

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

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

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 Windows 7 32 Bit / Office 2010 and that is where Excel.exe is located.

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

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

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 Windows 7 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

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

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

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 Windows 7 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 for2: Lock screen after specific app quit : How to?
Thread Forum
Screen lock up. Performance & Maintenance
Add Shutdown to lock screen? General Discussion
Solved Application specific lock ups. Software
Looking for a specific screen recorder Music, Pictures & Video
Caps lock, num lock, scroll lock screen messages General Discussion
Enabling lock screen Software
Lock Screen 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 11:02 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33