Jump to content

Recommended Posts

Posted

Enable Switch User GPO

 

Hi All,

 

Does anyone know where in GP this can be enabled.

 

Sick of users locking there machines then other people coming to teach in a room and having to hold the power button to reset the machine.

 

Thanks in advance

 

Chris

Posted

Computer Configuration -> Administrative Templates -> System -> Logon -> Hide entry points for Fast User Switching

 

Changing this to Disabled should allow others to login.

Posted

Also, before we had Imepro to unlock/logoff workstations I made this HTA so I could log them off remotely.

 

Workstation Log Off Tool
     APPLICATIONNAME="Workstation Log Off Tool"
    SCROLL="yes"
    SINGLEINSTANCE="yes"
    WINDOWSTATE="normal"
>

<br />
Sub Window_onLoad<br />
    window.resizeTo 430,220<br />
End Sub<br />
Sub LogOffSub<br />
    On Error Resume Next<br />
    strComputer=ComputerName.Value<br />
    Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")<br />
    Set colOperatingSystems = objWMIService.ExecQuery ("SELECT * FROM Win32_OperatingSystem")<br />
    For Each objOperatingSystem in colOperatingSystems<br />
    ObjOperatingSystem.Win32Shutdown(4)<br />
    If Err.Number <> 0 Then<br />
        If Err.Number = -2147217407 Then<br />
            MsgBox("Error logging off " & strComputer & "." & vbCr & vbCr & "Most likely cause, the machine was not logged in." & vbCr & vbCr & "Please check and try again.")<br />
        ElseIf Err.Number = 424 Then<br />
            MsgBox("Error logging off " & strComputer & "." & vbCr & vbCr & "Most likely cause, the machine is not turned on or a typo was made." & vbCr & vbCr & "Please check and try again.")<br />
        Else<br />
            MsgBox("An unknown error occured while trying to log off " & strcomputer & "." & vbCr & vbCr & "Error Number: " & Err.Number & vbCr & "Error Discription: " & Err.Description)<br />
        End If<br />
    Else<br />
        MsgBox("Success! " & strcomputer & " is performing a forced log off.")<br />
    End If<br />
    Next<br />
End Sub<br />



Workstation Log Off Tool




Please type the computer name you wish to log off.









 



Posted

Found this can cause other issues. i.e. staff logs into PC, leaves them selves logged in, walks off to other PC and then changes password leading to their account getting continuously locked out.

 

Getting PC's to shutdown everyday automatically has nearly eradicated the issue this causes for us though and we can easily sort out ant that do arise.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...