Backtrack:  
 
showing posts tagged with 'software'
edited by 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.

edited by 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  ...
edited by 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  ...
edited by 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
edited by 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   ...
edited by 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  ...
edited by 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.

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

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

http://ipiccy.com/

Pretty handy indeed!

edited by 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  ...
edited by 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
%USERPROFILE%\Local Settings\Application Data\Google\Chrome\Application

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).

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

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

Download here: http://csammisrun.net/blog/2009/06/lock-n-roll-11/

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

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

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

  • All user's desktop: C:\Users\Public\Desktop\
  • All user's start menu: C:\ProgramData\Microsoft\Windows\Start Menu\
edited by 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  ...
edited by 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"

Adjust the installation path and file location to your needs.

This way, Access gets started first, with the file as parameter, so it gets op  ...
edited by 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:

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

edited by 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.

Add the disk to the backup pool by running:WBADMIN ENABLE BACKUP -addtarget:"{DiskID}"

Replace the DiskID with the one you have,   ...
edited by on September 28th 2011, at 16:59
Since Windows 7, the Quick Launch bar has been removed from the taskbar, and the pinning of applications has been introduced as a replacement. Not everyone likes this new feature, or perhaps you want to have the old Quick Launch bar back anyway. Well, it can be restored, albeit with a bit of a workaround.

The Quick Launch bar in earlier versions of Windows in fact nothing more than a folder containing shortcuts. With this in mind, it's in fact quite easy to add the Quick Launch bar, in this case as a regular folder.

First, unlock the taskbar. You need this to move over the Quick Launch bar once it's added, and to access its settings to actually make the toolbar look like the old Quick Laun  ...
edited by on September 28th 2011, at 12:48
When running virtual Windows 2003 systems (e.g. in VMware), it's sometimes necessary to increase the size of the disks to add more storage to your machine. Starting from Windows 2008, you can perform an online increase of NTFS partitions using Storage Manager. In Windows 2003, it's also possible to perform an online extend by using diskpart from the command line.

First, make sure to extend the physical volume (e.g. by increasing the virtual disk size in VMware). Then open a command prompt and run diskpart without parameters.

To extend, you have to select the physical disk and volume. To know what to select, you can view the available disks and volumes.

List and select the physical disk:

  ...
edited by on September 28th 2011, at 12:23
If you wish to restrict SMTP access via IP addresses or a network range, one way to do it would be via Postfix configuration. You can set up restrictions using a Postfix hash-table or via a cidr file. You can choose one or both methods to perform the restrictions. The end-result will be the same.

Create a text file with the addresses you would like to reject. You can choose whatever file name you wish. E.g.: /etc/postfix/smtp_client_access

Its content should be something like:

192.168.0.1 REJECT Stop mailing us192.168.0.2 REJECT Stop mailing us192.168.1 REJECT Stop mailing us

Next, postmap it by running:

postmap /etc/postfix/smtp_client_access

Then add/edit this in your main.cf:

smtpd  ...
edited by on September 28th 2011, at 10:56
IP autoconfiguration (also known as APIPA) configures a network interface with an IP address if no fixed IP has been specified, and there's no DHCP server on the network. In this case, an automatic IP will be assigned out of a private range (usually 169.254.x.x). APIPA exists on all Windows version (safe Windows NT).

In case you wish to disable APIPA on a certain interface, you can use the Windows registry to do this. By default, APIPA is enabled on all interfaces, unless it is explicitly disabled.

Fire up regedit. Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\Interfaces\adapter clsid, where adapter clsid is the ID of your adapter. If you only h  ...
showing posts tagged with 'software'