none
logon script - Unspecified Error RRS feed

  • Question

  • Hi,

    Receiving the below error when the user logs in. 

    Uploaded the scripe in the below URL.

    https://1drv.ms/t/s!Aj2wii50lHANhH8r2IfLA2c__SDp

    Please help why the error occurs at "SWidth = MSIE.Document.ParentWindow.Screen.AvailWidth" function in the VB Script. and how to solve it


    Regards, Boopathi

    • Moved by Bill_Stewart Tuesday, December 11, 2018 8:46 PM Unanswerable drive-by question
    Wednesday, July 11, 2018 9:23 AM

All replies

  • You cannot successfully run IE in a logon script.

    The error means "access denied".


    \_(ツ)_/

    Wednesday, July 11, 2018 9:33 AM
  • Hello Irv,

    Thanks for your reply. This error occurs for only one user.  No error for other users. Anyway to solve the issue.


    Regards, Boopathi

    Wednesday, July 11, 2018 9:39 AM
  • Sorry but this is not a support forum.  You will have to get help troubleshooting the issue as it is clearly not script related.

    Different OS versions can cause very different behaviors with Group Policy and, in particular, with logon scripts.  Profile corruption can affect logon scripts.  Many other things can affect scripts.

    Find a senior tech with good troubleshooting skills with AD and Group Policy help you to track down the cause.

    I will still warn you against running IE in a logon script.  It would be best to run this as a user startup script.


    \_(ツ)_/

    Wednesday, July 11, 2018 10:10 AM