Wednesday, June 29, 2011

Crazy day

So yesterday was a deployment date for a program used by the entire organization, about 500 computers. The program itself had been tested by the IS group prior to me writing the install package... they should have given me the info and allowed me to create the install package, THEN test with THAT package, but whatever, they tend to do their own little thing then come rushing to us last minute to get something done.

So I had about two weeks to put together the install package. Enough time, but not really enough time to come up with a proper test nor to think up every possible scenario. I can test all I want in a VM, and the few machines not in use by users, but this environment is a HUGE MESS to begin with. We are not allowed to perform any type of updates or anything to the computers, and there are so many proprietary apps on select PCs it's sickening. Basically not one computer is the same so results vary on a per computer basis, when doing a deployment.

So yesterday things were quiet as most people probably did not reboot.

Today, it was like opening the floodgates of Hell. Helpdesk was getting flooded with calls because the program had this weird issue where when you open it, it just closes right away along with other problems. I was working on trying to figure out WTF it was doing this. Being a proprietary app itself, there was no documentation or anything to refer to. Obviously, closed source too, so can't look there. Basically not much help available. It's not like you can Google for an answer with an app that is this proprietary.

We later on figured out that the app requires the folder to be world writable so I wrote a separate script that I can push to change the NTFS permissions with CACLS.

Found a page with some undocumented features which allows to set group permissions (the documentation only mentions users)

http://support.microsoft.com/kb/162786

Being under pressure, my first attempt at writing a script to push a fix had a typo which caused bigger problems, but I quickly found and fixed it, and within an hour or so everything was golden.

The IT manager, who is a real asshole, barged in with his typical asshole look on his face and wanted an explanation for everything. That guy will ensure to take a bad day, and turn it into your worse nightmare.

No comments: