Posts Tagged Windows 7

Share data and files in the wireless personal area network (WPAN) created by Windows 7 machines

In the last post, I described how to enable and create a virtual wireless access point (SoftAP) in Windows 7 machines. See details through the following link:

This time, let us look at how to share data and files with in the WPAN. I will use the Windows 7 machine with the SoftAP and an iPod touch as an example to demonstrate the method.

After the SoftAP on the Windows machine is started, iPod touch can connect to the Windows machine through the SoftAP. First, we should know the ip addresses of the machines. Check the iPod touch’s IP address through its setting->wireless application. For demonstration, we say the IP address is So the Windows machine must have an IP address of

To access on the Widows 7 machine with SoftAP, you need create a valid user account and share folder with the user or install a FTP server and configure it and allow others to access it. FileZilla provides both FTP client and FTP server. You can install both application on the windows machine.

To access the data in the iPod touch, you have a lot of choices. I found that TIOD is a really good app that provides many excellent functions,  such as FTP server and FTP client. It also provides function to directly access Windows shared folder or Samba shared folders on Linux machines. Please find more detail at


Tags: , , , , , , , , ,

Set a program run as administrator permanently in Windows 7

There are times that you need run an application by using administrator’s privilege in Windows. To do that, the simplest way is right-clicking the application and choose “Run as administrator” in the context menu. However, it is not convenient that you want run application as administrator all the times. Here provide a couple of tips to help you set an application run as administrator permanently.

1) Application

Right click an executable application and a context menu popup. Clcik “Properties” in the menu, a dialog similar to the following will show up. Switch to “Compatibility” tab and select “Run the program as an administrator” at the bottom of the dialog window. Click “Apply” button. You are good to go.

2) Shortcut

Right-click a shortcut, a similar dialog window will show up. In the “Shortcut” tab, click “Advance” button, another dialog will popup.

In this simple window, select “Run as administrator” and click “Ok”. You are set to go.

Through the above to method, you can set a program or a shortcut always run as administrator. That same your time and make life easier.

Enjoy the tip.


Tags: , , , , ,

Create a wireless access point in Windows 7 machines

The MSDN page states “On Windows 7 and later, the operating system installs a virtual device if a Hosted Network capable wireless adapter is present on the machine. This virtual device normally shows up in the “Network Connections Folder” as ‘Wireless Network Connection 2’ with a Device Name of ‘Microsoft Virtual WiFi Miniport adapter’ if the computer has a single wireless network adapter. This virtual device is used exclusively for performing software access point (SoftAP) connections and is not present in the list returned by the WlanEnumInterfaces function. The lifetime of this virtual device is tied to the physical wireless adapter. If the physical wireless adapter is disabled, this virtual device will be removed as well.”

Netsh is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. Netsh can also save a configuration script in a text file for archival purposes or to help you configure other servers. The following describes how to use it to configure the SoftAP in Windows 7.

Run cmd.exe as administrator and enter the following command

netsh wlan set hostednetwork mode = allow
netsh wlan set hostednetwork ssid = ap1
netsh wlan set hostednetwork key = test9919 keyUsage = persisitent

Or created a text file like, hostednetwork and put the above commands in the file. Right click the file and choose run as administrator. After these commands successfully run, you will have new wireless connection in the network connection manager, “Wireless network connection 2” with a device name as Microsoft Virtual WiFi Miniport Adapter. This command creates the required “Microsoft Virtual WiFi Miniport adapter” and also set up your hostednetwork.

Next step is setup Internet Connection Sharing or Network Bridging for this newly found adapter. It is pretty easy to do this. Select a connection that you want to share the internet connection, then right click it, choose “Properties”. In the properties windows, there is a “sharing” tab. Switch to the sharing tab, check “Allow other network users to connect through this computer’s internet connection” and select “Wireless Network Connection 2” in the “Home network connection” dropdown list. Now, click “OK” to save the setting. Your internet sharing is all set.

What left is to start the hosted network. The command to start/stop the hostednetwork is “netsh wlan start|stop hostednetwork”. The command needs to be run as adminstrator. Let us create desktop shortcuts for the commands. Right-click the blank space on the desktop and choose “New”->”Shortcut” in the context menu. A new shortcut will be created on the desktop. Select it and right-click the icon, in the context menu choose Properties. In “target” box of the “Shortcut” tab, enter the following command: C:\Windows\System32\netsh.exe wlan start hostednetwork and save the file. To use this shortcut to start the hostednetwork is simple. Right-click it and choose “Run as administrator”. After the command runs, you should have the brand new hostednetwork running in your Windows 7.

Create a shortcut to stop the hostednetwork. Let us the newly created desktop shortcut as the start point. Create a copy of the desktop shortcut in the last step. Change the name to “Stop the hosted network” and right-click the icon. Modify the target of the shortcut to “C:\Windows\System32\netsh.exe wlan stop hostednetwork“. To stop the hosted network, right-click the icon and choose “run as administrator”. Your hosted network should be stopped after the command successfully run.

To see the Hosted Network details, including the MAC addresses of connected users, enter the following:

netsh wlan show hostednetwork

To change the WPA2-PSK key, you can enter the following:

netsh wlan refresh hostednetwork YourNewNetworkPassword


Tags: , , , , ,

A good remote desktop application – TeamViewer

At home, my computer systems are Windows 7 Home Premium. I really love remote desktop and use this a lot at work. Unfortunately, the Home Premium edition does not provide Remote Desktop Host. You only can use Windows 7 Home Edition as a client to connect to other machines with Windows 7 Professional Edition installed. That is big limitation to me. How to get around this barrier? One solution is to use Dameware Mini Remote Control. I explained how to use it in Windows 7 in the following article.

Install Dameware Mini Remote Control to Windows 7

This works but there are a lot of moments that you will feel frustrated. Not mention about the installation. It is a nightmare to use this one. I kept hunting about this. Finally I found a good one, called TeamViewer. Before I tested it I did not have ideas about how good it is.

I downloaded the application, which is very small. Then installed it to my Windows XP and 7 machines. It only tool me a few minutes to finish installation and setting. Then I started to test it by connection my computers. It works like a charm. The connection interface looks simple and nice.

To connect to another computer with TeamViewer installed is pretty easy. All you need is the Partner ID and a permanent password. There are three options to connect to the host computer: 1) Remote Control, 2) File Transfer and 3) VPN. I did test the first two options. Remote control interface is good enough. One flaw of the interface is the windows size is fixed not adjustable, like the Windows Remote Desktop. That could be a problem when you connect to a computer with a much larger screen than your computer has. In that case, the screen will become blurry and hard to read. The File Transfer is really nice. the interface looks like a FTP client. However, the transfer speed is not you want. So it will only work for files with very small size. Keep this in mind when you do this remotely through internet.

Another nice thing TeamViewer has is its cross-OS functionality. I installed TeamViewer on my iPod and I can connect to my computer and control it even it is not as convenient as I sit in front of my computer. Next I will try the Linux systems.

New discovery: if you do not want to remember the PartnerID, which is hard to remember, you can use your LAN address. To do this, you have to change the default settings in Options. In the General tab under the Connection in local network (via IP address), for incoming LAN connections, select “Accept”.  Click “Ok” and then you are good to go.


Tags: , , , , , , , , , , , , , ,

Find and install more fonts in Windows 7

When I design a logo I need some neat fonts to decorate it. I searched the internet and found a very nice website that has tons of free fonts for download – Font Download.

To use them in Windows 7 is pretty easy. All font file are packed in RAR file. After you download a font file, just unpack it. The font files are named in Chinese Characters. If you computer cannot see these Chinese characters, you have to following the instruction in Display and input Chinese characters in non-Chinese Windows system to install East Asian fonts first.

Next step is easy, too. Copy the unpacked font files to C:\Windows\Fonts folder. You will see the font name immediately. If not, you have unlock the files by right clicking the file and selecting Property page to do it.


Tags: , , ,