Skip to main content

Posts

Showing posts with the label Windows

Linux rdesktop looped to remote desktop another Windows how to send secure attention sequence

Connecting from Windows Server 2008 R2 from Linux is made easy using rdesktop. But if you want to connect from your W2k8 box to another Windows box, as part of Windows security you are requested to send CTRL+ALT+END. Doing so does not work. So what's the key sequence to send secure attention sequence ? It is Control+Alt+End :(

Flush/Clear Windows host name to IP

Generally, Windows machine's host name to IP resolution is managed by NetBIOS. This is specially true for machines in a workgroup environment. There are cases where the NetBIOS name resolution on the local machine can get out of sync against other machines IP address and host name. This can happen when the machine has been  turned off for a few hours and  the IP getting reused. Since file sharing and any other network related activities in Windows commonly uses host name then this can get problematic if you need to access network shares. Now to fix this out of sync scenario, run the following command: nbtstat -R This should clear the local name to IP cache.

InstallShield crashing when run from a remote machine using STAF

I have been using STAF/STAX for a while now as a framework on top of software test automation. When we started moving some of our tests in Windows Vista noticed that there have been cases where uninstallation of the software under test is crashing. I thought it was some component not playing well with Windows Vista but I when I tried to perform the uninstallation sequence manually everything was fine and dandy. So I started digging around and I found out that in Windows Vista, the following command may fail. C:\>staf remotemachine process start command "C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\1150\INTEL3~1\IDriver.exe /M^{1CD6500F-DE1E-44AC-A279-4C85247A9A85^}" Poking around even more and I finally found a workaround, to get the above command working in Vista, do: C:\>staf remotemachine process start shell command "C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\1150\INTEL3~1\IDriver.exe /M^{1CD6500F-DE1E-44AC-A279-4C85247A9A85^}" Notice the use of shell to ma

Add items to Vista Send To Menu

This is the Microsoft Windows Vista Send To: Adding item to Sent To menu in Vista is easy, just create an item (the item can be a shortcut, a small application, a folder etc..). The location of this folder is in: %APPDATA%\Microsoft\Windows\SendTo You can type this in Run dialog (Window+R), in Start Search box, in Windows Explorer locator bar. Another shortcut to this is : Shell:sendto As before you can type this in Run Dialog(Window+R) or Windows Search bar ~ts

Windows Server 2008 64bit crashing randomly after memory upgrade

I have VMWare Server 2.0 Beta x running on Windows Server 2008 Std 64bit. At only 2GB I can only run one virtual machine. So the machine was upgraded to 8GB! I didn't notice much performance improvement in the host machine but I can start kicking in four virtual machines. But......... The big but.. was that Windows Server 2008 just crashes randomly. Sometimes just a few minutes.. booom it crashes. Digging a little further I was able to simulate the crash pretty easily. Remote the machine's console session (/admin switch in mstsc.exe) then login back to the host machine. So I was thinking/asking myself, was it because of the new 8GB memory upgrade? It must be, but is it the hardware or software that does not like the upgrade. Trying to eliminate variables, I booted the machine into System Rescue CD then run memtest for two hours. No dice here. So it must not be the new memory being faulty. Digging more, I found out that there was a video error logged in Control Panel>

Enable command line completion using TAB char for Windows 2000 Professional

Command line completion is almost always expected of terminals on Linux systems. On Windows 2000 Professional, command line completion can be enabled by changing the following registry entry: KEY = HKEY_CURRENT_USER\Software\Microsoft\Command Processor PARAMETER = CompletionChar Change the value from 0 to 9(TAB in HEX).

Logitech QuickCam VC USB driver for Windows XP

We bought a webcam in yard sale, it is a Logitech QuickCam VC model LKD5 part number 1049-640-001. As we all know, most items bought in yard sale does not come with a driver. A quick visit to Logitech shows that they don't provide a driver for Windows XP for this device. Here comes google. After few minutes of surfing I finally found a driver that works for this hardware. Get it from here . If you need to get the driver from the original publisher visit here . Note: don't install any software from Logitech as it may interfere with the functionality of the driver. Just use Yahoo Messenger or MSN Messenger. You should be all set.