I know that I can set the No timeout for a script by adding the /T:0 to my
cscript.exe command line, but I have a canned piece of software which allows
you to call a script, but does not allow parmeters and it times out.

Is there a registry entry that I can put in that cscript will look at to
turn off timeouts.
--
Marc Rosson

RE: Setting Timeout in Registry by v-kevy

v-kevy
Thu Jan 27 03:09:01 CST 2005

Hi Marc,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to find some registry key
which sets the default timeout for cscript.exe. If there is any
misunderstanding, please feel free to let me know.

I think we can try to create a Timeout: REG DWORD: 0 key under the
following path.

HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Scripting Host\Settings

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


RE: Setting Timeout in Registry by marc_rosson

marc_rosson
Thu Jan 27 11:31:06 CST 2005

Kevin,
I did try this under local machine, but I'll try it under local user.

"Kevin Yu [MSFT]" wrote:

> Hi Marc,
>
> First of all, I would like to confirm my understanding of your issue. From
> your description, I understand that you need to find some registry key
> which sets the default timeout for cscript.exe. If there is any
> misunderstanding, please feel free to let me know.
>
> I think we can try to create a Timeout: REG DWORD: 0 key under the
> following path.
>
> HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Scripting Host\Settings
>
> HTH.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>
>

RE: Setting Timeout in Registry by v-kevy

v-kevy
Thu Jan 27 19:48:34 CST 2005

Hi Marc,

Then you can try the following link:

HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."