Sharing Resources in WindowsXP

written by: Amanda Fitzperich; article published: year 2006, month 11;



In: Categories » Computers and technology » Microsoft OS family » Sharing Resources in WindowsXP

After your network is working, each computer can share selected resourcesthat is to say, folders and printers. The purpose of sharing is to make these folders and printers available to other computers, where they look and act exactly like folders on your own hard drive and printers connected to your own computer. This tutorial briefly describes how to make resources available to other computers on the network.

Sharing Folders and Drives

By default, on a workgroup network Windows XP automatically shares the "My Documents" folder in the All Users profile folder; this is the folder that is listed as "Shared Documents" in My Computer. In some cases this may be sufficient. To make a file available to other users, simply drag it to the Shared Documents folder on your computer, and other users will be able to locate it on the network and read or copy it.

You can share other folders as well. To do so, locate the folder in Windows Explorer, right-click it and select Sharing. If you have Simple File Sharing enabled, a dialog box will appear.

Check Share This Folder On The Network and enter a share name, a name of up to 14 characters with no punctuation characters other than the underscore (_) or hyphen.

On an XP Professional computer on a workgroup network with Simple File Sharing enabled, or on a Windows XP Home Edition computer, you will see a check box labeled Allow Network Users to Change My Files. If you do not check it, network users can view and copy the files, but they cannot modify or delete them.

On an XP Professional computer with Simple File Sharing disabled, or on a domain network, the Sharing tab appears

In this case, permissions to read and write files can be controlled on a per-user or per-group basis by clicking the Permissions button. These permissions work as additional restrictions to any imposed by NTFS file security, if the folder is on a drive formatted with NTFS.

For example, if the sharing permissions grant read/write access to Everyone, the file will still be protected by whatever per-user permissions are assigned to the file; a network user will simply have the same rights to the file that he or she would have if seated right at the computer. If the sharing permissions give Everyone just Read access, users will be able to read files if the NTFS permissions let them, but in any case no network user will be able to modify or delete files.

From the command line, you can share a folder or drive with the command

net share sharename=drive:\fullpath  
For example,
net share music=c:\musicfiles  
or
net share cddrive=d:\ 

and can cancel a share with the command

net share sharename /delete  

Note

You can prevent a share from being displayed when other users browse the network by adding a dollar sign ($) to the share name. For example, the share name secret$ will not appear in the My Network Places display. This won't deter a motivated hacker, but it does discourage casual browsing. To use a resource that's been hidden this way, you have to explicitly use its name. For example you can open \\computername\sharename$ in Windows Explorer or you can map a network drive to this network path.


Note

Administrators may be used to using the built-in whole-drive shares that are automatically created for each disk drive on a Windows NT/2000/XP computer, for example, C$. However, these shares are only available to Computer Administrator users. You cannot reach these "admin" shares on a Windows XP computer that has Simple File Sharing enabled because all network access takes place using the Guest user account.


You can also share entire drives by viewing and right-clicking the drive icon in My Computer. This is a great way to make a DVD-ROM, CD-ROM, floppy disk, or other disk available to all users on a network. In the case of DVD and CD drives, you will be able to read but not write to these disks.

Sharing Printers

You can share any printer that is controlled by your computer. This includes printers directly cabled to your computer, and printers driven using LPR or other direct network protocols.

To enable printer sharing, do the following:

1.
Choose Start and view the Printers and Faxes folder.

2.
Right-click the printer icon and choose Sharing, or select Properties and then select the Sharing tab.

3.
Select Share This Printer, and enter a network name for the printer
4.
If your network has only Windows XP/2000 computers, click OK, and you're finished. Other network users can now use the shared printer.

Otherwise, continue to the next section to add extra printer drivers for other operating systems.

Installing Extra Printer Drivers

If you have computers running other versions of Windows or other CPU types, you can load the appropriate printer drivers for those operating systems now, and network users will receive them automatically when they connect to your printer. This step is optional, but it's the friendly thing to do.

View the Sharing tab in your printer's Properties dialog box, and select the Additional Drivers button. Windows displays a list of supported operating systems and CPU types. (By the way, "Intel" refers to any Intel or compatible chips like those made by AMD or VIA/Cyrix.)

Check the boxes for operating systems you want to support, and click OK. Windows then goes through these one by one and asks for the appropriate driver disks. You can find these drivers on the original installation disks for the alternative operating system, or often on disks provided with the printer, which might contain support for many operating systems on the same disk.

When installed, the alternative drivers are sequestered in your Windows folder and delivered to users of the other operating systems when they elect to use the networked printer.

Setting Printer Permissions

If you're on a domain network or have chosen to disable Simple File Sharing, you can control access to your shared printers with three security attributes that can be assigned to users or groups:

Permission Lets User or Group
Print Send output to the printer
Manage Printers Change printer configuration settings, and share or unshare a printer
Manage Documents Cancel or suspend other users' print jobs

You can use the Security tab in the printer's Properties dialog box to alter the groups and users assigned each of these permissions. The CREATOR OWNER name applies to the user who submitted a given print job.

You probably don't have to change the default permission settings unless you want to limit use of the printer by outside users in a domain environment only. In this case, delete Everyone, and add specific groups with Print permission.

Notifying Users When Printing Is Complete

You can have Windows send a pop-up message to remote users when print jobs they send to your printer have completed. By default, this feature is turned off when you install Windows XP.

To enable remote user notification, do the following:

1.
Open the Printers and Faxes window.

2.
Choose File, Server Properties.

3.
Select the Advanced tab.

4.
Check Notify When Remote Documents Are Printed.

5.
If users on your network tend to use more than one computer at a time, check Notify Computer, Not User, When Remote Documents Are Printed. This option sends the notification to the computer where the print job originated rather than to the user who submitted the print job.

6.
Click OK.

With remote notification enabled, when a print job has completed, a notification pops up on the sender's desktop. No message is sent if the print job is canceled, however.

Sharing Fax Modems and Other Devices

The software provided with Windows does not permit you to share a data modem, fax modem, scanner, or other input/output device over your network. You may find it as annoying as I do that the Windows Fax service is built to provide shared fax sending and receiving for a network, but the sharing capability is disabled in Windows XP.

If you want to be able to send faxes through a single phone line from several networked computers, the Windows Fax service on Windows 2000 Server or Windows Server 2003 can be shared. You can also purchase a third-party fax sharing program such as Symantec WinFax.

Shared scanners are a more complex matter. Some high-end printer/scanners have network capability built in. But this may not really be necessary. Because a scanner will have to be connected to one of your computers anyway, and you will need to stand there to put pages into the scanner, you can simply save the scans to a network shared folder, and later pick up the files from another computer.

Avoiding Firewall Issues

If youfind that you cannot access shared folders or printers on another network computer, or if other users cannot access resources that are shared by your computer, it's possible that Windows Firewall or a third-party firewall is interfering. You may need to make a configuration change in order to let file and printer sharing work. However, in doing so, you must be very careful not to make your computer more accessible than absolutely necessary.

Use this checklist to enable file and printer sharing on both the computer that is sharing resources and the computer that is attempting to use them.

  • Be sure that you have run the Network Setup Wizard at least once. File and Printer sharing are silently disabled until you do so.

  • If the computer is running Windows XP Service Pack 2 or later, be sure that the Windows Firewall service is not blocking you. Open the Control Panel, and open Windows Firewall. On the General tab, the Firewall should be On, and Don't Allow Exceptions should not be checked. On the Exceptions tab, be sure that File and Printer Sharing are checked.

  • If you are using a third-party firewall service such as Norton Internet Security, be sure that this firewall is also configured to permit Windows File and Printer Sharing between computers on your subnet. The exact method for doing this varies from one product to another, but most have a fairly easy and explicit way to enable Windows File and Printer sharing.

In general you will not be able to safely share files and printers between computers that are not on the same network subnet; that is, directly connected on a network that is controlled by a single router.

legal disclaimer

1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service

Useful tools and features

Translate this article to...    Send this article to you or to a friend

Link to this article from your page   
If you like this article (tutorial), please link to it from your web page using the information above. Linking to this page, this is the only way to help us improve our service, the same time providing your visitors with a way to improve their online experience.

related articles

1. How to make your PC Available for Remote Desktop Connection
To use Remote Desktop to reach your computer from the Internet, both the computer and your Internet connection must always be up and running. In addition, you must be able to make connections from the outside world to your computer, so there are additional requirements: If you use dial-up Internet service, you'll need someone at home to establish the connection before you can connect to your computer. If you use cable or DSL Internet service, you must either have a static IP address ass...

2. How to Update DirectX ~ Advantages
Although most Windows applications place fairly low demands on the display system, putting up fairly static displays and updating them relatively infrequently, interactive games and video displays are very graphics intensive. Game players pay big bucks for fps, or frames per second, which is a measure of how fast the hardware and software can generate new images as the scene changes and objects move. Under about 30fps, the image flickers and motion is noticeably jerky. Beyond 30fps, faster updates aren't noticeable, and the e...

3. Using Simple File Sharing in Windows
Although most home users are typically happy letting anyone at any computer read or modify any file, business users need to restrict access to files with payroll, personnel, and proprietary information. Windows XP and its predecessors, Windows NT and Windows 2000, were primarily designed for business use, so they require usernames and passwords for identification, and have a security system that lets computer owners restrict access to sensitive files on a user-by-user and file-by-file basis on each computer. Unfortunate...

4. The Evolution of Microsoft Windows ~ The Windows 9x Family
By the mid-1990s, processor power had increased and memory prices had decreased dramatically since Windows' original release. The Internet had also sprung onto the world stage, from an academic tool to an instrument of global communication and commerce. (You may recall that Windows 3.1 did not even include support for the TCP/IP network protocol used on the Internetyou had to purchase it from a third-party vendor.) Users' expectations likewise had grown with computers' capabilities, and desktop publishing, graphics editing, and...

5. How to install Windows and Installation Types
Deciding on the type of installation to perform is dictated by many factors, such as the following: Is there an operating system currently installed? If so, do you want to preserve settings and configurations, or start from scratch? Will the installation be performed interactively or remotely? How many computers are to be installed at a single time? Is your network arranged in a domain model using Active Directory? These are ...

6. How to adjust Text Icons and Window Element Sizes
If you find the items on the screen difficult to read or see, you can either lower the screen resolution, which makes everything larger but blurrier, or ask Windows to make the elements themselves larger while keeping a crisper, high screen resolution. There are two ways you can do this. Here's the first procedure: 1. Right-click the Desktop and select Properties. 2. Save the current screen settings so if you're unhappy with the results, you can back the changes out. Select the Themes tab, click Save As, and enter ...

7. DOS Versions
Let's take a look at the actual nuts and bolts that constituted each version of DOS. DOS 1.x PC DOS 1.0 was introduced along with the IBM PC on August 12, 1981, and supported only single-sided 5.25-inch drives. Floppy disks were formatted using 8 sectors per track (one side, 40 tracks) resulting in a capacity of only 160KB when formatted. There was no support for hard disks at all, which were generally quite rare for personal computers at the time. DOS was a text-based operating system, hence there was no graphi...

8. How to Back Up and Restore the Windows Registry
Before diving into Registry modifications, I'll talk about backing them up. Every computer book I've seen stresses these facts: 1. There is no Undo key in the Registry Editor. 2. Improper changes to the Registry can keep Windows from booting, or can make subsystems fail to work....