Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I configure a Logon script for a user on the “Profile” tab in AD Users & Computers?

0
Posted

How do I configure a Logon script for a user on the “Profile” tab in AD Users & Computers?

0

The field labeled “Logon script” on the “Profile” tab of the user properties dialog in the Active Directory Users and Computers MMC corresponds to the “scriptPath” attribute of the user object. The default location for Logon scripts specified by this attribute is the NetLogon share. By default, all users have read access to this share. The NetLogon share on the Domain Controller is located in the following folder: %SystemRoot%\sysvol\sysvol\\scripts where %SystemRoot% is usually “c:\winnt” and is the DNS name of the domain, similar to “MyDomain.com”. This folder is replicated to all Domain Controllers in the domain. The usual practice is to enter the name of the Logon script, for example “NetLogon.bat”, in the field labeled “Logon script” on the “Profile” tab for the user and place this file in the NetLogon share. The Logon script will run for the user when they Logon to any computer that is joined to the domain. You can also enter a UNC path in the “

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123