Monday, December 26, 2005
Slow down a batch file - with no CPU hit
I had to put this together for a customer runing a Citrix server that needed a pause to map a drive but need to give the icon to the Citrix users desktop. Well a batch file will hit the cpu to 100% with the choise or other command, so here is a VSB/WSH self contained batch file.
@echo off
cls
:searchfile
if exist I:\ goto runapp
echo searchfile I:\
echo sleeping...
echo Wscript.Sleep 5000> M:\sleep.vbs
start /w wscript.exe m:\sleep.vbs
del m:\sleep.vbs
goto searchfile
:runapp
i:\
Start "My Sepecial App" M:\WINNT\SYSTEM32\Cmd.exe /c U:\xpfalcon.exe
CLS
:quit
Exit
Tis the silly season, time to read a DNS/BIND book.
@echo off
cls
:searchfile
if exist I:\ goto runapp
echo searchfile I:\
echo sleeping...
echo Wscript.Sleep 5000> M:\sleep.vbs
start /w wscript.exe m:\sleep.vbs
del m:\sleep.vbs
goto searchfile
:runapp
i:\
Start "My Sepecial App" M:\WINNT\SYSTEM32\Cmd.exe /c U:\xpfalcon.exe
CLS
:quit
Exit
Tis the silly season, time to read a DNS/BIND book.
Wednesday, December 14, 2005
Five consultants and three customers
Yep, another day in the trenches, five consultants, a project manager, three customers who know it all and we need to tease it out, document it, and upgrade it.
Exchange 2000 -> to 2003
SMS and MOM to implement
Desktop SOE upgraded to WXP
Windows DCs from w2k to w2k3
Citrix FR3 to V4.
All in about three months and 2000 users. Time, who needs time, document it later, do it now. Ow and there is a change freeze, do dont actually do anything.....
Another day in the trench.
Exchange 2000 -> to 2003
SMS and MOM to implement
Desktop SOE upgraded to WXP
Windows DCs from w2k to w2k3
Citrix FR3 to V4.
All in about three months and 2000 users. Time, who needs time, document it later, do it now. Ow and there is a change freeze, do dont actually do anything.....
Another day in the trench.
Thursday, December 08, 2005
Did you notice DOS out there?
A day on site again, 7:am start, get the scripts updated and automate a few more error checks, you can never tell what a customer will do...
But of course there is DOS application that EVERYONE uses... Oh yes and it needs the WindowsXP Command.com , yep thats right the 16bit version. But it is critical so it has to work. There is a application that launches a program that starts a START command that starts a BATCH file that sets environment details, and they wonder why it fails...
Are you supprised it doesn't work?
But of course there is DOS application that EVERYONE uses... Oh yes and it needs the WindowsXP Command.com , yep thats right the 16bit version. But it is critical so it has to work. There is a application that launches a program that starts a START command that starts a BATCH file that sets environment details, and they wonder why it fails...
Are you supprised it doesn't work?
Friday, December 02, 2005
Another fantastic result - a Windows 95 day
Yep, the end of the last working day of the week, a 5:30 migration of a thousand users on Monday morning, and we have a show stopper. Not just any old showstopper. This on is a Windows 95 computer !!
Yep, stop it all, because the Windows 95 computer cant access the network. It is after all the paging server... And why wouldn’t you use Windows 95 for that. After all in the TEN YEARS sense its release it has shown to be ultimately stable !!!
Anyway, move it to another location and it still works, global failure averted... again...
Windows, it just works... NOT
Great start to the day, the VPN to the office doesnt work. When I skip it and go to the Citrix CSG I can get a web browser only to find the OWA is down...
Funny it was just today I looked and my PC, it has been running the corporate desktop build sense Oct 2004, that is a record. But maybe I spoke to soon... I cant even install a print to my Lappy today.
Funny it was just today I looked and my PC, it has been running the corporate desktop build sense Oct 2004, that is a record. But maybe I spoke to soon... I cant even install a print to my Lappy today.
Subscribe to:
Posts (Atom)