Backtrack:  
 
showing posts tagged with 'software'
edited by on June 6th 2013, at 11:00

When a backup is still indicated to run but isn't really (e.g. after a server crash or media failure), you can try to stop the backup by running the stop command using wbadmin (from an elevated command prompt):

wbadmin stop job

However, this sometimes does not work and the command hangs indefinitely. In this case, you can still stop the backup by stopping the Block Level Backup Engine Service service. If the service does not stop, use Task Manager to kill the process wbengine.exe, which does the same thing.

edited by on April 29th 2013, at 14:19
When migrating from McAfee to another antivirus, you need to uninstall McAfee Enterprise. When you have not installed it using GPO, it may become quite the task if you have a lot of clients to uninstall the product from. If you have a Windows Domain (optionally using GPO), you can do the uninstall via a logon script.

The installation can be performed by manually uninstalling the product using msiexec. This initiates a proper uninstallation procedure, and will result in a silent uninstall of McAfee Enterprise. Depending on the version you're using, adjust the GUID you see here:

VirusScan Enterprise 8.8:
msiexec /x {CE15D1B6-19B6-4D4D-8F43-CF5D2C3356FF} REMOVE=ALL REBOOT=R /q



VirusScan En  ...
edited by on April 29th 2013, at 09:52
Perhaps a silly post, but since the removal of the start menu in Windows 8, there are no more direct ways to shut down your computer. Right now, you have to go through the Charms menu → Settings → Power, and then choose to shut down or restart your computer, making it more of a hassle to turn it off (even worse than pressing Start to stop your computer).
I've gathered several methods and workaround to make the shutdown/restart options a bit more accessible. These are listed in this article. A lot of things I got from other posts on the internet, others I figured out myself.

Like I said earlier, the current way to exit Windows.

From your desktop, call up the Charms menu; that's th  ...
edited by on April 26th 2013, at 09:44
By default, the Start Screen only shows pinned applications. In order to see all applications, there's no direct way to do so. You can start typing something in the Start Screen, then clearing the search box, will provide you with access to the entire start menu, but it's not very convenient. An easier method would be to just have direct access to the "all apps" menu by using a shortcut (or tile if you will).

To do so, create a shortcut (or tile) pointing to:

%windir%\explorer.exe shell:::{2559a1f8-21d7-11d4-bdaf-00c04f60b9f0}

Place it anywhere you want. When hitting it, it will automatically bring you to the All apps menu. Pinning it to your task bar "sort" of simulat  ...
edited by on April 24th 2013, at 10:18
When attempting to open (not save) an attachment in Outlook, you may get an error similar to:

Message
Can't create file.

This is because Outlook's Temp folder is full. Outlook uses a temporary folder for storing attachments prior to opening them, similar to Internet Explorer does. Unfortunately, this folder can become quite large, causing these kind of error messages. Additionally, there's a 100-file limit on attachments which have the same name: e.g. when opening 100 times an attachment with the same name, opening the 101th attachment will fail with the above error.

The only solution is to clean the folder. There are some manual ways to do it, but I found a tool on the internet that does  ...
edited by on April 23rd 2013, at 15:00

To enable text wrapping inside a <pre> tag, enable this in CSS:

pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
edited by on April 19th 2013, at 13:19

The (rather verbose) logs for the Windows SBS 2008 and 2011 POP3 Connector are located in the folder:

C:\Program Files\Windows Small Business Server\Logs\pop3connector
edited by on April 19th 2013, at 10:23
To make your custom cmdlets (functions) available in your PowerShell sessions, there are a few methods.

To do a one-time import of functions in your current session, store the functions in a PS1-file and save it somewhere. Then, in your session run the following:

. "path-to-file"

Notice the dot and a space behind it. This method, called "dotting" does a one-time import in the current session. This is useful for when you have functions that you don't use often, and don't want them to be available at all times.

An alternative method is to save the functions as a PSM1-file (extension .psm1) to create a module file, then use Import-Module to import your functions.

Import  ...
edited by 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
edited by 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);
edited by 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  ...
edited by 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
edited by 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  ...
edited by 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  ...
edited by 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  ...
edited by 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  ...
edited by 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  ...
edited by 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'
edited by 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  ...
showing posts tagged with 'software'