Jump to content

Regedit Logon Script via GPMC


Recommended Posts

Hello all,

I am wanting to create a policy that targets registry key path Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Name: Shell

Type: REG_SZ

Data: explorer.exe

I want so that the policy says the data for this is different then the default "explorer.exe"

I have looked at creating a GPO inf file however to my knowledge the sets pre-programmed in are primarily limited to those.

How would I go about this? what alternatives are there? Is it possible to create a .inf file to do this and have it be successful?

As I know that you can have a logon script launch for the user group that wll install these .reg files upon user logon and that will change the data for it.

Link to post
Share on other sites

Another question on top of this.

For the registry if I cannot use a gpo. For the logon script I will have it autoload "winlogon.reg"

Below is the .reg I just have it showing the shell

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"ReportBootOk"="1"

"Shell"="Scientia(IT).exe"

Upon launching it you get "Adding information can unitenionally change or delete values and casue components to stop working correctly. If you do not trust the source of this informatino in "File Directory", do not add it to the registry.

Are you sure you want to conitnue?"

If I proceed with it will it just overwrite the previous data and nothing more?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy