Solved

Logon Scripts not running on 2012 r2 Domain

Posted on 2014-04-01
3
3,909 Views
Last Modified: 2014-04-03
Hi all,

I have just setup a server2012 domain and i am having issues getting the logon scripts to run via AD in the profile tab and getting the Home folder to connect to a share i have setup.

I have tried various GPO settings regarding slow link speeds etc and they dont work and i have run the script on the PCs just to make sure the script is not wrong.

I have setup logon script via GPO and this works but this is not how i want to set it up.

So any advice you can give that would be great.

Thanks Matt
0
Comment
Question by:YellowbusTeam
3 Comments
 
LVL 13

Assisted Solution

by:Santosh Gupta
Santosh Gupta earned 200 total points
ID: 39968983
Hi,

1. see the event log of any desktop for any policy related error.
2. run RSOP.MSC on effected desktop.
0
 
LVL 57

Accepted Solution

by:
Cliff Galiher earned 300 total points
ID: 39970847
The script option on the profile tab in AD is considered legacy (like NT4 legacy) and is there for backwards compatibility. I know you say you don't want to use GPOs, but that is the proper way moving foward. You certainly shouldn't be doing new deployments with the legacy option.

So my first question is *why* don't you want to use GPOs? If we understand the underlying reason, we can provide better solutions.

As far as why the script isn't working, all I can say is as a legacy-only option, it is extremely limited. It won't run WSH or Powershell by default, for example. Only old-school batch files. And because of when it is processed (compared to the much more full-featured group policy client), permissions on the file location can be extremely touchy as well. It is possible it isn't running because the machine doesn't have permissions to access the script during the time it is processing the logon, thus a generic "access denied" type of problem.

Both of the above are easily circumvented with group policy, and is the recommended way to do new script needs for the indefinite future.

-Cliff
0
 

Author Comment

by:YellowbusTeam
ID: 39974408
Hi we have gone down the route of using Group policy, i will distribute the points now
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In-place Upgrading Dirsync to Azure AD Connect
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question