Repairing file associations

Have two versions of the same software that open the same file extension? Having trouble getting windows to open the right one. We had this same problem with Crystal reports (.rpt extension), but setting it in the file types options in windows did not work. However the bottom command worked in our citrix farm. Don’t put this is a batch file because the %1 doesn’t flow...
readmore

Rename a file with a date/time stamp

The following code will allow you to rename a file to the date and time. Save this code in a batch file (in this example we’ll call it rename_it.cmd), then call it with the file that needs to be renamed. You can also download it here, rename_it.cmd. Example: rename_it FILENAME.txt @Echo OFF TITLE DateName REM DateName.CMD REM takes a filename as %1 and renames as %1_YYMMDDHHMM REM REM...
readmore

Send your events log to sql

Recently I had to turning on auditing on a file server. However turning on auditing was fine but what to do with the logs. The max recommended size for logs are 65Mb. However within 4 hours I was hitting that 65MB limit, and my oldest logs would start erasing. There are some tools out there that can help you, but nothing beats building your own. While I was researching how to archive my logs in a...
readmore

Deleting old files based on date in command line

Need to delete old files based on how old the file is? Need to do in a batch file? Well there’s a great program developed by these guys http://winhlp.com/node/386. Only thing is you need to have java loaded on the machine you are running the command from. The program is accessible via command line and all you need is the below command. The last number in the command is how many days old....
readmore

Print Spooler nightmares?

Got a print spooler that won’t start, or crashes everytime you start it. Well here’s a last resort fix that should bring it back up. However this will remove all printer drivers, print monitors, and printers off of the machine. If you are able to access the registry on the machine you can at least write down the name, share name, ip, and printer driver used for each of your printers...
readmore

Citrix session stays open with Symantec

Symantec Endpoint Protection doesn’t allow citrix sessions to close. I had this problem when we installed symantec corporate edition to our citrix servers. All the citrix applications were closed, but the session would stay open because symantec was running in the session. Below is the fix. The application name maybe different for you, so find the .exe that’s running the symantec icon...
readmore

Citrix IMA Error 2147483649

The Citrix IMA service doesn’t start, and you get 2147483649 in the error log. Try the following. Run “dsmaint verifylhc” at the command line on the server having the problem. If it finds corruption it will ask to repair. Try starting the service after the...
readmore

Launch.ica doesnt launch in internet explorer

I had this weird problem on a machine, whenever I logged into my citrix web interface, and clicked on a application icon it won’t launch. It shows downloading the file, but it would not do anything with the file it would just sit there. I check the file assoication for .ica and it was set correctly, but won’t launch still. Then I found that you may need to re-register the wfica32.exe...
readmore

Copying Citrix licenses to another server

What happens if your citrix license server is unstable, or you need to create a citrix farm for testing purposes, or your license server dies? I had a citrix license server crash on a consulting job, and I had to figure out how to bring their environment back up. Luckily I had the data files on the dead server.  Below are the instructions on how to make another server a citrix licensing...
readmore

Find and replace on Dreamweaver

Ever have a html code, or something in a asp or php code that needed to be changed however the expression changes just enough that find and replace won’t work unless there is a wildcard feature? Well there is. I didn’t know what it was until recently when I had to change something on a project. Below is the example. Find jason.php?id=7 jason.php?id=9 jason.php?id=10 Replace...
readmore

« Previous Entries Next Entries »

line
footer