Server 2016 and 2012 R2 File Server Resource Manager – add and configure VIDEO TUTORIAL

Server 2016 and 2012 R2 File Server Resource Manager - add and configure VIDEO TUTORIAL

  File Server Resource Manager is a Windows server 2016 and 2012 R2 Role. This role allows us to add fine grained quotas on folders, it allows us to automate windows file tasks e.g. clean up a directory every week etcetera and it also allows us to use file screening where users can be prohibited from adding certain files to folders and a lot more.

Please watch the video to see the above (to translate, click the Subtitle box in the YouTube video and then click Settings and language, as in this picture):

subtitles

 
Transcript (machine generated so it contains errors)
1. 00:00:00:68 / 00:00:06:68 - hello in this video we're going to have
2. 00:00:03:62 / 00:00:10:13 - a very nice look at how to basically add
3. 00:00:06:69 / 00:00:12:05 - the file server resource manager okay
4. 00:00:10:13 / 00:00:15:57 - that comes with in Windows Server 2012
5. 00:00:12:05 / 00:00:18:50 - also 2016 and we're basically going to
6. 00:00:15:57 / 00:00:21:75 - see how to then set up file folders and
7. 00:00:18:51 / 00:00:24:48 - share file screening and then automate a
8. 00:00:21:75 / 00:00:27:50 - number of file tasks and also look at
9. 00:00:24:48 / 00:00:31:56 - how the warnings can be issued and
10. 00:00:27:51 / 00:00:33:48 - notifications etc okay all right so we
11. 00:00:31:55 / 00:00:35:60 - start with server manager which is very
12. 00:00:33:47 / 00:00:37:97 - easy okay click over there click server
13. 00:00:35:60 / 00:00:40:22 - manager that opens up this and then
14. 00:00:37:97 / 00:00:46:34 - we're adding a rolling feature click
15. 00:00:40:22 / 00:00:49:22 - Next ok and that's fine and there we go
16. 00:00:46:35 / 00:00:52:73 - file and storage services this one right
17. 00:00:49:22 / 00:00:54:86 - over here file server resource manager
18. 00:00:52:73 / 00:00:58:94 - ok add additional features that are
19. 00:00:54:86 / 00:01:00:59 - required click Next click Next ok in
20. 00:00:58:94 / 00:01:02:15 - this case we started the destination
21. 00:01:00:60 / 00:01:06:06 - server automatically if required it's
22. 00:01:02:15 / 00:01:08:48 - just um a good shall we say basic
23. 00:01:06:06 / 00:01:10:32 - principle to do this however if your
24. 00:01:08:48 / 00:01:12:62 - server is running mission critical
25. 00:01:10:31 / 00:01:14:09 - systems that cannot be stopped right now
26. 00:01:12:62 / 00:01:20:66 - don't like that
27. 00:01:14:09 / 00:01:25:82 - click install once that gets installed
28. 00:01:20:67 / 00:01:26:43 - we now need to basically manage our file
29. 00:01:25:82 / 00:01:29:51 - server
30. 00:01:26:43 / 00:01:33:29 - ok let's shall we say start with quotas
31. 00:01:29:51 / 00:01:36:98 - ok so let's go to tools file server a
32. 00:01:33:29 / 00:01:39:56 - resource manager ok that brings us to
33. 00:01:36:98 / 00:01:43:50 - this and then basically quota management
34. 00:01:39:56 / 00:01:47:64 - ok and if you click on that you can
35. 00:01:43:50 / 00:01:54:68 - create a quota ok quota pad for example
36. 00:01:47:64 / 00:01:57:03 - we had a new folder created PC desktop
37. 00:01:54:68 / 00:01:59:84 - new folder for example you could have a
38. 00:01:57:03 / 00:02:01:92 - network share anything you know you this
39. 00:01:59:84 / 00:02:04:31 - is just an example ok a simple folder we
40. 00:02:01:92 / 00:02:08:25 - created over here ok create quote on
41. 00:02:04:31 / 00:02:11:48 - path you can basically create the limit
42. 00:02:08:25 / 00:02:13:68 - I get from a template okay or set it
43. 00:02:11:48 / 00:02:16:82 - individually ok let's go
44. 00:02:13:68 / 00:02:19:07 - properties okay this is where you can
45. 00:02:16:82 / 00:02:21:90 - choose how many megabytes kilobytes
46. 00:02:19:07 / 00:02:23:96 - gigabytes terabytes etc you want to have
47. 00:02:21:90 / 00:02:34:68 - the quota for um give a description for
48. 00:02:23:96 / 00:02:36:87 - it okay let's documents okay
49. 00:02:34:68 / 00:02:40:10 - hard quota is basically once the limit
50. 00:02:36:87 / 00:02:40:73 - is reach the user can go pass its soft
51. 00:02:40:10 / 00:02:44:81 - quota
52. 00:02:40:73 / 00:02:47:18 - it just gives warnings okay and then
53. 00:02:44:81 / 00:02:50:69 - actions can be taken based on that okay
54. 00:02:47:18 / 00:02:52:79 - let's do a hard quota okay and that's
55. 00:02:50:69 / 00:02:53:78 - fine if you want to disable a quota you
56. 00:02:52:79 / 00:02:57:54 - just click over there
57. 00:02:53:78 / 00:02:58:34 - that's not Auto apply template nope
58. 00:02:57:53 / 00:03:02:40 - that's fine
59. 00:02:58:34 / 00:03:13:01 - create okay say the custom properties as
60. 00:03:02:40 / 00:03:20:60 - a template template name face quote okay
61. 00:03:13:01 / 00:03:25:16 - that's fine okay create and we have this
62. 00:03:20:60 / 00:03:27:26 - setup so basically if anything went into
63. 00:03:25:16 / 00:03:30:06 - the file that's more than 100 megabytes
64. 00:03:27:26 / 00:03:34:13 - okay let's actually try and simulate
65. 00:03:30:06 / 00:03:36:28 - this okay let's let it quote our
66. 00:03:34:13 / 00:03:42:53 - properties let's make it something
67. 00:03:36:28 / 00:03:45:23 - simple okay let's create one megabyte
68. 00:03:42:53 / 00:03:51:81 - okay so I'll go find a file that's one
69. 00:03:45:23 / 00:04:04:48 - megabyte okay we'll happily just take
70. 00:03:51:81 / 00:04:04:48 - one up from the windows directory okay
71. 00:04:11:03 / 00:04:18:54 - there we go that in itself is four Meg's
72. 00:04:15:87 / 00:04:24:06 - let's try and paste it into our new
73. 00:04:18:54 / 00:04:26:81 - folder there we go
74. 00:04:24:06 / 00:04:29:49 - and we've got the error on that which
75. 00:04:26:81 / 00:04:31:17 - says sorry enough space okay even though
76. 00:04:29:49 / 00:04:34:31 - we have enough space in here because of
77. 00:04:31:17 / 00:04:39:24 - the quota it's being restricted okay
78. 00:04:34:31 / 00:04:47:27 - let's just show you what the soft quota
79. 00:04:39:24 / 00:04:50:55 - would have looked like okay okay so as
80. 00:04:47:27 / 00:04:52:76 - we can see that went through basically
81. 00:04:50:55 / 00:04:54:62 - what we need to do is to ensure that
82. 00:04:52:76 / 00:04:56:69 - we're actually notified of such that
83. 00:04:54:62 / 00:05:01:82 - users are exceeding their quotas or
84. 00:04:56:69 / 00:05:05:55 - whatever okay we need to basically edit
85. 00:05:01:82 / 00:05:07:80 - quota properties certain notification
86. 00:05:05:55 / 00:05:11:43 - threshold okay you can have either have
87. 00:05:07:80 / 00:05:15:15 - an email message gets sent or basically
88. 00:05:11:43 / 00:05:18:18 - the event log gets the message okay all
89. 00:05:15:14 / 00:05:20:33 - right you can actually run a command or
90. 00:05:18:18 / 00:05:22:41 - a script if you have something that you
91. 00:05:20:33 / 00:05:24:62 - might want to run for example basically
92. 00:05:22:41 / 00:05:27:39 - if you're getting close to quarter
93. 00:05:24:62 / 00:05:31:13 - limits run a script that deletes files
94. 00:05:27:38 / 00:05:33:77 - you know a PowerShell script a command
95. 00:05:31:13 / 00:05:36:65 - prompt script that's fine or just
96. 00:05:33:77 / 00:05:39:29 - basically generate a report that's fine
97. 00:05:36:66 / 00:05:41:67 - okay an email message might be nice okay
98. 00:05:39:30 / 00:05:44:75 - send an email to the admin email type it
99. 00:05:41:67 / 00:05:47:28 - in there okay also send an email to the
100. 00:05:44:75 / 00:05:50:57 - user who exceeds the threshold okay and
101. 00:05:47:27 / 00:05:55:22 - you can change the body of the email
102. 00:05:50:57 / 00:05:59:15 - okay so that is what would happen in the
103. 00:05:55:23 / 00:06:00:81 - event of a software be broken hard
104. 00:05:59:16 / 00:06:05:64 - quotas you could also add the same
105. 00:06:00:81 / 00:06:07:29 - events to be generated right so let's
106. 00:06:05:63 / 00:06:10:76 - look at the next topic that we're gonna
107. 00:06:07:29 / 00:06:13:71 - look at file screening which is actually
108. 00:06:10:76 / 00:06:16:39 - quite a good system to use let's have a
109. 00:06:13:70 / 00:06:16:39 - look at that now
110. 00:06:21:56 / 00:06:30:16 - okay so let's have a look at file screen
111. 00:06:25:35 / 00:06:35:55 - okay file screens there we go all right
112. 00:06:30:16 / 00:06:37:34 - create a file screen and we could use
113. 00:06:35:55 / 00:06:43:31 - for example the same thing that we had
114. 00:06:37:35 / 00:06:51:36 - before that's in desktop new folder
115. 00:06:43:31 / 00:06:54:18 - there we go okay all right okay block
116. 00:06:51:36 / 00:06:56:72 - audio and video files okay you could use
117. 00:06:54:18 / 00:06:58:76 - existing templates or for example image
118. 00:06:56:72 / 00:07:03:24 - files okay if you're trying to stop
119. 00:06:58:76 / 00:07:05:02 - shall we say videos mp3's follow them
120. 00:07:03:24 / 00:07:08:12 - that take up a lot of resources and
121. 00:07:05:02 / 00:07:09:62 - space for example you might want to
122. 00:07:08:12 / 00:07:11:25 - block them being added
123. 00:07:09:62 / 00:07:14:12 - it also has copyright issues that you
124. 00:07:11:25 / 00:07:16:88 - might want to think about if you wanna
125. 00:07:14:12 / 00:07:18:89 - come I really really kind of eliminate
126. 00:07:16:88 / 00:07:22:76 - all sorts of kind of things based on
127. 00:07:18:89 / 00:07:24:50 - custom properties okay let's go there
128. 00:07:22:76 / 00:07:27:00 - okay so active screening do not allow
129. 00:07:24:50 / 00:07:28:86 - users to save unauthorized files a
130. 00:07:27:00 / 00:07:30:81 - little bit like our hard and soft coders
131. 00:07:28:86 / 00:07:33:44 - okay fastest reading allow you to save
132. 00:07:30:81 / 00:07:36:20 - files however it's monitored kind of a
133. 00:07:33:44 / 00:07:40:58 - report might be generated etc okay
134. 00:07:36:20 / 00:07:43:13 - create a new group okay file group for
135. 00:07:40:58 / 00:07:45:73 - example starred as it says over here
136. 00:07:43:13 / 00:07:48:99 - just an example okay if you don't want
137. 00:07:45:74 / 00:07:54:26 - people to shall we say save sip phones
138. 00:07:48:99 / 00:07:56:97 - or they had dot exe files you know for
139. 00:07:54:26 / 00:08:00:18 - example dot star dot exe so any file
140. 00:07:56:97 / 00:08:04:74 - name that has an exe extension will not
141. 00:08:00:18 / 00:08:08:72 - be allowed to be saved to that folder
142. 00:08:04:74 / 00:08:13:51 - that we set up okay now at the same time
143. 00:08:08:72 / 00:08:18:24 - okay don't forget this does not prevent
144. 00:08:13:51 / 00:08:23:39 - users from changing the extension of
145. 00:08:18:24 / 00:08:25:01 - their exe file okay and just saving it
146. 00:08:23:39 / 00:08:27:89 - as a different extension and it still
147. 00:08:25:01 / 00:08:30:08 - gets saved to that new folder location
148. 00:08:27:89 / 00:08:32:15 - however what this does is if it has an
149. 00:08:30:08 / 00:08:33:24 - exe it won't allow it to be saved over
150. 00:08:32:15 / 00:08:33:90 - there okay
151. 00:08:33:24 / 00:08:36:22 - but the
152. 00:08:33:90 / 00:08:38:70 - can bypass it but they won't be able to
153. 00:08:36:22 / 00:08:41:49 - kind of like change the name to an exe
154. 00:08:38:71 / 00:08:47:50 - and have an exe on that one
155. 00:08:41:49 / 00:08:49:99 - okay that is executables and I can't
156. 00:08:47:50 / 00:08:51:63 - give it a name all right and then start
157. 00:08:49:99 / 00:08:54:12 - out exe goes over there
158. 00:08:51:63 / 00:08:57:18 - okay my mistake all right there we go
159. 00:08:54:12 / 00:09:02:67 - all right and now we have executables
160. 00:08:57:19 / 00:09:04:60 - okay which we created so then we also
161. 00:09:02:67 / 00:09:07:71 - have the same settings laid before us in
162. 00:09:04:60 / 00:09:10:30 - an email okay to the admin email also
163. 00:09:07:72 / 00:09:13:93 - the body of the message event log could
164. 00:09:10:29 / 00:09:15:90 - be generated okay oops all right because
165. 00:09:13:92 / 00:09:17:91 - we don't have this and TV service
166. 00:09:15:90 / 00:09:20:46 - running so that's that okay
167. 00:09:17:91 / 00:09:24:87 - event log okay basically send it to the
168. 00:09:20:47 / 00:09:26:17 - event log command prompt okay when I
169. 00:09:24:87 / 00:09:28:38 - command a script as mentioned before
170. 00:09:26:16 / 00:09:31:17 - just one little thing to be aware of if
171. 00:09:28:38 / 00:09:36:27 - you have anything running ok command
172. 00:09:31:17 / 00:09:39:42 - scripts etc if you run it as the local
173. 00:09:36:27 / 00:09:40:48 - system it can be quite dangerous okay
174. 00:09:39:42 / 00:09:43:29 - because that's like giving full
175. 00:09:40:48 / 00:09:44:52 - permission to that script to be run so
176. 00:09:43:29 / 00:09:48:25 - for example if someone went in and
177. 00:09:44:52 / 00:09:50:40 - modified that script okay and it was run
178. 00:09:48:25 / 00:09:53:35 - with the highest privileges it could be
179. 00:09:50:40 / 00:09:56:66 - a security issue so just be careful with
180. 00:09:53:35 / 00:09:59:95 - that again reports you have as well okay
181. 00:09:56:66 / 00:10:04:88 - let's just get rid of that okay so
182. 00:09:59:95 / 00:10:07:60 - that's how you do that and then create
183. 00:10:04:88 / 00:10:09:61 - you could create there's a custom
184. 00:10:07:60 / 00:10:12:45 - template okay I'll just save the file
185. 00:10:09:61 / 00:10:16:00 - screen without putting a template okay
186. 00:10:12:45 / 00:10:23:44 - there we go so we have that all right
187. 00:10:16:00 / 00:10:25:80 - now we have explored on exe let's get
188. 00:10:23:44 / 00:10:27:76 - rid of that okay let's try and paste him
189. 00:10:25:80 / 00:10:30:42 - back there we go
190. 00:10:27:75 / 00:10:33:39 - and it's blocked it okay it's not gonna
191. 00:10:30:42 / 00:10:35:64 - happen because it's an exe file okay so
192. 00:10:33:39 / 00:10:39:75 - that's how we can do file screening
193. 00:10:35:64 / 00:10:43:36 - let's have a look at the next option
194. 00:10:39:75 / 00:10:45:86 - which is how to automate certain file
195. 00:10:43:36 / 00:10:49:16 - tasks
196. 00:10:45:86 / 00:10:51:41 - okay now let's look at how to create a
197. 00:10:49:16 / 00:10:54:29 - file management task okay where you can
198. 00:10:51:41 / 00:10:56:72 - basically set up any complex scenario
199. 00:10:54:29 / 00:11:00:56 - based on shall we say how long a file is
200. 00:10:56:73 / 00:11:03:12 - being in a folder or based on shall we
201. 00:11:00:56 / 00:11:07:25 - say just file extensions or whatever
202. 00:11:03:12 / 00:11:07:25 - okay it's up to you and you can combine
203. 00:11:07:81 / 00:11:14:72 - powershell scripts you can also combine
204. 00:11:10:01 / 00:11:16:11 - command batch files okay so what you
205. 00:11:14:73 / 00:11:19:23 - need to do is go into file management
206. 00:11:16:11 / 00:11:20:75 - tasks and create a file management task
207. 00:11:19:23 / 00:11:24:08 - by clicking on that and it'll open up a
208. 00:11:20:75 / 00:11:27:18 - window okay that looks a little bit like
209. 00:11:24:08 / 00:11:29:73 - this okay however we have created one
210. 00:11:27:17 / 00:11:31:62 - already just save some time and in there
211. 00:11:29:73 / 00:11:33:50 - you would type the name of the task name
212. 00:11:31:62 / 00:11:35:94 - that you want to give it okay the scope
213. 00:11:33:50 / 00:11:37:76 - which folders is it applied to we have
214. 00:11:35:94 / 00:11:41:10 - given it the new folder on our desktop
215. 00:11:37:76 / 00:11:43:13 - okay just as an example okay we've been
216. 00:11:41:10 / 00:11:46:49 - brought in the executable which is the
217. 00:11:43:13 / 00:11:49:94 - command prompt okay command dot exe and
218. 00:11:46:49 / 00:11:52:04 - given the arguments in speechmaster lead
219. 00:11:49:94 / 00:11:55:37 - star dot star you could change the star
220. 00:11:52:04 / 00:11:59:78 - board exe start at mp3 okay I'm given
221. 00:11:55:37 / 00:12:01:82 - the the quiett command etc okay now run
222. 00:11:59:78 / 00:12:03:59 - those local system where's local service
223. 00:12:01:82 / 00:12:07:10 - okay make sure if you're running it as
224. 00:12:03:60 / 00:12:10:40 - local system it is actually completely
225. 00:12:07:11 / 00:12:14:18 - locked down that file that's gonna be
226. 00:12:10:40 / 00:12:15:71 - running okay this is an example over
227. 00:12:14:18 / 00:12:17:66 - here so we're just doing a lot okay you
228. 00:12:15:72 / 00:12:22:68 - could have set up conditions okay for
229. 00:12:17:66 / 00:12:25:64 - example if the file has been 10 days old
230. 00:12:22:67 / 00:12:29:93 - or three years old or whatever then do
231. 00:12:25:64 / 00:12:32:63 - the action okay modified last access
232. 00:12:29:93 / 00:12:35:30 - those kind of systems set up a schedule
233. 00:12:32:63 / 00:12:38:10 - okay we had set up a schedule for it to
234. 00:12:35:30 / 00:12:40:22 - operate at 12:00 11:50 okay are the
235. 00:12:38:10 / 00:12:43:47 - weekly or monthly choose a day that work
236. 00:12:40:23 / 00:12:46:76 - run the time etc or run continuous
237. 00:12:43:47 / 00:12:48:99 - basically this is a continuous task then
238. 00:12:46:76 / 00:12:51:12 - so basically if anybody uploads an mp3
239. 00:12:48:99 / 00:12:55:47 - file it'll detect an mp3 file and
240. 00:12:51:12 / 00:12:57:37 - deleted that kind of thing okay so click
241. 00:12:55:47 / 00:13:01:38 - OK alright
242. 00:12:57:37 / 00:13:03:60 - and one thing we have noticed from this
243. 00:13:01:38 / 00:13:08:74 - is because it goes into the task queue
244. 00:13:03:60 / 00:13:12:46 - okay it doesn't often happen effective
245. 00:13:08:74 / 00:13:16:24 - immediat okay so you might think we had
246. 00:13:12:46 / 00:13:19:15 - set it up for 12:11 okay any word happen
247. 00:13:16:24 / 00:13:21:58 - straight at that time okay it's cute and
248. 00:13:19:14 / 00:13:26:50 - it will take place sometime when the
249. 00:13:21:58 / 00:13:28:03 - task scheduler gives it a chance to run
250. 00:13:26:50 / 00:13:29:88 - okay because there's a lot of things
251. 00:13:28:02 / 00:13:33:45 - running in the background as well okay
252. 00:13:29:88 / 00:13:35:50 - however it's there generally you go away
253. 00:13:33:46 / 00:13:39:04 - come back you know maybe five two
254. 00:13:35:50 / 00:13:41:35 - minutes later it's run okay with a bit
255. 00:13:39:03 / 00:13:43:99 - of luck you might have them running at
256. 00:13:41:35 / 00:13:48:70 - the same time depending on how busy your
257. 00:13:43:99 / 00:13:52:93 - system is okay so that will run when
258. 00:13:48:70 / 00:13:56:14 - it's being processed and then you'll
259. 00:13:52:92 / 00:13:59:31 - find whatever was in our folder over
260. 00:13:56:13 / 00:14:01:53 - here we just created a sample new text
261. 00:13:59:32 / 00:14:05:31 - document duck text it'll be deleted at
262. 00:14:01:53 / 00:14:09:45 - some time and that's generally how to
263. 00:14:05:30 / 00:14:12:00 - use the file server resource manager
264. 00:14:09:46 / 00:14:14:87 - okay quota management files screening
265. 00:14:12:00 / 00:14:18:78 - okay you could have reports as well and
266. 00:14:14:87 / 00:14:21:07 - the file management tasks and we've
267. 00:14:18:78 / 00:14:25:08 - shown you how to use it by having
268. 00:14:21:07 / 00:14:28:95 - reports generated when a task is run how
269. 00:14:25:09 / 00:14:33:07 - to notify people when other quotas be
270. 00:14:28:95 / 00:14:36:42 - reached or broken etc so hopefully this
271. 00:14:33:07 / 00:14:36:42 - helped thank you for watching
Visit our YouTube channel: https://www.youtube.com/channel/UCFj1BHYIUYfPWPb1Xn5qFIg