showing posts tagged with 'windows'
by lunarg 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  ...
by lunarg 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  ...
by lunarg 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  ...
by lunarg on April 24th 2013, at 10:18
When attempting to open (not save) an attachment in Outlook, you may get an error similar to:

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  ...
by lunarg 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
by lunarg 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  ...
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 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:

     PASSWORD = 'new-password' 
     OLD_PASSWORD = 'old-password';
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 /

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:

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

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 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:

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: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:


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 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 posts tagged with 'windows'
« August 2017»
« Debating Windows vs. Linux vs. Mac is pointless: they all have their merits and flaws, and it ultimately comes to down to personal preference. »