Windows Server 2000/2003 Thread, Preventing Bat and vbs files in Technical; Hi
Got a problem where our darling students keep creating bat and vbs files and saving them to their home ...
-
28th January 2010, 03:08 PM #1
- Rep Power
- 0
Preventing Bat and vbs files
Hi
Got a problem where our darling students keep creating bat and vbs files and saving them to their home directory. Is there a way bat and vbs files could get automatically deleted on some sort of scheduled scan. Or some other way to prevent these files from being saved in the first place?
-
-
IDG Tech News
-
28th January 2010, 03:18 PM #2
-
-
28th January 2010, 03:19 PM #3 for bat /vbs you could use group policy to do a black list to not allow command.com , wscript, cscript but not sure how that would effect startup / logon scripts ??
-
-
28th January 2010, 03:22 PM #4 
Originally Posted by
BSOD
Hi
Got a problem where our darling students keep creating bat and vbs files and saving them to their home directory. Is there a way bat and vbs files could get automatically deleted on some sort of scheduled scan. Or some other way to prevent these files from being saved in the first place?
If you have Server 2003 R2 you can setup Storage Recource Manager to stop the students saving certain extensions in their home areas - we do that here with great success. You can also block Wscript and command, it doesn't seem to affect login scripts for us.
Mike.
-
-
28th January 2010, 04:11 PM #5 
Originally Posted by
mac_shinobi
for bat /vbs you could use group policy to do a black list to not allow command.com , wscript, cscript but not sure how that would effect startup / logon scripts ??
cant you block them running from certain locations (so say d/e/f/u assuming u = users area d/e/f are cd/pen)
-
-
28th January 2010, 04:13 PM #6 
Originally Posted by
maniac
If you have Server 2003 R2 you can setup Storage Recource Manager to stop the students saving certain extensions in their home areas - we do that here with great success. You can also block Wscript and command, it doesn't seem to affect login scripts for us.
Mike.
I was thinking about that but I couldnt recall what it was called nor how to set it up so didn't want to suggest that.
-
-
28th January 2010, 04:14 PM #7 We use the Software Restriction Policy, to disallow
*.bat
*.cmd
etc
but need to allow \\server\netlogon\*.bat
etc
so logon scripts run.
-
Thanks to mullet_man from:
mac_shinobi (28th January 2010)
-
28th January 2010, 07:18 PM #8 
Originally Posted by
mullet_man
We use the Software Restriction Policy, to disallow
*.bat
*.cmd
etc
but need to allow \\server\netlogon\*.bat
etc
so logon scripts run.
Would that be a point of failure because if they can get to the sysvol / netlogon or where ever ( depending on permissions of course ) they may be able to run scripts from there ?
-
SHARE:
Similar Threads
-
By Chuckster in forum Windows
Replies: 7
Last Post: 30th April 2009, 12:15 PM
-
Replies: 5
Last Post: 16th December 2008, 12:08 AM
-
By tosca925 in forum Scripts
Replies: 12
Last Post: 8th November 2007, 03:58 PM
-
By alonebfg in forum Windows
Replies: 7
Last Post: 16th July 2007, 07:57 PM
-
By Uraken in forum Scripts
Replies: 8
Last Post: 30th January 2007, 11:41 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
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