+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 44
Windows Thread, Local TEMP profile woes !!!! in Technical; I remember a post somewhere a while ago about people saying if there was an equivalent to a *nix ifup ...
  1. #16
    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 !!!!

    I remember a post somewhere a while ago about people saying if there was an equivalent to a *nix ifup ifdown script. Basically you want an app that can detect if a network cable is unplugged etc. Given your past contributions on the progamming front do you think you could knock up some kind of service to that effect if one does not exist?

  2. #17

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,343
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

    Re: Local TEMP profile woes !!!!

    Trouble is Chris he says they pull it out at the right point and then plug it in I suppose that if this script/service was continually checking for the presence of an active connection then it might work.

    I still think a big stick with the relevant kids would work better.

    Ben

  3. #18
    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 !!!!

    @ChrisH:

    I guess I could but I don't really see the benefit in this case.

    as I have said in a previous post the main thing was preventing the bypass of our Bloxx content filter, this has been newly installed as has ISA 2004 as before we had a smoothwall / dans guardian solution, this has been accomplished so all I want to do now is stop them from getting access to the PC itself.

    the thing is you can only lock a PC down so much, with the only true way is preventing all kids from using them in the first place but we all know we can't do that can we (he thinks quietly to hiimself !!!)

  4. #19
    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 !!!!

    I was thinking along the lines of if netwok cable unplugged plus other conditions then log off etc.

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

    Re: Local TEMP profile woes !!!!

    @ICTNUT: Any reason why my idea of a locally cached mandatory profile would be no good for you? Maybe you're using individual roaming profiles?

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

    Re: Local TEMP profile woes !!!!

    Another thought; Assuming temporary profiles are based on the local Default User profile, then all you need to do is create a locked down profile and distribute it to all PCs (eg using Startup script). No point it making it mandatory as temporary profiles will be deleted at logoff. You could set the desktop to be bright red to make it very obvious to teaching staff what is going on.

  7. #22
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Re: Local TEMP profile woes !!!!

    i had another thought i dont know if it can be done but i am sure i have seen it somewhere that you can set a gpo that if loses network it loggs off i am sure it is a script but i will have to find out.

  8. #23

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,230
    Thank Post
    54
    Thanked 278 Times in 186 Posts
    Rep Power
    134

    Re: Local TEMP profile woes !!!!

    Hi

    Did anyone get a proper resolution to this pulling out of the network cables? We're having a big problem with it at the moment.

  9. #24

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

    Re: Local TEMP profile woes !!!!

    Quote Originally Posted by ICTNUT
    As users are logged on with mere user rights there is not much they can do BUT they can trash the PC which is just a pain for me
    How can they do that if they have a restricted account?

  10. #25

    SpuffMonkey's Avatar
    Join Date
    Jul 2005
    Posts
    2,230
    Thank Post
    54
    Thanked 278 Times in 186 Posts
    Rep Power
    134

    Re: Local TEMP profile woes !!!!

    If they pull the cable at the right time (ie after the mandatory profile has gone down, but before the rest of the login completes) they are able to login locally and appear to get full control of the PC - any working resolutions to this would be very much appreciated...

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

    Re: Local TEMP profile woes !!!!

    Make the profile 'super-mandatory' by renaming the actual profile folder with a .MAN extension. Read all about it

  12. #27

    Join Date
    Jan 2007
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Local TEMP profile woes !!!!

    Our students have gotten wise to this trick over the past couple of days. I set the GPO settings as indicated above but they are not working as expected.

    As a temporary solution I added this vbs script to the local computer and added it to run at system logon. The script checks, after 30 seconds, to see if the students home drive (in our case U: ) and another network drive common to all students (O: ) exists. If not, the user gets logged off.

    It should work until I can straighten out the GPO issues.

    I also have a meeting with the principal and a student who broke the tab on a network cable trying to get it back in. The tab got jammed in the computer's nic and bent one of the contacts. I was able to get it straightened out but do not have much time to deal with hardware damage. I am going for a combined approach of tech and some discipline.

    VBS script:

    'check for unplugged network cord during logon
    'checks for mapped drives
    'merge registry key to run
    '| Windows Registry Editor Version 5.00
    '| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Run]
    '| "check-home-dir"="\"C:\\WINDOWS\\check-home-dir.vbs\""
    'copy this vbs file to c:\windows directory
    'John Cook - 03/2007

    Set WshShell = WScript.CreateObject("WScript.Shell")
    Set WshNetwork = WScript.CreateObject("WScript.Network")
    Set ObjFSO = CreateObject("Scripting.FileSystemObject")

    WScript.Sleep 30000 ' thirty seconds

    If ObjFSO.DriveExists("U:") Then
    If ObjFSO.DriveExists("O:") Then
    Else
    WshShell.Run "logoff.exe"
    End If
    Else
    WshShell.Run "logoff.exe"
    End If

  13. #28

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

    Re: Local TEMP profile woes !!!!

    Quote Originally Posted by SpuffMonkey
    If they pull the cable at the right time (ie after the mandatory profile has gone down, but before the rest of the login completes) they are able to login locally and appear to get full control of the PC - any working resolutions to this would be very much appreciated...
    You mean the GPOs are not applied to their session? They can't get admin rights just by pulling the wire out? Now that would be one MS botch up too far!

  14. #29
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86

    Re: Local TEMP profile woes !!!!

    Hmm same problem here, but its more of an annoyance than any damage coming from it. Basically have to delete their profile from the server each time it happens.

    Biggest problem is its not just cables, we don't let the kids touch them, its when they log on over wireless and loose the connection.

    I will look at those GPO settings, but creating a locked down default profile seems the most sensible option.

    EDIT: does anyone know if enabling "prevent roaming profile changes propergating to the server" in GPO would fix this or should be enabled? Will that mean they cant save any favourites in IE?

  15. #30

    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 !!!!

    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.

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

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
  •