Problem 2: shared printer and FTP

Source: Internet
Author: User

Today, the coexistence of win7 and WINXP in a small LAN Operating System has become quite common (just as WINXP and Win98 had been co-existent For A While ). Therefore, setting resource sharing between Windows XP and Windows XP will take a long time. I encountered two examples today. After I checked a lot of information on the Internet, many of them were just a few words and could not solve the actual problem. After carefully searching, I found two posts and solved my problem smoothly. Here, I want to remember it. It is also a reference for more people.

1. Access WINXP shared printers through win7

In many online posts, one is to open the Guest account, and the other is to add a printer with a network port. I have tried both of them. The previous one does not work at all. WINXP machines can be seen in win7, but not their shared printers. The last one, although the WINXP printer was successfully added, the printed files were all blank paper, and updating the printer driver did not work.

Solution "http://developer.hi.baidu.com/#/detail/16063072"

Now we will post the solution steps below for your reference.

Win7:

1. services enabled
Right-click my computer or computer-Manage-services and applicationsProgram, Open the service
Or use win + R to open the run --- enter services. MSC and press enter to open the service settings

Enable the following services:

Server
Workstation
Computer Browser
DHCP Client
Remote Procedure Call
Remote Procedure Call (RPC) Locator
DNS Client
Function discovery resource publication
UPnP Device Host
SSDP Discovery
Tip/IP netbioshelper

2. win7 and WINXP servers should be in a working group.

3. Enable network sharing and file sharing

Under Change sharing option for different network configuration files, select enable network discovery and enable file and printer sharing"

Under "allow programs to communicate through Windows Firewall", select "network discovery" and "file and printer sharing ". Select "Family/work (dedicated)" and "public"

4. the Guest account should be enabled in win7

WINXP:

1. First enable "file and printer sharing"

Note: The "network monitor driver protocol" in "protocol" under "Microsoft Network files and printer sharing" under "Local Connection Properties" must also be installed

2. Start-run-services. MSC-start "server service ".
3. Group Policy settings:
Start Menu run-secpol. MSC-Security Settings-Local Policy
User Rights Assignment-"Deny access to this computer from the network" attribute, delete "all user groups" in it ". The key point is to delete the "guest" account.

Security Options:
Network Access: Anonymous Enumeration of SAM Accounts is not allowed. The attribute is "disabled ".
Network Access: anonymous enumeration of SAM accounts and shares is not allowed. The attribute is disabled ".
Network Access: The Sharing and security model of the Local Account. The attribute is changed to "classic-Local User Authentication ".
4. User Management --- start a guest user
5. Restart the WINXP computer.

 

After performing the above steps, I found WINXP's shared printer in windows. Double-click it and install the printer driver as prompted, the network printer is successfully set as the default printer. And can be used normally.

 

Ii. Windows 7 does not disable FTP settings under the Firewall

The FTP settings under win7 described on the network will end with a sentence, if the access is not normal, shut down the "win7 firewall. After the Windows 7 firewall is disabled, other computers can access FTP normally. Once the Windows 7 firewall is enabled, FTP cannot be accessed normally.

The problem lies in the firewall.

AverageArticleTo enable ftp to pass the firewall. However, in actual use, this is not feasible.

I have mentioned the RESOLUTION METHOD IN http://www.downcc.com/tech/info/672245.html.

If the Windows Firewall communication is used in the allowed program, you must check the ftpserver and inetinfo.exe ".

First find this file

Through the local search by the author, there are two locations on the local machine:

C: \ windows \ winsxs \ x86_microsoft-windows-iis-metabase_31bf3856ad364e35_6.1.7600.16385_none_39084df88346b717 \ inetinfo.exe

C: \ windows \ winsxs \ x86_microsoft-windows-iis-metabase_31bf3856ad364e35_6.1.7601.17514_none_3b3961c080353ab1 \ inetinfo.exe

Under "allow program communication through Windows Firewall", click "allow another program to run" and click "Browse". Find the two programs above and click "open.

You will find that "Internet Information Services" is included in "allowed programs and functions" and checked.

After the above operations, after the Windows 7 firewall is enabled, other machines can access FTP normally. In fact, win7 FTP is a sub-function under IIS, so IIS must also pass the firewall.

 

The two problems mentioned above are all positive solutions found on numerous web pages and verified and feasible. Text to remember.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.