Solved

Permissions on powershell.exe (system32\WindowsPowershell) keep resetting

Posted on 2016-08-25
2
55 Views
Last Modified: 2016-08-25
Hi all,


I'm probably doing something wrong but:

I have a group policy that runs a powershell script at start up.

At first it didn't run because the users in my domain didn't have permissions on powershell.exe in C:\Windows\System32\WindowsPowerShell\v1.0.

When I add permissions (I don't remove any) to a user or a group it works but after a while the permissions are reverted back to SYSTEM & Administrators and the ones I have added are gone.

What am I missing?

Thank you,
0
Comment
Question by:Itxx
2 Comments
 
LVL 37

Accepted Solution

by:
Jian An Lim earned 500 total points
ID: 41771097
use group policy preference to do so rather then start up scripts.
it should stick better then start up (once off) script

https://www.experts-exchange.com/articles/24499/Assign-File-Folder-permissions-via-Group-Policy.html
1
 
LVL 1

Author Closing Comment

by:Itxx
ID: 41771310
Thanks!
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

762 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