+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
Windows Thread, Scripts, Scripts, Scripts in Technical; Recently setup our AUP to be agreed or not at login problem is even though I've set the GPO to ...
  1. #1
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,203
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Scripts, Scripts, Scripts

    Recently setup our AUP to be agreed or not at login problem is even though I've set the GPO to do sync scripts windows loads up fully before they agree or disagree is there any way of stopping windows logging in fully until they've chosen agree or disagree?

    Any help with this would be much appreciated!

    Wes

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Scripts, Scripts, Scripts

    How about if they disagree they get logged out? With some sort of countdown if they ignore the window?

  3. #3
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Scripts, Scripts, Scripts

    Are your scripts assigned with Group Policy or on the User Account?

  4. #4
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,203
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Scripts, Scripts, Scripts

    @Geoff: Funny you should say that but it has that functionality sadly thoguh if they don't click on anything then they still have complete access to windows but with the AUP displayed on screen all the time.

    @ajbritton: Scripts are assigned as Login Scripts under User Config in a Pupils GPO.

    Wes

  5. #5
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Scripts, Scripts, Scripts

    Tricky. Is you message making itself System Modal? Usually system modal windows are in front of everything else and cannot be ignored.

  6. #6
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,203
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Scripts, Scripts, Scripts

    I could set it up as User Script via their account if that would help in a solution?

    Do you know how I could make the mouse stay in the current VB progs window (The Login script for the AUP is actually a VB prog) That way even if it does show up they can't actually get to anything else!

    Nope it's not Modal.

    Wes

  7. #7
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Scripts, Scripts, Scripts

    I just tried a VB 5CCE app with a dialog box system modal and it did not work. I think the idea about capturing the mouse is a good one but I don't know how to do it.

    It might be worth trying the script on a user account to see if it makes any difference.

  8. #8
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Scripts, Scripts, Scripts

    This almost does the mouse restriction ... http://www.vbaccelerator.com/tips/vba0001.htm

  9. #9
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Scripts, Scripts, Scripts

    You might be able to do it with a Kixtart script. There is documentation here mentioning attributes that can be placed on a message box such as super system modal and topmost window!

  10. #10

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    64

    Re: Scripts, Scripts, Scripts

    I wrote a little program a long time ago that people could use on vanilla 9x / CC 2.3 systems - VB app to display an always on top dialog that loaded a nicely formatted RTF AUP from the server, disabled special key combinations (alt tab/ctrl alt del etc) and trapped the mouse in the application until it was agreed to, or logged off if the user clicked disagree.

    Never managed to get it up to scratch on NT4/2K/XP as the APIs for restricting the mouse didn't seem to work... Haven't managed to find an equivalent since - most can be alt tabbed out of, or zapped with the program manager

  11. #11

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Scripts, Scripts, Scripts

    Now I can't remember does a user hive have a RunOnceEx key.
    If so this might be place to put a call to the script. This will produce the desired modal effect.

    I take it this script will be new users to the network or a particular machine. If so then put it in the HKCU of the Default User profile.

  12. #12
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,203
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Scripts, Scripts, Scripts

    Task Manager is disabled Ctrl Alt Del disable is not possible without replacing a windows file or two with yours. Or buy a program that does this. If it could always come to the front and keep focus (unable to to minimize too?) that would do it I think?

    Wes

  13. #13
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,203
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Scripts, Scripts, Scripts

    Well I just want it continually coming up if they haven't actually agreed to the policy if they disagree of course it will log them out I suppose Geoff's idea of a countdown then logout is a very good possibility just have to make sure that the countdown is long enough for them to read the AUP!

    5 Minutes?

    Wes

  14. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Scripts, Scripts, Scripts

    As if they'll read it! Try 30 seconds. Any longer and you'll have people confused.

  15. #15
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Scripts, Scripts, Scripts

    You could use AutoIt to do that. It's great for manipulating existing Windows. It also has an AdLib function which will do things on a regular predefined basis.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Printer scripts in GPO
    By Kyle in forum How do you do....it?
    Replies: 2
    Last Post: 25th April 2007, 07:12 AM
  2. Exe wrappers for scripts
    By NetworkGeezer in forum Scripts
    Replies: 1
    Last Post: 31st October 2006, 07:10 PM
  3. What do you use for your logon scripts.
    By Kyle in forum How do you do....it?
    Replies: 17
    Last Post: 13th October 2006, 07:54 AM
  4. Printer Scripts
    By Gordie in forum Windows
    Replies: 1
    Last Post: 21st February 2006, 04:35 PM
  5. Kix Scripts
    By catbert in forum Scripts
    Replies: 5
    Last Post: 27th September 2005, 01:24 AM

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
  •