Backtrack:  
 
showing all posts
by lunarg on April 18th 2013, at 11:39

If your to-do bar shows up empty, or only displays a Loading... message, try to start Outlook with the parameter via Start → Run:

outlook.exe /resettodobar
by lunarg on April 15th 2013, at 08:57

To get a list of running SQL queries, log into the PostgreSQL CLI:

psql -U username database

Replace username and database with the proper values. Then run this query:

SELECT procpid,datname,usename,client_addr,waiting,query_start,current_query FROM pg_stat_activity;

Inside the list is also the procpid, which you will need to kill a running query. To kill, run this query, substituting with the proper procpid:

SELECT pg_cancel_backend(procpid);
by lunarg on April 15th 2013, at 08:40

You can script password changes in linux by using passwd without any additional effort. The syntax for this is:

echo "your-password" | passwd --stdin user
by lunarg on April 10th 2013, at 15:51
A very quick install guide to installing the 2X Application Server.

Install RDS roles and set up RDS licensing on your server (i.e. you need a working RDS/TS set up on your server).

Download and install the 2X Application Server.

Publish your applications.

Starting from 2008, configure the firewall so connections to port 80/tcp are accepted.

The same pointers to installing the 2X Cloud Portal. I assume 2X Application Server is already installed.

Install the following roles:IIS and dependencies

Application Development → ASP, ASP.NET 3.5 ASP.NET 4.5

IIS Management Scripts & Tools



Download and install the 2x Cloud Portal. Select the right

Disable caching in IIS: in IIS Man  ...
by lunarg on April 5th 2013, at 16:14

To change a user's (login's) password via Transact-SQL, use this:

ALTER LOGIN User WITH 
     PASSWORD = 'new-password' 
     OLD_PASSWORD = 'old-password';
GO
by lunarg on April 5th 2013, at 09:08
Microsoft still does not enable NTP time sync by default on their servers. You can very easily manually enable it using the Windows Time Service, which supports time synchronisation from an NTP time server.

Open up an elevated command prompt on your server to begin.

To specify one or more NTP time servers:

w32tm /config /syncfromflags:MANUAL /manualpeerlist:0.europe.pool.ntp.org

Time sync does not automatically start, so you have to restart Windows Time Service:

net stop w32timenet start w32time

To query the status of the time sync:

w32tm /query /peers

You should get some output like this:

#Peers: 1Peer: 0.europe.pool.ntp.orgState: ActiveTime Remaining: 57.2511002sMode: 1 (Symmetric  ...
by lunarg on April 4th 2013, at 16:15
The Cisco VPN client v5.0 does not work out-of-the-box on Windows 7 and 8. Starting the VPN will result in an error:

Error
Reason 442: Failed to enable Virtual Adapter

This is because of a malfunctioning installer, creating an invalid connection to the Cisco VPN Adapter. To resolve, follow the steps below.

Open regedit and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CVirtA.

Look for the DisplayName value and change it to remove all leading characters up to and including %;:For x86, the value change from something like @oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter to Cisco Systems VPN Adapter

For x64, the value would change from something like @oem8.inf,%CVirtA_D  ...
by lunarg on April 4th 2013, at 10:19

A complete list of firmware updates of all Intel-based Macs can be found here, together with download links:

http://support.apple.com/kb/ht1237

by lunarg on April 3rd 2013, at 10:15
Currently, vCenter Server 5.1 is not supported on Windows Server 2012. Trying to install usually results in several errors, but they can be resolved with some workarounds and things to consider. This post is a gathering of (some of) those things.

First of, be sure to install .NET 3.5 using the Server Manager. It can be found as a feature. The installation delivered in the vCenter installation cannot be installed.

It's best to install the required components (SSO and Inventory Service) separately to ensure the installation of the different components goes smoothly. You will have to type in and remember the SSO passwords though.

Upon installation of the vCenter Server, it will insta  ...
by lunarg on April 2nd 2013, at 13:01
The Windows Recovery console allows you to boot into a CLI which you can use to resolve issues when Windows no longer boots. Normally, you would start the console from the installation CD/DVD, but you can also install it so the installation media is no longer required. Instead, you get an additional option in the boot menu where you can select it.

To install it, insert the installation media, open up a command prompt and run these:

x:cd \i386winnt32.exe /cmdcons

This will install the recovery console. If you get an error about a too new version, you may have to slipstream the latest service pack into your installation media. You can also run the installer from a local path (i.e. copy t  ...
by lunarg on March 29th 2013, at 12:08
By default, Azure blocks all access to your SQL Azure database, unless you specifically add firewall rules for your IP. In some cases you may need access from any IP in the world (e.g. when you want to use Remote Desktop Manager through Azure and require access from any IP). In this case, you have to adjust the firewall so access from all IP's are allowed. Here's how.

Warning
Allowing public access to your SQL database effectively opens up access from anywhere, increasing the risk of unauthorized access. Do not use this with in a production environment, or with sensitive data. Change the login and password to your database to something very complex.
In case of Remote Desktop Manager, enable  ...
by lunarg on March 28th 2013, at 14:15

You can change the delimiter of a for-loop by changing the value of the global variable $IFS. By default this is set to a space.

For example, if you want the delimiter to be a new line, set it like so:

IFS=$'n'
by lunarg on March 27th 2013, at 16:31
Occassionally, Windows 7 has a tendency to automatically create an excessive amount of various tunnel adapters, ranging from isatap, 6to4 and Teredo. The result is a slowdown during startup because of all the interfaces, and ifconfig's output gets cluttered.

You can manually remove the interfaces through Device Manager. Start it up (run devmgmt.msc), then turn on hidden devices:



Under Network adapters, you'll find the whole list of adapters, starting with Microsoft 6to4 Adapter or Microsoft ISATAP Adapter, followed by a number. You can manually delete ("uninstall") all but the unnumbered adapters.

There are also ways to automatically uninstall these adapters, which is recommen  ...
by lunarg on March 25th 2013, at 12:54

When attempting to send and receive e-mail in Outlook 2010, you may get the error:

Error
Outlook data file cannot be accessed (0x8004010F)

This occurs when the Outlook profile is somehow corrupted.

You can attempt to resolve the issue by re-setting the delivery location in your Accounts, but sometimes this does not work, and the delivery location remains unset. In this case, you have to create a new Outlook profile, recreate your e-mail accounts in it, set the delivery location and reopen any other Outlook data files.

by lunarg on March 22nd 2013, at 14:42

Since a recent update of OSX, there's an issue with the Java-plugin not being active, even though Java Control Panel says it is. This is because in Safari the plugin is still set to inactive.

To resolve, surf with Safari to www.java.com/nl/download/testjava.jsp. You see the Java website with in the center the notification that the plugin is not active. Click on the text to re-active the plugin.

by lunarg on March 22nd 2013, at 14:36
If you've lost the password to the Trend Micro OfficeScan web console, you can attempt to reset it to something known by editing a certain file using notepad.

Find the file C:\Program Files\Trend Micro\Officescan\PCCSRV\Private\ofcserver.ini. Open it with notepad and look for the parameter master_pwd. Change its value so the parameter reads:

master_pwd="!CRYPT!523F7DC2E525044E2800FCDEA7E5D78B70C0A4165387060525E3EE66D5D2D2F460EA361E712B5F871FD473C7A6C"

Using this hash changes the root password to trendmicro. Restart the OfficeScan Master service (via Services) to apply the new password.

With newer versions (10.0), you may also have to edit the file C:\Program Files\Trend Micro\O  ...
by lunarg on March 22nd 2013, at 12:25

If you don't know the password of your Trend Micro OfficeScan client, you can still do the uninstallation by changing a value in the registry.

  1. As an elevated user, start up regedit.
  2. Navigate to the key HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorp\CurrentVersion\Misc.
  3. Find the value Allow Uninstall and set it to 1.

You should be able to uninstall the client without a password prompt.

by lunarg on March 20th 2013, at 11:52

Almost forgot about these, and as I've never posted their links before, there they are:

  • XPize is a GUI enhancer for XP
  • Vize is a GUI enhancer for Vista

Both run on the same engine. These tools can almost completely change the appearance and visual styles of XP and Vista.

by lunarg on March 20th 2013, at 10:20

I found it a bit hard to find the download link for KBC Online for Business, so here it is:

https://www.kbc.be/site/~N/~KBC/~/-BZLL4YI/~-BZP5TP7

by lunarg on March 20th 2013, at 09:34

Starting from Windows 7, there's a folder %systemroot%\WinSxS which is part of the Windows Side-by-Side system. Incidentally, this folder can become quite large, usually because installing updates or new applications often installs new versions of components in the WinSxS folder while keeping the old versions. There is a way to clean up these old versions by running the command:

dism /online /cleanup-image /spsuperseded

Additionally you can also use the disk cleanup tool to remove old service pack backup files.

showing all posts