Sign in to follow this  
Followers 0
Brocko

Windows Log On Screen

4 posts in this topic

Hello,

On a server that I run, which never has any sessions open, I have these errors from csrss.exe. When too many of them build up, it causes problems.

I would like to automatically close them using the small script below, but I need help getting the script to run on the Welcome screen.

while(1)
    sleep(5000)
If WinExists("srcds.exe - Application Error") Then
    WinKill("srcds.exe - Application Error")
EndIf
wend

Thanks!

Share this post


Link to post
Share on other sites



Try using srvany to run your script as a service.

Share this post


Link to post
Share on other sites

Try this:

-Open RegEdit, go to HKEY_USERS\DEFAULT\Control Panel\Desktop

-Change ScreenSaveTimeOut to 1 or 0 (0 may not work).

-Change SCRNSAVE.EXE to path of your program.

This is for Windows XP, may not work on your Windows version. >_<


Automatic Update UDF - IP Address UDF - WinPcap AutoIt _FindDevice()[font="Verdana"][size="2"]AutoIt Spanish/Brasil/World community!!![/size][/font]Use you wanna a dot.tk domain please use my link:

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Try this:

-Open RegEdit, go to HKEY_USERS\DEFAULT\Control Panel\Desktop

-Change ScreenSaveTimeOut to 1 or 0 (0 may not work).

-Change SCRNSAVE.EXE to path of your program.

This is for Windows XP, may not work on your Windows version. >_<

Thank you! Works great.

Edited by Brocko

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0