jump to navigation

Microsoft File and Printer Sharing Ports January 22, 2010

Posted by Cowboy in Uncategorized.
Tags: , , , , ,
add a comment

135-139 UDP/TCP
445 UDP/TCP

Word 2000 crashes with blank screen January 12, 2010

Posted by Cowboy in Uncategorized.
Tags: , ,
add a comment

Choose ”Detect & Repair” in the WORD 2000 menu after starting it with the /a switch. First time it didn’t work. Second time with an OPEN DOCUMENT window “that it warned me to closed” – I still ran “DETECT AND REPAIR” from the WORD 2000 program. Restarted – and it was fixed.

Batch file to disconnect users on Terminal Services January 11, 2010

Posted by Cowboy in Uncategorized.
Tags: , , , ,
add a comment

@echo off
rem Force all remote desktop sessions off
query session >session.txt
for /f “skip=2 tokens=3,” %%i in (session.txt) DO logoff %%i
del session.txt


@echo off
echo Force disconnected remote desktop sessions off
query session >session.txt
rem “skip two lines
rem  read 3 items
rem (default) delimited by space

rem the second token is ‘disconnected’ then logoff the session.
for /f “skip=2 tokens=2,3,4″ %%i in (session.txt) DO if ‘%%j’ == ‘Disc’ logoff %%i
del session.txt

Follow

Get every new post delivered to your Inbox.