Helping Laptop Users Uncheck the Workstation Only button

0 Likes
By A.J.Snijder

Problem:



Our laptop users, use their laptops both at home (offline) and on the office (online). When using the laptop at home they login locally by checking the checkbox "Workstation Only". But... the next day they connect to the office network and often they forget to uncheck the "Workstation Only" checkbox. so they cannot login to the network and so they are calling the support desk for a login problem!



In the Workstation Policy we added the setting to uncheck the Workstation Only checkbox, but this only happens after a successful login on the network.



Solution:




  • To solve the problem we add a following registry key to the "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" section. The key is named: "Ws-Only" and contains the following: "REG ADD HKLM\SOFTWARE\Novell\Login /T REG_DWORD /V \"Default WS Only\" /D 0x00000000". Because the Run section always runs after a login the "Workstation Only" checkbox will always be unchecked. So after logout the checkbox is always clear.



  • We distribute this key with ZENworks to the workstation in combination with a cmd file (see the script below).




Example:




::----------------------------------------------------------------------------------
:: Scriptnaam WS-only.cmd
::
:: Made byArjo Snijder
::
:: Created29-01-2007
::
:: Last updated28-08-2007
::
:: DescriptionUncheck the Workstation Only Checkbox by the registry after
::every login.
::
:: Remarks--
::------------------------------------------------------------------------------------

@ECHO OFF
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V Ws-Only /D
"REG ADD HKLM\SOFTWARE\Novell\Login /T REG_DWORD /V \"Default WS Only\" /D 0x00000000 /f" /f

Labels:

How To-Best Practice
Comment List
Related
Recommended