Windows Server 2008 R2 Thread, FSRM allow exe files for certain students in Technical; It says No Similar Threads Found, but last year Im sure I posted this exact same question, and was provided ...
-
8th February 2012, 10:43 AM #1 FSRM allow exe files for certain students
It says No Similar Threads Found, but last year Im sure I posted this exact same question, and was provided with a batch file to run against a text file of usernames/foldernames.
I cannot for the life of me find either the batch file nor the previous thread.
We ban .exe files in the students folders, but some of the programming students need access. If anyone can point me in the direction of the old thread, or provide me with the command I might have used in the batch file, would be much appreciated.
Many Thanks and sorry for the repost ;/
-
-
IDG Tech News
-
27th March 2012, 06:15 AM #2 I still cant find the original thread.. anyone able to help?
-
-
28th March 2012, 02:58 AM #3 Boom Boom
Code:
====AddExecutable.cmd============== @echo off
SET yearFolder=E:\Student\Users\%2
FOR /F "tokens=1" %%i IN (%1) DO (
filescrn exception add /path:%yearFolder%\%%i /add-filegroup:"Executable Files" /add-filegroup:"System Files"
IF ERRORLEVEL 1 filescrn exception add /path:%yearFolder%\%%i /add-filegroup:"Executable Files" /add-filegroup:"System Files" /Overwrite
)
====================
called as "AddExecutable.cmd userlist.txt 2012"
Wasnt actually on here i saw it thats why I couldnt find it again. Cheers to the original source.
-
SHARE: 
Similar Threads
-
By steveo2000 in forum Windows
Replies: 12
Last Post: 21st December 2009, 05:40 PM
-
By FrogmoreIT in forum Windows Server 2000/2003
Replies: 0
Last Post: 26th January 2009, 11:53 AM
-
By krisd32 in forum Windows
Replies: 14
Last Post: 11th March 2008, 01:54 PM
-
Replies: 16
Last Post: 2nd April 2007, 08:15 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules