Scripts Thread, Disable OWA with VB Script in Coding and Web Development; Hi,
At the moment we have a lot of students misusing computers, internet and email.
We currently have two VB ...
-
25th March 2010, 06:44 PM #1
Disable OWA with VB Script
Hi,
At the moment we have a lot of students misusing computers, internet and email.
We currently have two VB Scripts which disable the students account or internet, the first disables their full computer account and adds the details of the ban which are entered into the script to a database.
The second script makes the student a member of a AD group called "no internet access" this then blocks their access to the internet as our ISA does not accept them, they are also added to a database with the details of the ban.
We then also have a script which runs every morning and looks at the dates in the database, if there are any which should be enabled on todays date, it will either remove them from the group or enable the account depending on the type of ban.
I am trying to make a script that will disable their email account, as you are probably aware if you wish to disable an accounts OWA (outlook web access) you need to go to active directory, search for the user, go to properties, exchange features and then click on the disable button next to OWA.
This is very time consuming, we do not have a record of the ban and also the account will not be automatically enabled on the set date.
I am currently at a loss with this, as i have tried various scripts from various sites, none of which i can get to work. 
Any help with this would be much appreciated.
Many Thanks
David Phillips
Winton Arts & Media College
-
-
IDG Tech News
-
25th March 2010, 06:59 PM #2 What version of Exchange is it your running? 2003, 2007 or 2010?
I have a powershell script I wrote which disables OWA which I can send over... just PM me.
-
-
25th March 2010, 07:08 PM #3 Set-CASMailbox user -OWAEnabled $true
In Exchange Powershell will disable the user's OWA
Not sure how to this in VB but will have a look now why i'm doing nothing 
Is this any use? http://www.experts-exchange.com/Prog..._23115593.html (Scroll Down to see Answers)
J
Last edited by EduTech; 25th March 2010 at 07:19 PM.
-
-
25th March 2010, 07:36 PM #4 Thanks
Thanks for the respones everyone, i will have a look at the URL and see what i can do.
Thanks again
David
-
SHARE:
Similar Threads
-
By netadmin in forum Windows
Replies: 1
Last Post: 30th December 2009, 11:20 PM
-
By shane-meh in forum Windows
Replies: 2
Last Post: 11th June 2009, 01:49 PM
-
By FN-GM in forum How do you do....it?
Replies: 7
Last Post: 7th October 2008, 03:08 PM
-
Replies: 19
Last Post: 7th March 2008, 03:27 PM
-
By Galway in forum Windows
Replies: 3
Last Post: 29th August 2007, 11:00 AM
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