Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Logon Scripts not running on 2012 r2 Domain

Posted on 2014-04-01
3
Medium Priority
?
4,183 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 800 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 60

Accepted Solution

by:
Cliff Galiher earned 1200 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
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 to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

877 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