Category Archives: Windows

Fix: Can’t connect to printer error 0x0000000a

I encountered the following error after I re-installed a computer from XP to Windows 7. After the installation I went to install a shared printer from another Windows XP and I Get the error “Cant' connect to printer error 0x0000000a“.

To fix this simply:

Open Services.msc
Stop “Print Spool” service
Wait for about 20 seconds
Start the “Print Spool” service
Try to add the printer again

There you have it, Swish it’s fixed.


Fix: InetPub Folder consuming a lot of storage on Windows Server SBS 2011

The other day I was having a problem with a lot of space being consumed in the C Drive on a Windows 2008 SBS or Windows 2011 SBS version. I have noticed that the InetPub log files were taking more than 50GB of space. Now, there is an automatic way to delete these log and have a breath of fresh space. You can either use the below script to run it manually or set it up in a Scheduled task. This will stop the services and clear the logs… Swish, there it’s fixed. Enjoy.

NET STOP "TSGateway"
Forfiles.exe /P "C:\inetpub\logs\LogFiles\W3SVC1" /M *.log /D -5 /C "Cmd.exe /C del @path"


Fix: Cisco VPN Client failed to enable virtual adapter on Windows 8

Yep, Cisco VPN Client didn’t work first time but there is a small registry update to make it work. The installation worked fine but after I setup an entry it will tell me “Failed to enable Virtual Adapter” during “Securing communication channel”. There is a small registry fix for this.

Open Regedit and go to:


and modify the value of DisplayName key with the following

For 64 bit – Cisco Systems VPN Adapter for 64-bit Windows
For 32 bit – Cisco Systems VPN Adapter

Close Regedit and try to connect again… Voila’!


Fix: The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer

I went past an issue where I would have a flooding Error messages on the Event Viewer saying:

The description for Event ID ( 204 ) in Source ( IIDS ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: PurgeThread.cpp, 83, OS reports error:The system cannot find the path specified.

The Event ID and Source is irrelevant and it may vary depending on the service reporting the issue. In my case the issue was being reported by the Internet Imaging Document Server (IIDS).

This usually happens when there is a service which is installed and started, but not configured. In my case it was a service that could be stopped.

This could also happen with 3rd party applications where it was installed with a user account and the service account doesn’t get permission to pull the info about the required DLLs like that.

Hope it helps someone


Fix: Windows service stuck in Stopping state

Many times you try to stop a service and it remains in “stopping” state and you cannot do anything to make it stop. There is a way to kill a serive by running the following command.

Taskkill /F /FI "SERVICES eq Service_name"

In the Service_name you have to enter the name. To find the name you will need to open services.msc and right-click on the service and select properties. You will need to copy the name on the Service Name field under the General tab.


Fix: Windows SBS 2011 consuming a lot of space on C

With Windows SBS 2011, at one point I have noticed that it was consuming a lot of storage and only 10GB was left out of a 150GB partition. After further investigation I have noted that the INETPUB was consuming around 90GB. Actually the log files of the W3SVC1 doesn’t remove old log files.

You can either delete or crop these logs. A quick solution is to stop the World Wide Web service and delete the folder, but if you want to keep the recent logs, you can create a sheduled task which does the following.

Stop Service
Delete files in the W3SV1 folder which are older than 5 days

Script below

NET STOP "TSGateway"
Forfiles.exe /P "C:\inetpub\logs\LogFiles\W3SVC1" /M *.log /D -5 /C "Cmd.exe /C del @path"
NET STOP "TSGateway"


How To: Setup auto login on domain with Windows 7 and XP

For setting up the auto-login on domain with a Windows 7 and Windows XP machine is an ideal function when having point-of-sales starting on their own and you want the sales persons to find it ready to work in the morning.

So, to do this you would need to browse your registry by running the REGEDIT.EXE and under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon you would need to update the following…


As the DefaultUsernName enter the username of the user example myuser
On the AutoAdminLogon, if it is set to 0, replace it with 1
On DefaultDomainName, enter the domain name example mydomain

Now, usually the DefaultPassword doesn’t exist, so you have to create it. So, right click and select New and then String Value. As the name of the string enter DefaultPassword (Mind the Case) and then update it by entering the password of your user.

Restart PC and Vuala!


How to: Disable Windows Firewall on client computer in SBS 2008 onwards domains

When having an SBS or Windows Server environment, where on SBS it’s by default to enable Domain Firewall settings, you might need to disable them. So, to do this you would need to look at 3 GPO’s from the Group Policy Management.

These can be found under the Forest/Domains/Your Domain/Group Policy Objects.

The policies you should check are:
Windows SBS Client – Windows 7 and Vista Policy
Windows SBS Client – Windows XP Policy
Windows SBS Client Policy

These are the items to edit:

Computer Configuration | Policies | Administrative Templates | Network | Network Connections | Windows Firewall | Domain Profile | Protect All Network connections

This is enabled by default to restrict users from changing firewall rules and settings. If you want to disable this for users who are not in the domain use:

Computer Configuration | Policies | Administrative Templates | Network | Network Connections | Windows Firewall | Standard Profile | Protect All Network connections

Computer Configuration | Policies | Administrative Templates | Network | Network Connections | Prohibit use of Internet Connection Firewall on your DNS domain network

There are some other options the policies mentioned above, it’s to your descretion to what you want to disable or enable.

Note to run the command GPUPDATE /FORCE on the server and then on the PC’s to make the changes immediate. Ideal for testing, or else wait for 90 minutes for the changes to make effect.


How to: Disable WSUS on Windows 2003 SBS

Sometimes when you don’t need a service on your server, especially on SBS it’s a bit tricky since everything is embedded in the installation. One may notice that you might have a repository of more than 10Gb without knowing and here’s how to stop it. For Windows 2003 server, you might do the following to have a clean stop of the WSUS (Windows Server Update Services) service.

Stop the Update Service from the services.msc or from Administrative Tools/Services
Also set the service as disabled.

Also you might look into the Group Policies for your OU (Organizational Unit) so that the PC’s are not pointing to the server for Windows Updates. Open the Group Policy Management from the Administrative tools or just run gpedit.msc and check if the update service location is set. Remove if specified.

Computer Config -> Administrative Templates -> Windows Components -> Windows Updates -> Specify intranet microsoft update service location

This should stop the WSUS service from running. Also you might either remove or archive the files in the WSUS repository to free up some space.


How To: Configure Windows Server Backup for Hyper-V VSS Writer

To setup the Windows Server Backup in Windows 2008 upwards, to support the Hyper-V VSS writer, one must follow the following steps.

After installing the Windows Server Backup and it’s Command-line tools under the Features section in the Server Manager, follow the follwing steps:

Open Command Line or type CMD.EXE
Type VSSADMIN List Writer >C:\vss.txt

Note: This will save a text file with all the VSS information.

Open the VSS.TXT and find the Writer GUID from the section Microsoft Hyper-V VSS Writer
Copy the GUID to the clipboard
Open Registry Manager by running REGEDIT.EXE
Find the following key:

HKEY_LOCAL_MACHINE\Microsoft\Windows NT\CurrentVersion

If there isn’t a key WindowsServerBackup, create it. Then under it, create another key Application Support. Under that, creat a new key with the GUID of the VSS Writer we copied from the text file.

An example of the GUID is 11234CD5-6AEF-5A6C-8A25-FD15C8AD43D4

After you have created this key with the GUID, Create a new value under it calling it Hyper-V VSS Writer. Make sure it’s of type REGSV using a String Value.

Some notes when it comes to restore:

When affecting restores make sure you select application based restore.
You will not be able to restore a file from a Virtual Machine, you will have to restore all the machine.