Hello members, (this might have been shared already) While developing TDL Cide which is using com interface, we would come across registering the dll file repeatedly for the changes made in the c# project. to register the DLL we have to enter certain commands in the Command Prompt(admin elevated mode). you may use the following windows batch file to avoid all the repeated tasks, just providing the dll path itself sufficiient.. Code: @echo on cd.. cls cd microsoft.net cls cd framework64 cls cd v4.0.30319 cls set /p path=Enter the dll to reegister or unregister: regasm /u "%path%" regasm /codebase "%path%" set /p ex=Press enter to exit paste the above code in a txt editor and save it as <<filename>>.bat in your easily accessable folder such as desktop... and run it as administrator...