Scripts Thread, Stop users from running .vbs in Coding and Web Development; ive had a search and no real solution was found so i thought id give it a try.
if someone ...
25th March 2010, 10:23 AM #1 Rep Power 8
Stop users from running .vbs ive had a search and no real solution was found so i thought id give it a try.
if someone would do me the favour of testing it.
best place i could think of putting it would be the logon script
Cheers Attached Files
IDG Tech News
25th March 2010, 10:33 AM #2 Cant you just use GPO to stop vbs files from running or any file (eg cmd, bat, exe etc), and why cant you test it?
Thanks to apeo from:
marc2510 (26th March 2010)
25th March 2010, 10:36 AM #3 Rep Power 8
When i mean test i mean try beat the fix!
ive tried a few things but i feel it does what its spose to do, just making sure i have not missed anything
Thanks
25th March 2010, 02:27 PM #4 Just wondered why configuring it via GPO isnt sufficient?
25th March 2010, 04:26 PM #5 As far as I can see, that will stop my double clicking a .vbs file but it won't stopping me shelling to "cscript xxx.vbs"?
It also doesn't seem to stop me from right clicking and then picking "open with cscript"
If you really want to stop vbscripts from running I think you need to block cscript and wscript
Thanks to srochford from:
marc2510 (26th March 2010)
26th March 2010, 10:19 AM #6 Rep Power 8
Originally Posted by
apeo Just wondered why configuring it via GPO isnt sufficient?
them main reason i have done this was for 20 xp home senco netbooks we have that go home to pupils.
so your right i can do gpo for domain clients
26th March 2010, 02:35 PM #7
Originally Posted by
marc2510 them main reason i have done this was for 20 xp home senco netbooks we have that go home to pupils.
so your right i can do gpo for domain clients
Ah i see, sorry for the questions.. didnt mean be an inquisition, i was just interest to know the circumstances.
26th March 2010, 04:59 PM #8 OK; in that case you don't need to worry about things like login scripts not working so I would just block the scripting host stuff: Code:
cacls %windir%\system32\cscript.exe /r users
cacls %windir%\system32\wscript.exe /r users
Thanks to srochford from:
marc2510 (29th March 2010)
29th March 2010, 09:37 AM #9 Rep Power 8
Originally Posted by
srochford OK; in that case you don't need to worry about things like login scripts not working so I would just block the scripting host stuff:
Code:
cacls %windir%\system32\cscript.exe /r users
cacls %windir%\system32\wscript.exe /r users perfect thanks
2nd April 2010, 03:04 PM #10
Originally Posted by
srochford
If you really want to stop vbscripts from running I think you need to block cscript and wscript
I was just thinking that - obviously very late to the party lol
SHARE:
Similar Threads
By tomscaper in forum Scripts
Replies: 8
Last Post: 9th January 2008, 01:36 PM
By timbo343 in forum Windows
Replies: 15
Last Post: 8th January 2008, 03:14 PM
By Samson in forum Scripts
Replies: 5
Last Post: 10th May 2007, 03:29 PM
By timbo343 in forum Windows
Replies: 5
Last Post: 27th April 2007, 01:08 PM
By timbo343 in forum Windows
Replies: 8
Last Post: 28th September 2006, 02:12 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