autoexec.bat Help!!!!

Discussion in 'Windows Vista Administration' started by Santiago, Sep 27, 2007.

  1. Santiago

    Santiago Guest

    Hi! I have a Windows Vista Business in my pc, I need to modify the
    autoexec.bat but it's read-only file.

    What can I do?

    Santiago, Sep 27, 2007
    1. Advertisements

  2. Santiago

    Michael Guest


    Vista no longer uses 'autoexec.bat', it will parse any entries in there to
    set environment variables but that is all.
    On a clean install of Vista there is a single dummy entry in this file.

    This is also a system protected file, you should consider very carefully any
    modifications to system protected files.

    Perhaps if you could explain what you are trying to accomplish with the
    autoexec.bat file someone could help you do the same thing using Vista's
    normal procedures.

    Michael, Sep 27, 2007
    1. Advertisements

  3. Santiago

    Santiago Guest


    well, this is what I want to do:

    I have a software, and I need to set environment variables for it. In XP I
    made it in the autoexec.bat, but here in Vista I couldn't.
    Santiago, Sep 27, 2007
  4. Santiago

    Michael Guest


    Right click on computer, select properties
    in the left pane select 'Advanced system settings'
    advanced tab
    environment variables button near bottom
    add your environment variables. recommend you use the top section for your
    account rther than the one for the whole system.

    Michael, Sep 27, 2007
  5. Santiago

    Johan Guest

    I can modify AUTOEXEC.BAT and even CONFIG.SYS in my Vista Ultimate.
    Maybe it is restricted in other version.
    Johan, Sep 27, 2007
  6. Santiago

    Michael Guest

    My system is home premium, it has full permissions for 'administrators'
    group, read/execute only for 'users' group.
    I haven't actualy tried to change it however. Also need to change the view
    to show hidden stuff in order to see it.
    (it is a protected operating system file).

    Also as the OP has a business system there may be a Group Policy issue.


    I can modify AUTOEXEC.BAT and even CONFIG.SYS in my Vista Ultimate.
    Maybe it is restricted in other version.
    Michael, Sep 27, 2007
  7. I have Windows Vista Home Premium on my system. I can view, and modify these
    files. It anything critical needs changing, UAC usually prompts me... as long
    as I ok the permission it works with no problems.

    If you have User Account Controls turned off, try turning this feature back
    on. This may solve some of your "Access Denied" errors.
    jasoncollege24, Sep 28, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.