Access Denied on .bat files

Posted on 2012-09-13
Last Modified: 2012-11-06
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
Question by:CMITStamford
    LVL 51

    Expert Comment

    by:Bill Prew
    Where are the BAT located, and what type of permissions do you have against those files?  What version of Windows?

    LVL 5

    Expert Comment

    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!
    LVL 9

    Assisted Solution

    Add the user in administrators group and give full permissions of the file to the user and check.
    LVL 7

    Accepted Solution

    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

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
    Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now