Shares Networking

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Shares/Networking

1. Windows File Share

1. What is a share? How to get the full list of shares on a server? Show three different methods.
1. Share: A file shared via a network
2. PS get-smbshare
3. Fsmgmt.msc
4. PS net share
2. How to access a shared folder located on another computer? Show in your lab.
3. How to give a user access to a share? What is ACL? Show in your lab.

1. Right-click on the share -> Properties -> Sharing tab -> click Share -> Add the user -> set
permissions -> Done
2. ACL: Extended access control lists

1.
2.
4. What is effective access? Show in your lab.
1. Effective Access: The access that a user has when they attempt to access an object. Can be
explicit or inherited.

2.

5. What is a hidden share? Create one in your lab.


1. Hidden Share: A network share on a Microsoft network that is not visible when viewing
another computer's shares. However, it is still accessible if the name of the hidden share is
known.
6. What are administrative shares? List them all.
1. ADMIN$, C$, X$, FAX$, IPC$, PRINT$
7. How to access a non-shared folder located on another machine without RDP session?
1. IP-ADDRESS-OF-TARGET\ADMIN$
8. What is a mount point?
1. Mount Point: A directory or file at which a new file system, directory, or file is made
accessible

2. DFS

1. What is DFS? Types of DFS


1. Distributed File System: A file system that is distributed on multiple file servers or multiple
locations
2. DFS Namespace & DFS Replication
2. Namespace, the structure of DFS
1. Provide users with a centralized folder namespace through which to access and store files.
You can host the underlying file shares on different servers and in different sites to improve
availability and performance.
3. How to create a DFS? Try in your lab
1. AD -> Tools -> DFS management -> New Namespace -> Follow the wizard
4. DFS Replication
1. Enables you to efficiently replicate folders (including those referred to by a DFS namespace
path) across multiple servers and sites. DFS Replication uses a compression algorithm known
as remote differential compression (RDC). RDC detects changes to the data in a file, and it
enables DFS Replication to replicate only the changed file blocks instead of the entire file.

3. Remote access

1. What is an IP address? How to check IP of a local computer via GUI and via cmd?
1. IP Address: A unique address that identifies a device on the internet or a local network.
2. GUI: Settings -> Network & Internet -> View network properties
3. CMD ipconfig
2. What is localhost?
1. Localhost: The local computer a program is running on
3. What is DNS? Open in your lab. Create a reverse-DNS zone.
1. Domain Name System (DNS): Translates IP addresses to domain names which browsers use
to load internet pages.
4. How to get the IP of a remote computer if you have its name?
1. CMD Ping <hostname>
2. CMD Nslookup <hostname>
5. How to get the computer name by IP?
1. CMD Nslookup <ip address>
6. Hosts file
1. Host file: Used by operating systems to map a connection between an IP address and
domain names before going to domain name servers.
2. %WinDir%\System32\Drivers\Etc

4. Ports and protocols

1. What is a port? What is a protocol?


1. Port: A virtual point where network connections start and end
2. Protocol: A set of rules for formatting and processing data
2. How to check if a specific port is open on a local computer? on a remote computer?
1. Local: CMD Netstat -na
2. Remote: PS TNC <ip address/host name> -p <port number>
3. What is RPC? Which ports it uses when connecting to other computers?
1. Remote Procedure Call (RPC): Enables users to work with remote procedures as if the
procedures were local
2. Ports: 135, 1024-5000, 49152-65535^2
4. What is TCP, what is UDP, what is the difference between these?
1. Transmission Control Protocol: A standard that defines how to establish and maintain a
network conversation by which applications can exchange data
2. User Datagram Protocol: A communications protocol that is primarily used to establish low-
latency and loss-tolerating connections between applications on the internet
3. TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol
5. What is SMB/CIFS?
1. Server Message Block (SMB): Allows computers to read and write files to a remote host
over a local area network
2. Common Internet File System (CIFS): A particular implementation of the Server Message
Block protocol, created by Microsoft

5. Windows Firewall

1. Scope
1. Only allows traffic from trusted IP addresses
2. Inbound and Outbound rules
1. Inbound: Filter traffic passing from the network to the local computer based on the filtering
conditions specified in the rule.
2. Outbound: Filter traffic passing from the local computer to the network based on the
filtering conditions specified in the rule

6. UDL file. Create one, test and think about use cases.
1. Universal Data Link (UDL): A simple text file that consists of a database connection string with
particular attributes or properties

You might also like