Informations, tips and technics.

Wierd samba access issue with Windows.

I found this one funny (sort of…).

A user who use a Windows 2003 terminal server session reported be having a problem access a samba share after the server, which is part of a domain, asking him to change his password (controlled by a GPO). He changed his password, access his session and then he tried to access his samba share using

 Start /cmd / \\sambaserver\<username>.

Windows then prompted him a user name and password. But whatever username and password he entered, it was rejected.

The funny thing is that the event viewer did not report any issue and there are no entries in the samba logs at all, no errors or anything. Even when the user logged out and logged in again, the same behaviour occurred.


We finally discover that some shortcuts displayed in My Network Placesworked well on the samba server without asking any username and password. We saw also that a network drive was disconnected.

  • We finally resolve the issue by using  start / cmd and using net use
  • This will list all network resources currently used by the user on the system.
  • we have done some cleanup using net use <entry> -DELETE for each item displayed here.

Then the user have been able to go the samba share without any problem.

Hope this help!


Filed under: Windows, , , , , , , ,

My Network Places in Windows hangs when you access or delete an item

On a Windows 2003 server which act as a termial server, a user report me that when he access My Network Places and try to access or delete one of the entry listed there, his session hangs there is no option that to kill is session. Note that it can also occurs in Windows XP.

Well, I have looking for a fix for this issue but can’t find something really interesting until I do a simple task: clean all the entries listed there! But how we can acheive this if the computer hangs? Well, just do this:

Clearing Existing Shortcuts from My Network Places

  1. Click Start, point to Settings, and then click Taskbar & Start Menu.
  2. Click the Advanced tab.
  3. Click Clear to remove records of recently used documents, programs, and Web sites.
  4. Click OK.

That’s all!

Some things you want to know about My Network Places. The items listed here are displayed when you access some files one a network share. So if you want your shorcuts back, simply access/open a file on the share on the network.

Computers are listed here when Windows search over the network for some shares also, they disappear when it can’t access them after 48h.

Ref : Ms KB Article

Filed under: Windows, , ,

Catalyst 8.1 are out with AGP patch

A good news for all of us that have a AGP card and DirectX issues with the 4 or 5 previous drivers from AMD. The Catalyst 8.1 drivers are out and the fix for AGP card also (the web page that is fix is unsupported which I found funny but well, if they works…).

I will test them as soon as I can and try to find how they manage to fix the AGP issue.

The links:

Note: The fix is for Windows XP and Windows Vista. For 64 bits versions or to access the general driver download section, go here. 

Filed under: Windows, , , , ,

Tool to querying TCP and UDP ports in Windows

On the post about NTP, I have to do some testing to be sure that my Windows server can contact the NTP server on the port 123. NTP use UDP to communicate and here, telnet cannot help you.

But there is a tool from Microsoft called PortQry:

Download PortQry2 from Microsoft 

 and there is also a GUI for this tool.

Download PortQryUI from Microsoft

I found those tools very usefull and can be added to your IT’ swiss army knife.

Filed under: Windows, , ,

Copy/paste in Windows cmd: quick edit mode

Even If I have worked with Windows XP or Windows 2000-2003, there is one thing that anoying me a lot: thecopy and paste operations in the dos prompt (cmd).

Usually, you have to go to the right clik menu to select and then copy some text in your DOS windows to paste some lines elsewhere.

Well, there is an easier way to do a copy paste operation in dos under Windows, the quick edit mode!

You can activate it in the right click menu of the current command prompt window.

Just go to the properties menu and then check the option QuikEdit Mode 

When enable, to simply have to select your text with your mouse pointer and then hit Enter to copy it. Then you can paste it everywhere you want using CTRL+V or the menu of your application.

Simple but I forgot this option exists …

Filed under: Windows, , , ,