Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1129
  • Last Modified:

Access Denied on .bat files

Hello and thank you for your help.

I'm having trouble edditting .bat login scripts.
I have Enterprise ADmin rights but when i try to update .bat login script.
I get access denied.

~ Thank you
2 Solutions
Bill PrewCommented:
Where are the BAT located, and what type of permissions do you have against those files?  What version of Windows?

Any chance that you're being stymied by user account control?  UAC can be a pain depending on where your files are located.  If using notepad, this may show up as the file being read only.  You can right-click on the shortcut to your editor and run as admin to see if this is the case.  Best of luck!
djsharmaTechnical ConsultantCommented:
Add the user in administrators group and give full permissions of the file to the user and check.
Cherukuri30Service EngineerCommented:
If you have domain, then goto

C:\Windows\sysvol\sysvol\<domain name>\scripts

there you will have all your logon scripts and edit from here

Probably you are trying to edit from \\<server>\netlogon

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now