Solved

Reg Changes to HKCU as Login

Posted on 2009-03-30
2
686 Views
Last Modified: 2012-06-21
Hi All,

This really has me stumped.

We have implemented a CTX Server and published Office applications. I want to remove the local drives of the Server and My Documents and Desktop options in the Save/Open Dialog boxes. I have the registry settings that need to be applied. When they are applied manually they work fine.

The Problem is that users the registry settings that need to be changed are in HKCU. We only want the registry settings changed on the CTX Server for current users and for new users.

I have created a bat file that successfully makes the changes however just automating the bat file to be launched as the login User.

Any Ideas would be greatly appreciated
0
Comment
Question by:supportemea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Expert Comment

by:ModarHijazi
ID: 24017994

You can either add it to the all users startup folder:
%allusersprofile%\Start Menu\Programs\Startup

Or the better is to add it as a login script, so it's called when the user is logged in
0
 
LVL 27

Accepted Solution

by:
bluntTony earned 500 total points
ID: 24018227
If you're that sure that the users themselves have to appropriate permissions to change the reg via the script (as a login script would run in their user context) you can apply the login script using loopback processing for a group policy linked to that particular server.
Create a new GPO and link it to the OU holding the server computer account. If there is more than one account in this OU, you can apply security filtering so that it only applies to the server you wish it to.
In the GPO, apply the login script in the user configuration:
User Configuration | Windows Settings | Scripts | Login
Then, in the computer configuration section of the same GPO, enable the setting:
Computer Configuration | Administrative Templates | System | Group Policy | User group policy in loopbak processing mode.
Set this to 'merge' mode. This will mean that this login script will apply to all users logging in to this server only. The rest of their settings which they get from other GPOs will still apply. If you were to just apply as a login script to a GPO linked to the users, this would be applied to all machines they log in to.
Using loopback mode in a GPO means you can further configure the user environment for this particular server.
Hope this helps...
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

759 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