−Given that Windows Server 2008 is a ''server'' operating system is not surprising that a primary function of this operating system is to serve files to users on other systems on a network. The primary focus of this chapter, therefore, is the sharing of files and folders on Windows Server 2008.
+Given that Windows Server 2008 is a ''server'' operating system it is not surprising that a primary function of this operating system is to serve files to users on other systems on a network. The primary focus of this chapter, therefore, is the sharing of files and folders on Windows Server 2008.
== Standard and Public File Sharing ==
== Standard and Public File Sharing ==
−Having specified which users will have access to the folder the step is to enable the sharing of the folder, specify ''share permissions'' and configure a ''Share Name'' by which the folder will be referenced and accessed. In addition caching of shared files can be configured. Caching allows users to maintain local copies of shared files so that they can be accessed ''off-line'' (for example when the server hosting the files is not available to the user's local system). With caching configured, local copies of shared files are stored on the user's local system so that they can be accessed without a connection to the server. When a connection is re-established, any changes made to the local copy of the file are syncronized with the original copy on the server.
+Having specified which users will have access to the folder the next step is to enable the sharing of the folder, specify ''share permissions'' and configure a ''Share Name'' by which the folder will be referenced and accessed. In addition caching of shared files can be configured. Caching allows users to maintain local copies of shared files so that they can be accessed ''off-line'' (for example when the server hosting the files is not available to the user's local system). With caching configured, local copies of shared files are stored on the user's local system so that they can be accessed without a connection to the server. When a connection is re-established, any changes made to the local copy of the file are synchronized with the original copy on the server.
To configure these settings, click on the ''Advanced Sharing'' button to display the following dialog:
To configure these settings, click on the ''Advanced Sharing'' button to display the following dialog:
−In this dialog, set the ''Share this folder'' to enable the sharing of the folder. Once this has been selected the ''Share name'' field and associated button will activate enabling a share name to be entered. By default the name of the folder being shared will be displayed, although this may be changed to another name if desired. If the number of concurrent users accessing a shared folder is of concern, modify the number of simultaneous users accordingly. Enter optional comments about the share before clicking on ''Caching'' to configure the ''off-line'' file settings. This will invoke the ''Offline Settings'' dialog where a number of options are available including allowing each user to specify which files they would like to be able to access off-line, only having files that user's actually access available off-line and disabling off-line sharing all together:
+In this dialog, set the ''Share this folder'' option to enable the sharing of the folder. Once this has been selected the ''Share name'' field and associated button will activate enabling a share name to be entered. By default the name of the folder being shared will be displayed, although this may be changed to another name if desired. If the number of concurrent users accessing a shared folder is of concern, modify the number of simultaneous users accordingly. Enter optional comments about the share before clicking on ''Caching'' to configure the ''off-line'' file settings. This will invoke the ''Offline Settings'' dialog where a number of options are available including allowing each user to specify which files they would like to be able to access off-line, only having files that users actually access available off-line and disabling off-line sharing all together:
== Creating Shared Folders on Remote Servers with Computer Management ==
== Creating Shared Folders on Remote Servers with Computer Management ==
−Windows Explorer provides an excellent mechanism for configuring shares on the local system. This approach falls a little short in terms of convenience, however, when it is necessary to configure shares on a remote server. Fortunately Windows Server 2008 addresses this need by allowing shares to be configured from the ''Computer Management'' tool. One point to note is that while this section will focus on the remote configuration of file shares, the steps outlined here may equally be used to share files on a local server. In fact, the ''Create A Shared Folder Wizard'' can be invoked on a local machine either from ''Computer Management'' or by entering '''shrpubw''' at the command prompt or in a Run dialog.
+Windows Explorer provides an excellent mechanism for configuring shares on the local system. This approach falls a little short in terms of convenience, however, when it is necessary to configure shares on a remote server. Fortunately Windows Server 2008 addresses this need by allowing shares to be configured from the ''Computer Management'' tool. One point to note is that while this section will focus on the remote configuration of file shares, the steps outlined here may equally be used to share files on a local server. In fact, the ''Create a Shared Folder Wizard'' can be invoked on a local machine either from ''Computer Management'' or by entering '''shrpubw''' at the command prompt or in a Run dialog.
After starting Computer Management on the local system, right click on ''Computer Management'' in the left panel tree and select ''Connect to another computer...'' In the resulting dialog box either enter the name of the remote computer or click on ''Browse'' and then ''Advanced...'' to search the network or domain for the remote system. Once a connection has been established to the remote server the Computer Management interface will refresh and the ''Computer Management'' link in the tree will also display the name of the selected remote server.
After starting Computer Management on the local system, right click on ''Computer Management'' in the left panel tree and select ''Connect to another computer...'' In the resulting dialog box either enter the name of the remote computer or click on ''Browse'' and then ''Advanced...'' to search the network or domain for the remote system. Once a connection has been established to the remote server the Computer Management interface will refresh and the ''Computer Management'' link in the tree will also display the name of the selected remote server.
== Creating Hidden Shares ==
== Creating Hidden Shares ==
Exception encountered, of type "Error"
[cd270185] /index.php?diff=7144&oldid=7110&title=Configuring_Windows_Server_2008_File_Sharing Error from line 434 of /var/www/techotopia/includes/diff/DairikiDiff.php: Call to undefined function each()
Backtrace:
#0 /var/www/techotopia/includes/diff/DairikiDiff.php(544): DiffEngine->diag()
#1 /var/www/techotopia/includes/diff/DairikiDiff.php(344): DiffEngine->compareSeq()
#2 /var/www/techotopia/includes/diff/DairikiDiff.php(227): DiffEngine->diffLocal()
#3 /var/www/techotopia/includes/diff/DairikiDiff.php(721): DiffEngine->diff()
#4 /var/www/techotopia/includes/diff/DairikiDiff.php(859): Diff->__construct()
#5 /var/www/techotopia/includes/diff/DairikiDiff.php(980): MappedDiff->__construct()
#6 /var/www/techotopia/includes/diff/TableDiffFormatter.php(194): WordLevelDiff->__construct()
#7 /var/www/techotopia/includes/diff/DiffFormatter.php(140): TableDiffFormatter->changed()
#8 /var/www/techotopia/includes/diff/DiffFormatter.php(82): DiffFormatter->block()
#9 /var/www/techotopia/includes/diff/DifferenceEngine.php(881): DiffFormatter->format()
#10 /var/www/techotopia/includes/diff/DifferenceEngine.php(797): DifferenceEngine->generateTextDiffBody()
#11 /var/www/techotopia/includes/diff/DifferenceEngine.php(728): DifferenceEngine->generateContentDiffBody()
#12 /var/www/techotopia/includes/diff/DifferenceEngine.php(662): DifferenceEngine->getDiffBody()
#13 /var/www/techotopia/includes/diff/DifferenceEngine.php(632): DifferenceEngine->getDiff()
#14 /var/www/techotopia/includes/diff/DifferenceEngine.php(453): DifferenceEngine->showDiff()
#15 /var/www/techotopia/includes/page/Article.php(797): DifferenceEngine->showDiffPage()
#16 /var/www/techotopia/includes/page/Article.php(508): Article->showDiffPage()
#17 /var/www/techotopia/includes/actions/ViewAction.php(44): Article->view()
#18 /var/www/techotopia/includes/MediaWiki.php(490): ViewAction->show()
#19 /var/www/techotopia/includes/MediaWiki.php(287): MediaWiki->performAction()
#20 /var/www/techotopia/includes/MediaWiki.php(714): MediaWiki->performRequest()
#21 /var/www/techotopia/includes/MediaWiki.php(508): MediaWiki->main()
#22 /var/www/techotopia/index.php(41): MediaWiki->run()
#23 {main}