+ Post New Thread
Page 3 of 3 FirstFirst 123
Results 31 to 44 of 44
Windows Thread, Local TEMP profile woes !!!! in Technical; Originally Posted by Geoff I think the best way to deal with this would be a VBS script that runs ...
  1. #31
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Local TEMP profile woes !!!!

    Quote Originally Posted by Geoff
    I think the best way to deal with this would be a VBS script that runs at system startup and sits in a loop. If it checks which network cards are connected at startup then subsequently checks the connectivity of the same cards while it's sat in loop. If something gets disconnected just reboot the machine.
    This is exactly what I said earlier on in the thread about writing a small program to do this and have it run as a service or something. I even managed to find some code that checks if the cable is connected. I got as far as installling Vb.net but then didnt get round to writing it as I was learning as I went along.
    I would say check for connectivity. If been disconnected to a gpupdate. If still disconnected put up warning box saying "This machine will be shut down blah blah" make sure the cable has been plugged in at least a minute etc etc.

  2. #32

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Local TEMP profile woes !!!!

    Well the information is avalible to WMI. Therefore you don't need to run a program. You can get all the information you need from the Win32_NetworkAdapter. The NetConnectionStatus property is key. Although enumerating though all the NetworkAdapters and checking the AdapterType and ConfigManagerErrorCode to rule out any potential interfaces that might be broken or wireless.

  3. #33
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Local TEMP profile woes !!!!

    Your still at the mercy of scripts being run from policies etc though. Without faffing with local policies a compiled exe running as a service would be better.

  4. #34

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Local TEMP profile woes !!!!

    You can install a vbs script as a local service with Instsrv.exe from the resource kit.

  5. #35
    projector1's Avatar
    Join Date
    Nov 2005
    Posts
    460
    Thank Post
    70
    Thanked 1 Time in 1 Post
    Rep Power
    18

    Re: Local TEMP profile woes !!!!

    sorry to go off the topic but
    do we need any more reasons as to why this site should not be accessible to just anyone?
    as well as giving us techies invaluable help, advice guidance, it also provides the kids with information on vunerabilities that they can expliot

  6. #36

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: Local TEMP profile woes !!!!

    Some of us (Geoff included) don't believe in 'security by obscurity'

  7. #37

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Local TEMP profile woes !!!!

    Plus the fact the site would die in about 2 seconds from the onerous vetting procedure to prove that one is a 'techie' and eligible for access.

  8. #38
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: Local TEMP profile woes !!!!

    Hi all,

    just come back to this topic, seems like I started something here.

    I have a solution that work for me, in addition to the GPO settings I mentioned on the first page I now have a script that runs at srart up of the PC clears down all profiles on the local pc including the default user one, creates the default user folder and then copies a mandatory profile down from the server to the default user folder on the local pc.

    Depending on the room they are in depends on the profile that comes down but this means that if a student does try to bypass and due to the profile being local it will always load the default user profile and lock the darlings down.

    This proflie transfer happens once a day or if the PC is restarted (but as the kids don't have the option of a restart it tends to be once per day).

    This has proved to work extremely well.

    HTH

  9. #39
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,507
    Thank Post
    141
    Thanked 67 Times in 62 Posts
    Rep Power
    46

    Re: Local TEMP profile woes !!!!

    Thought I'd latch onto this thread rather than start a new one!

    I want to prevent xp machines logging on if the server is down or the network cable is out. We don't have a problem with kids pulling out cables but staff using them for laptops and forgetting to put them back in. I don't want this to affect the laptops so would a local policy setting to set the number of cached logons to 0 only set on the workstations solve this?

    I use the MustbeValidated registry setting on w98 but can't find anything for xp.

  10. #40

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,720
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364

    Re: Local TEMP profile woes !!!!

    Quote Originally Posted by ICTNUT
    Hi all,

    just come back to this topic, seems like I started something here.

    I have a solution that work for me, in addition to the GPO settings I mentioned on the first page I now have a script that runs at srart up of the PC clears down all profiles on the local pc including the default user one, creates the default user folder and then copies a mandatory profile down from the server to the default user folder on the local pc.

    Depending on the room they are in depends on the profile that comes down but this means that if a student does try to bypass and due to the profile being local it will always load the default user profile and lock the darlings down.

    This proflie transfer happens once a day or if the PC is restarted (but as the kids don't have the option of a restart it tends to be once per day).

    This has proved to work extremely well.

    HTH
    Maybe you can do a wiki or something on the script as well as the GPO settings ?

  11. #41
    AyatollahPies's Avatar
    Join Date
    Jan 2008
    Location
    Earth
    Posts
    900
    Thank Post
    48
    Thanked 105 Times in 95 Posts
    Rep Power
    42
    I'm fashionably late to this thread.

    Did you all manage to resolve your issues, or does this still plague you? I've just been notified of similar shenanigans at one of our sites.

  12. #42

    Join Date
    Apr 2011
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by ICTNUT View Post
    Hi all,

    just come back to this topic, seems like I started something here.

    I have a solution that work for me, in addition to the GPO settings I mentioned on the first page I now have a script that runs at srart up of the PC clears down all profiles on the local pc including the default user one, creates the default user folder and then copies a mandatory profile down from the server to the default user folder on the local pc.

    Depending on the room they are in depends on the profile that comes down but this means that if a student does try to bypass and due to the profile being local it will always load the default user profile and lock the darlings down.

    This proflie transfer happens once a day or if the PC is restarted (but as the kids don't have the option of a restart it tends to be once per day).

    This has proved to work extremely well.

    HTH
    Hi!
    I've the very same problem in my school. Can you explain me step-by-step what you've done?
    I'm not very skilled with scripts but I can manage to adapt yours to my environment (if you can share it with me).
    We have a win2003 domain controlled and some already deployed gpo, so I think I can manage that part if you can tell me where I need to make the changes.

    Thanks!
    Last edited by himesama; 30th April 2011 at 12:42 PM.

  13. #43

    Join Date
    Apr 2011
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Nothing?

  14. #44
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106
    See here: EduLock

SHARE:
+ Post New Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 7
    Last Post: 26th February 2010, 10:00 AM
  2. West London Temp to Perm
    By SpecialAgent in forum Educational IT Jobs
    Replies: 0
    Last Post: 2nd October 2007, 01:56 PM
  3. PC Temp Sensor
    By mmoseley in forum General Chat
    Replies: 4
    Last Post: 18th June 2007, 12:58 AM
  4. Local Profile issues
    By johnkay21 in forum Windows
    Replies: 2
    Last Post: 8th May 2007, 12:41 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
  •