Category: Windows

Mar 05

Windows Host Lookup Only work with nslookup

I have struggled with a couple Windows clients and using a DHCP/DNS lookups. Basically I want to use machines(physicals/VM's) on my home network by accessing by their names. Since they all register correctly in the DHCP/DNS device I use I should be able to always use their names which reflect last IP address for it. The goal of course is not to run any additional DHCP or DNS services on my home network. Or result to DYnamic DNS services for each client on my home network. I tend to have a lot of VM's.

In this case I am using a Unify gateway from Ubiquity Networks and it works well. In addition serving DHCP from it does serve me my local DNS for my home network. This works well from Linux but from Windows it does not. In short Windows can find the client name when I use nslookup. But ping(or any other lookup like RDP etc) fails. I tried several things including:
1. Setup Windows client DNS/hostname/IP settings/search domain/registration like it should be.
2. Some googling suggested registry changes and a few other suggestions nothing helpful.
3. Add a domain name to Unify gateway DHCP configuration.

Nothing worked including referencing the client by FQDN. However although not ideal Windows actually does find the client name if you simply add a dot at the end of the short name. For example ping VM1. instead of ping VM1 or ping VM1.localdomain and so forth.

For me this works and I am not going to try and understand what is braindead in name resolution in Windows I can just dda a dot at the end of short names for my use cases.

Comments Off on Windows Host Lookup Only work with nslookup
comments

Dec 07

Windows cannot delete folder

I recently had a folder in Windows 7 64-bit that I could not delete.  The message was "cannot find this item".

Although I could see the folder in Linux I still could not delete it.  It was possible to delete the folder from the Windows command prompt and using the Windows short name.

 

Looking at the folder from Linux:

$ ls -l
ls: cannot access ubuntu110.10 : No such file or directory
total 20
drwxrwx--- 1 root vboxsf 4096 Oct 30 20:10 u12.10
?????????? ? ? ? ? ? ubuntu110.10
drwxrwx--- 1 root vboxsf 4096 Nov 3 11:13 Ubuntu_12.04

 

Use dir /x to see short name:


E:\disks>dir /x
 Volume in drive E is DATA
 Volume Serial Number is 1181-C4F1

Directory of E:\disks

12/08/2012 10:18 AM <DIR> .
12/08/2012 10:18 AM <DIR> ..
10/30/2012 07:10 PM <DIR> u12.10
12/08/2012 10:30 AM <DIR> UBUNTU~1.10 ubuntu110.10
...
 0 File(s) 0 bytes
 8 Dir(s) 69,553,127,424 bytes free

 

Remove folder using short name:


E:\disks>rmdir UBUNTU~1.10

Comments Off on Windows cannot delete folder
comments

Nov 06

Windows Update for Microsoft .NET Framework 4 Fails

For quite a while I have not been able to get the Microsoft .NET Framework 4 update to work on a WIndows 7 64bit box. So if you experience the same issue with clients this might be helpful.

In short the fix is:
go to control panel click uninstall programs, find >Net framework 4 client profile file , then click right and do repair file ,install part worked fine right after

Full detail here:
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/windows-7-error-code-66a-cant-install-kb2160841/11b6b2c5-e780-4343-9de5-ffa4619f45c4

Comments Off on Windows Update for Microsoft .NET Framework 4 Fails
comments