Dan
asked on
remove computer from using logon script
I have been using a VB script for the last 10 years now. I am now using GP to map my drives and set the time on my PCs, and I want to discontinue using the logon script. How do I do that? when I remove the logon.vbs file from \\mydomain.org\netlogon, when people log on, there's an error message that the script can't be found.
How do I remove it from the computers trying to use the script?
How do I remove it from the computers trying to use the script?
Where the scripts running locally and initiated by the systems(local script running from local system)?
You need to edit your GPO and remove record from Computer COnfiguration / Windows Settings / Scripts (Startup / shutdown)
or
User Configuration / Windows Settings / Scripts (Logon/ Logoff)
or
User Configuration / Windows Settings / Scripts (Logon/ Logoff)
ASKER
which GPO, I looked through every GPO and I can't find any reference to logon/logoff script anywhere?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes, it's in the user profile tab in AD. So is there an easy way to remove the logon script entry for every user?
Yes, just modify GPO and it will apply to all users
ASKER
I don't know which GPO to modify, as I found the referenced batch file for only one user, but it wasn't in the GPO, it was in AD.
How many GPO's you have ?
I've pointed you to right directory structure in GPO so if you have few, then edit all of them , navigate to place I've pointed before and check.
User Configuration / Windows Settings / Scripts (Logon/ Logoff)
I've pointed you to right directory structure in GPO so if you have few, then edit all of them , navigate to place I've pointed before and check.
User Configuration / Windows Settings / Scripts (Logon/ Logoff)
ASKER
I have like 30 or so GPO's.
ASKER
I would have to go through all 30 to 35 or so.
So maybe policy name will point you to right direction ?
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys for your help.
Depending on your environment you may have to run a gpupdate /force on user systems to ensure they received the policy update.
ASKER
thanks.
ASKER