Alan's Blog

"Yeah. I wrote a script that will do that."

Is it a terminal server?

Posted on November 12th, 2009

If you are running logon scripts you may want to bail, or do something special if the server the user is logging onto is a terminal server.  isTermServer.vbs will allow you to test/determine whether a local or remote server is a terminal server, and returns an errorlevel for batch handling.  Run without arguments for syntax.

 

Filed under Scripting, VbScript, Windows Administration |

Leave a Reply

You must be logged in to post a comment.

Downloading files

All the vbscripts are saved as .txt files. The easiest way to download with IE is to right click on the link and use "Save Target As". Rename file to replace .txt extension with .vbs.

Categories

Please support

Scripting Sites

Bad Behavior has blocked 72 access attempts in the last 7 days.