WinCC TIA Archiving ServerNAS DOC v2.0 en
WinCC TIA Archiving ServerNAS DOC v2.0 en
WinCC TIA Archiving ServerNAS DOC v2.0 en
Windows Server or
NAS Hard Disk
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG ("Siemens"). They are
non-binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens AG 2021 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with Industrial Security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
Table of Contents
Legal information ..................................................................................................... 2
1 Data Storage on a Windows Server Operating System and File
Server (NAS) ................................................................................................... 4
2 User Administration and Sharing .................................................................. 5
2.1 Concept for Folders, Folder shares, and User Permissions ................ 5
2.2 Example ............................................................................................ 6
2.3 Creating Groups and Users ............................................................... 7
2.4 Checking and Revising Groups/Users .............................................. 12
2.5 Sharing Folders ............................................................................... 14
2.6 Necessary Settings for Folder Security ............................................ 21
2.7 Note on the Windows 10 Operating System ..................................... 28
3 User Login on a Panel .................................................................................. 30
3.1 Background Information ................................................................... 30
3.2 Login and Path Information .............................................................. 31
3.2.1 Save Login Data Permanently.......................................................... 31
3.2.2 Calling the Login Dialog Manually .................................................... 32
3.2.3 System Function to Reboot the Panel .............................................. 33
3.2.4 Configuration: Open EXCEL/WORD File via a Network .................... 34
3.2.5 Configuration: Specifying the Archiving Path .................................... 34
3.3 Common Questions on the Subject of "Logging into the Panel" ........ 35
© Siemens AG 2021 All rights reserved
4 Appendix....................................................................................................... 36
4.1 Service and support ......................................................................... 36
4.2 Related literature ............................................................................. 37
4.3 Document history............................................................................. 37
Note All settings (incl. images) have been made on a Windows 10 operating system.
However, they can also be applied to other operating systems without difficulty.
Figure 1-1
1
NAS hard disk (Network Attached Storage, storage integrated in the network)
A NAS station basically consists of one or more hard drives. Folder and network shares can be
created via an integrated, manufacturer-specific operating system, usually with a web user
interface. The shares can be accessed via the network.
2.2 Example
The following example shows you how a request can look in practice. This shows
how possible access restrictions and approvals might look.
Starting point
There are three file folders to be accessed over the network.
Main folder: Drive root directory (Data (D:))
Subfolder 1: 00_ProductionLine_01
Subfolder 2: 00_Machine_01
File folder: 01_ProductionData
02_MachineDocuments
03_OperatingManuals
Figure 2-1
© Siemens AG 2021 All rights reserved
The file folders are provided with different user permissions. For example, only the
production manager should have access to the folder "01_ProductionData".
Permissions overview
Table 2-1
Folder name User 1 User 2 User 3
Production Maintenance System operator
manager personnel
01_ProductionData yes No No
02_MachineDocuments yes yes No
03_OperatingManuals yes yes yes
(read only)
2
© Siemens AG 2021 All rights reserved
2. "Administration" view
No. Action
3. "Computer Management" View
Table 2-3
No. Action
1. Create new user
No. Action
2. New User Window
• Enter a new username in the "Username" field and fill in the remaining fields.
– In this example.
Username: User01
Password: 111
2. • In the "New group" window, enter a group name in the "Group name" field.
– Then click the "Add" button (1).
• In the "Select user" window, click "Advanced" (2).
• Click "Search now" (3) in the following window.
– In the "Search results" list, use the left mouse button to select the user
you want to assign to this group. In this example, "User01". (By holding
down the "Ctrl" key, you can select several users at the same time).
– Confirm the entry with "OK".
3
2
No. Action
3. Create more groups
Table 2-5
No. Action
1. User
Right-click a user. You can use the context menu to access/change various
functions such as the password or the user's properties.
The "Member of" menu, for example, allows you to check which group(s) the user
is assigned to. Furthermore, you can also use this to assign the user to another
group. To do this, click the "Add" button.
Note
"User02" is assigned to the group "Maintenance personnel" and the group
"Users". The group "Users" is usually added automatically by the operating
system. This must be taken into account in the "Security" menu (see Section
2.6).
© Siemens AG 2021 All rights reserved
No. Action
2. Groups
Right-click a group.
You can use the context menu to execute various functions and to call up/change
the properties of the group.
You can use the "Properties" menu to control which users are assigned to this
group, for example. Furthermore, you can also assign additional users to the
group. To do this, click the "Add" button.
To close the window, press the "OK" button.
© Siemens AG 2021 All rights reserved
Note Observe the notes on the operating system "Windows 10, Version 1709" (see
Section 2.7, Note on the Windows 10 Operating System).
Introduction
To access a PC's folder over a network, that folder must have "Sharing" enabled. It
does not matter on which "drive" the folder to be shared is located or if it is located
in one or more "subfolders".
If the folder to be shared contains further subfolders or data, for example, these are
also shared.
Example:
D:Folder 1
Folder 1.1
Folder 1.2
Folder 1.3
© Siemens AG 2021 All rights reserved
If you enable sharing for "Folder 1.1", then you have also enabled access to
"Folder 1.2" and "Folder 1.3", as well as to the contents of these folders.
Table 2-6
No. Action
1. Open the folder properties
Select the file folder you want to share and open the folder's properties.
No. Action
2. Share
3
© Siemens AG 2021 All rights reserved
No. Action
3. Sharing Folders
2
© Siemens AG 2021 All rights reserved
No. Action
5. Add permissions
For this example, the group "Everyone" is not needed and is, therefore, deleted.
No. Action
7. Select user/group
• All stored groups and users are listed in the "Search results" list. Select the
group that should have the permission for the folder.
In this example it is the group "Production Manager".
• Confirm the entry with "OK".
© Siemens AG 2021 All rights reserved
• To add another group, click the "Advanced…" button and repeat step 7.
• To complete the process, click "OK".
No. Action
9. Set permissions
In the "Group or username" field, all the "groups/users" you have selected are
listed.
• Select one "Group" at a time and assign the associated permissions.
• Complete your entry with "OK".
Note
You can assign different permissions to each "group".
1
© Siemens AG 2021 All rights reserved
No. Action
10. Finished view of the "network path"
View of the shared network path. The complete share name in this case
is \\HH-PC\01_ProductionData
This completes the settings for sharing the folder. The settings under the
"Security" menu follow.
Note
As described at the beginning, there is no "drive letter" and no name of a
"subfolder" in the name of the network path.
© Siemens AG 2021 All rights reserved
Note Then check the settings under the menu item "Security" in the "Windows folder".
For this, see Section 2.6.
A user has been assigned the "Full Control" permission under the "Sharing" menu.
If no permissions have been assigned to this user under the Security menu, then
the user will not be able to access the folder.
Figure 2-2
1
© Siemens AG 2021 All rights reserved
What options are there to ensure that only specified users have access to
this folder?
1. Computer Management
– In Computer Management, you can control the properties of the groups
listed here and, for example, remove all users from this group who do not
belong to it.
2. Create new groups or usernames
– The easiest way to do this is to remove the system default groups from this
folder and assign your own groups to the folder.
Advantage:
The default settings in the Computer Management are not changed. This
means that you always have the option of reverting to the "old status" (e.g.,
if you create a new folder, it will always have the default setting specified
by the system).
Select the file folder for which you want to adjust the group membership. To do
this, open the properties of the folder.
© Siemens AG 2021 All rights reserved
2. "Security" menu
No. Action
3. Extended security conditions
4.
• Deactivate the option "Inheritable permissions…" by clicking on the selected
option (1).
A security message appears. Read the message.
• Click the "Remove" button (2).
No. Action
5. • There are now no entries in the "Authorization entries" field. Click the
"Add…" button to add a new permission.
Note
In this example, the option "All permissions for…" has been activated (1).
6. Select group
© Siemens AG 2021 All rights reserved
No. Action
7. Permissions settings
You can now use this window to define the individual permissions in detail. In this
case, the assigned group "Production Manager" has full control of the folder.
Confirm the entry with "OK":
© Siemens AG 2021 All rights reserved
Note
In this example, the group "Administrators" has also been added
No. Action
9. View of folder properties
Remedy
To continue accessing the shared file folders on a PC, you have the following
options.
CAUTION Enabling the "SMB v1.0 protocol" in Windows creates a potential security
vulnerability in your system.
Before you re-enable the "SMB v1.0 protocol", please refer to the Microsoft
support pages to find out what effects enabling the "SMB v1.0 protocol"
may have on your installation.
Instructions
1. Open the Settings app from the Windows Start bar.
2. Open "Apps" (1).
The "Apps & Features" page opens (2).
3. From the "Apps & Features" page, open the function
"Program & Features" (3). The "Uninstall or change programs" window opens.
Note
If "Program and Features" is not visible, you can widen the window to show the
feature.
Figure 2-3
3
2
1
© Siemens AG 2021 All rights reserved
4. Select the function "Activate or deactivate Windows features" via the page
"Uninstall or change program" (4). The "Windows Features" window opens.
5. In the "Windows Features" window, activate the options (5).
"SMB Direct".
"SMB 1.0/CIFS File sharing Support".
6. Confirm the entry with "OK".
Note The changes will only take effect after a restart of the computer.
This completes the settings related to "SMB protocol". Access to the shared folders
is possible again.
Figure 2-4
on the Panel.
• You can call the logon dialog directly from Runtime using a system function.
Note that only one user can be specified for the network shares. If you use multiple
network shares, then this user must have permission for all network shares.
Further information can be found in Section 3.2.1.
View Menu item to permanently store the login data on the Panel
1. Call up the device settings of the Panel.
2. Click the "Network ID" icon.
3. Enter the login data in the window.
4. Confirm the entry with "OK".
Figure 3-1
© Siemens AG 2021 All rights reserved
For the changes to the Panel to take effect, perform a "Reboot". To do this, press
the "Reboot" button on the Panel under the "OP > Device" menu item.
Figure 3-3
For example, if you try to access a network drive and you do not have the login
data stored on the Panel, a login dialog will automatically appear on the Panel.
If, for example, you close the login dialog by mistake without completing the entry,
you can call the login dialog manually using a system function.
© Siemens AG 2021 All rights reserved
Configuration view
Figure 3-5
Program parameters
Program name: CTLPNL.exe
Program parameters: cplmain.cpl,2
If, for example, you have specified a network drive as the archiving path, then the
© Siemens AG 2021 All rights reserved
user data must be stored before the Panel Runtime is started. If this is not the
case, a login dialog appears automatically.
A restart (reboot) of the Panel is required so that archiving can start after
successful login.
Configure a button for this purpose. Via the system function "StartProgram", you
can call the "OP Properties" directly in Runtime on the
Operator Panels via the program parameter "op_apl.cpl" and execute the "Reboot
function" under the tab "Device".
Configuration view
Figure 3-6
Program parameters
Program name: CTLPNL.exe
Program parameters: op_apl.cpl
The Comfort Panels have an integrated EXCEL/WORD Viewer. With the Viewer,
you can display Word documents created with WORD 2010, for example, via the
Panel.
To ensure that only authorized persons have access to the document, protect the
call of the function, e.g., via the "Security" button (user administration of the Panel).
You can call the EXCEL/WORD Viewer directly from Runtime of the Operator
Panel via the system function "StartProgram".
Configuration view
Figure 3-7
© Siemens AG 2021 All rights reserved
Program parameters
Program name: \\ComputerName\ShareName\NameFile.docx
\\hh-pc\01_ProductionData\01_PData.docx
If you specify a network drive for archiving, the archiving path is created up as
follows.
\\Computer name\Share name
Why does the login dialog appear even though the login data is stored?
Ensure that the system time is identical between the Panel and the connected
PLC. To do this, perform a time synchronization.
4 Appendix
4.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
support.industry.siemens.com
Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts.
Please send queries to Technical Support via Web form:
support.industry.siemens.com/cs/my/src
© Siemens AG 2021 All rights reserved
Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
support.industry.siemens.com/cs/sc
Table 4-2
Version Date Change
V1.0 03/2016 First version
V1.2 01/2019 Note on operating system Windows 10, version 1709.
V2.0 03/2021 Section 2.7 Note about SIMATIC HMI+ Manager.
Chapter 3.2.1 Adapted ("Save Registry "; "Save Files").