Windows TS Session screen lock

Posted on 2011-04-19
Last Modified: 2012-06-27
I have a thin client which launches a citrix app which is basically IE pointing to a website which displays a powerpoint presentation.
It all works fine but the screen locks itself after 10 minutes.
I'm looking for a script which will disable the screen lock and then launch the website.
I can't launch the website locally as it's pointing to a powerpoint presention which needs IE to run it (firefox doesn't have an add in to play powerpoint and then thin client isn't on the network anyway.

Question by:wildminduk
    1 Comment
    LVL 11

    Accepted Solution

    Are you referring to the screen saver timeout? If so this batch script should work, just replace the website with your URL.
    SET REGKEY="HKCU\Control Panel\Desktop"
    REG ADD %REGKEY% /v ScreenSaveActive /d 0 /f
    REG ADD %REGKEY% /v ScreenSaverIsSecure /d 0 /f
    REG ADD %REGKEY% /v ScreenSaveTimeOut /d 0 /f
    "%ProgramFiles%\Internet Explorer\iexplore.exe" %WEBSITE%

    Open in new window


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Recently I finished a vbscript that I thought I'd share.  It uses a text file with a list of server names to loop through and get various status reports, then writes them all into an Excel file.  Originally it was put together for our Altiris server…
    I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now