Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Add Administrator to the defalt shares in the remote machine

Hi,

Add Administrator to the defalt shares in the remote machine.

There are users who remove the Domain\Administrator permissions on all the drives.Is there a way to add them remotely.

Regards
Sharath
ASKER CERTIFIED SOLUTION
Avatar of Farhan Kazi
Farhan Kazi
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bsharath

ASKER

Ok Farhan you are right but if i have domain admins and the user has manually removed the everyone which is default for all default shares .How do i add the administrators or everyone back.

If User removes default share then it will be recreated whenever machine restarts.
User can not remove/set default share permissions for default share. If he tries to change or set then he will receive a message.
"This has been shared for administrative purposes. The permissions cannot be set."




Farhan when we go to the security option there we can remove the everyone or administrator.So that no one can access there c$ or any default shares.Yes i agree that when restarted they come back but the permissions will not be resetted.

Thats why i want a way to add the everyone or administrator to the security options.
Yes thats drive security permissions. I will try to script if possible.
Ok Farhan....Thanks....
Are you working the whole time or did you have some sleep...
I am at work right now :-) actually most of the staff is on Eid Holidays so relaxing :)
Reminder....

Any help with the other Q...'s
There are 6 Q's that i am sure only you can do...
Please check if you have time....
Any help......
Farhan did you get a chance to work on this....
Any help...