+ Post New Thread
Results 1 to 10 of 10
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 ...
  1. #1

    Join Date
    Apr 2009
    Posts
    35
    Thank Post
    13
    Thanked 8 Times in 6 Posts
    Rep Power
    13

    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 Attached Files

  2. #2
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    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?

  3. Thanks to apeo from:

    marc2510 (26th March 2010)

  4. #3

    Join Date
    Apr 2009
    Posts
    35
    Thank Post
    13
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    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

  5. #4
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    Just wondered why configuring it via GPO isnt sufficient?

  6. #5

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,158
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    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

  7. Thanks to srochford from:

    marc2510 (26th March 2010)

  8. #6

    Join Date
    Apr 2009
    Posts
    35
    Thank Post
    13
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    Quote Originally Posted by apeo View Post
    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

  9. #7
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    Quote Originally Posted by marc2510 View Post
    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.

  10. #8

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,158
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    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

  11. Thanks to srochford from:

    marc2510 (29th March 2010)

  12. #9

    Join Date
    Apr 2009
    Posts
    35
    Thank Post
    13
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    Quote Originally Posted by srochford View Post
    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

  13. #10

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,987
    Thank Post
    3,536
    Thanked 1,107 Times in 1,014 Posts
    Rep Power
    374
    Quote Originally Posted by srochford View Post

    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:
+ Post New Thread

Similar Threads

  1. Kids Running VBS files
    By tomscaper in forum Scripts
    Replies: 8
    Last Post: 9th January 2008, 01:36 PM
  2. how do you stop kids from running exe from IE.
    By timbo343 in forum Windows
    Replies: 15
    Last Post: 8th January 2008, 03:14 PM
  3. VBS Drive script is running from
    By Samson in forum Scripts
    Replies: 5
    Last Post: 10th May 2007, 04:29 PM
  4. Stop applications running at certain times
    By timbo343 in forum Windows
    Replies: 5
    Last Post: 27th April 2007, 02:08 PM
  5. Stop kids running programs from their USB key
    By timbo343 in forum Windows
    Replies: 8
    Last Post: 28th September 2006, 03: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
  •