Backtrack:

showing posts tagged with 'software'
by lunarg on June 13th 2012, at 22:15

If you are unable to uninstall Office 2003, 2007 or 2010 the normal way (via Control Panel), you can try with the uninstall tools made available by Microsoft. They do a manual uninstall of all files and registry settings of the selected Office, but without losing removing personal settings.

They are available here: http://support.microsoft.com/kb/971179.

by lunarg on June 13th 2012, at 10:44

I found it rather difficult to find the Belgian version of the Google search provider for Internet Explorer. Here's the direct link: http://www.iegallery.com/nl-BE/Addons/Details/6218.

by lunarg on June 11th 2012, at 17:32
When using external libraries (with .lib files) and are getting linker errors like below, you are using an imcompatible import library (.lib) file.

Invalid OMF record type 0x21 (possibly COFF)

The reason for this is that your import library file was designed for MSVC. The one uses the COFF format, which is not compatible with Borland's OMF format.

To solve this, try the following and in preferred order:

Try obtaining the Borland compatible version of the import library. While difficult, this will always work.

Use the conversion tools in Borland. Read Convert MSVC import libraries for use in Borland C Builder for more info on these tools.

Try using IMPLIB to manually rea  ...
by lunarg on June 11th 2012, at 17:24
By default, import libraries (.lib files) made for MSVC are not compatible with Borland C Builder and Borland Delphi. Since version 6 of Borland C++ Builder, there's a tool which can convert these files in COFF format to OMF format. The tool is called coff2omf and resides in the Bin directory of your Borland installation.

Simply run the file as follows (be sure your path etc. is correct):

coff2omf mylib.lib mylib2.lib

Then, use the mylib2.lib file you just created and add it to your project.

Notice
The coff2omf tool only works properly if the library exports plain C functions. If C++ classes or mangled function names get exported, you usually get linker errors. If this is th  ...
by lunarg on June 6th 2012, at 13:51

When I was installing a fresh copy of Cygwin, I noticed that some tools didn't work as they normally would. They would bail out with an error.

C:\Windows\system32>dig
dig: dst_lib_init: openssl failure

A quick search on Google shows that there's a dependency error. While the openssl libraries are installed, the openssl package is also required. After installing that package too, it worked again.

by lunarg on June 4th 2012, at 12:01
Since Windows 2000, you can use the convert tool to convert FAT32 partitions to NTFS, provided that enough free space is available to perform the conversion. Any drive can be converted "live" (although the system partition requires a reboot).

To run a conversion, you'll need the drive letter and the volume label. Fetch it using Explorer or by running a command on the command line:

vol C: Volume in drive C has no label. Volume Serial Number is A83C-E4E8

Next, run the conversion command. If you're converting the system partition, you will have to reboot to complete the conversion.

convert C: /FS:NTFS

This will perform the conversion. Note that it will probably take s  ...
by lunarg on May 24th 2012, at 16:29
Every two years, the self-signed SSL certificate expires, and has to be renewed in order to ensure your users can continue to connect to the server. This renewal is not difficult, and can be done in a few steps.

Go to the Windows SBS console, navigate to Network, then Connectivity

Click on the certificate icon, and choose view certificate properties to check the expiration dates. If it is expired, continue with the next step.

In Connectivity Tasks, choose to Set up your internet address, and follow the steps. At some point you'll need to enter your domain name (which should be set to the current). If required, adjust your prefix (by default: remote) Upon finishing the wizard, a new self-s  ...
by lunarg on December 13th 2011, at 12:54

You can clear the DNS cache on a Mac by using these commands (depending on the version of OSX you're running):

• Tiger (10.4): lookupd -flushcache
• Leopard and later (10.5+): dscacheutil -flushcache
by lunarg on November 15th 2011, at 16:38
Had some trouble on a Sony VAIO VGN-Z41WD which has been upgraded to Windows 7 by performing a complete installation. After installing just about every driver and after installing the necessary components for WWAN for 3G access to the internet, the software just bails out with an error stating it can't find the device.

A closer look in device manager reveals no sighting of said adapter. At first, I thought the device to be broken until I started thinking a little further. The manual states that devices can be turned on and off via the VAIO Control Center, meaning that the device could be presented but not powered on (thus, not appearing in device manager).

Only after installing the   ...
by lunarg on November 14th 2011, at 15:29
If you're running RDS on a vSphere server with VMware Tools installed, you may have noticed the evergrowing presence of vmwaretray DMP files in the user profiles. These are crash dumps from the VMware Tray icon, which is ran during every session.

The reason for this crash dump is an error which is caused by lack of read access to a certain key in the Windows registry by your regular (domain) users.

This key is called HKEY_LOCAL_MACHINE\Software\VMWare. Inc.\VMWare Tools.

Set the permissions on that key to read access for the users logging on to the server, and your problem should go away.

Hint: you may also wish to remove the icon altogether. This is done by setting a certain registry va  ...
by lunarg on November 14th 2011, at 15:28

If you're running RDS on a vSphere server with VMware Tools installed, you may wish to remove/hide the system tray icon. This can be done by setting a certain registry value.

The registry value is:

• Key: HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Tools
• Value: ShowTray

Change the value to 0 will effectively disable the icon the next time a user logs on.

by lunarg on November 4th 2011, at 14:50

Online image editing was never this easy, and it's entirely free and requires no registration:

Pretty handy indeed!

by lunarg on November 4th 2011, at 14:06
In SBS2008 and 2011, there's a wizard allowing you to move the WSUS repository to another partition/disk. However, it does not move the state database, which, over time, can grow a bit large. Luckily, one could manually move the database by stopping WSUS, detaching the database, move the files, reattaching it, and finally, starting WSUS again.

First of, stop the required services (WSUS and IIS Admin Service)

net stop "update services"net stop w3svc

Next, detach the database:

sqlcmd -E -S np:\\.\pipe\MSSQL\$MICROSOFT##SSEE\sql\query -Q "sp_detach_db 'SUSDB'"

Move the SUSDB.mdf and SUSDB_log.ldf to their new location. Then, reattach the database:

sqlcmd -E -S np:\\.\pi  ...

by lunarg on November 3rd 2011, at 14:20

Each time Google Chrome gets updated, it leaves behind the old version of Chrome. While this comes in handy when you have to downgrade, it also builds up (precious) hard disk space. You can, however, manually remove the old installation files.

Google Chrome is installed by default in your local profile folder, at:

Location

In that folder you will find the main executable (don't remove that) and the different versions of Chrome.

You can simply delete the lower version numbers so that only the highest version remains. This clears out on average 80-100 MB per folder (although it could very well be much more).

by lunarg on November 3rd 2011, at 14:07

A neat plugin for Pidgin is Lock-n-Roll.

It automatically sets your status to Away, and sets a predefined status message, upon locking your computer (or when it gets locked via screensaver).

by lunarg on October 18th 2011, at 17:38

Just so you (and especially I) don't forget:

• All user's desktop: C:\Users\Public\Desktop\
by lunarg on October 13th 2011, at 14:34
The problem is related to incorrect hinting of the webserver, tricking IE7/8 into believing you are in fact downloading a ZIP-file, rather than an Office 2007/2010 file. The reason for this is because these files are in fact XML-files, compressed to a ZIP, but have a different extension, indicating it's not a regular ZIP-file.

There are two ways to fix this. The best way would be to change the webserver (if possible, ask the administrator of the webserver you are downloading from) to add the correct MIME-types, so the webserver provides correct hinting. How this is done, depends largely on which webserver is being used.

When using Apache2, there are two ways to resolve the issue. Either ad  ...
by lunarg on October 13th 2011, at 11:15
There's an obscure issue with Access 2003, not being able to open an MDB from a network location via Explorer. It outright refuses to open the file, so when attempting, nothing seems to happen.

This is caused by security measures in Access 2003, where you normally have to confirm to open the file, which fails. However, I'm guessing this is not by design that it does not open at all.

A workaround is to create a shortcut to said file, then edit the shortcut so it reads:

"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" /NOSTARTUP "MyFile.MDB"

This way, Access gets started first, with the file as parameter, so it gets op  ...
by lunarg on October 10th 2011, at 16:37

In case you have issues on your Windows 2003 concerning VSS, Microsoft has an update rollup available for download to fix certain issues with VSS:

by lunarg on October 3rd 2011, at 12:01
When adding additional backup disks to your Windows SBS 2011 server backup, you may get an error stating:

Quote
The filename, directory name, or volume label is incorrect.

The problem occurs with the SBS console and when running the Server Backup snap-in.

You can work around this issue by manually adding the backup disks via the wbadmin command line tool.

Connect the disk you wish to add to the system. Open up a command prompt.

Fetch a list of available backup targets by running:wbadmin get disks

You need the DiskID displayed of your backup disk.