Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Batch File Privileges Vista

  • 11-10-2009 3:22am
    #1
    Registered Users, Registered Users 2 Posts: 8,435 ✭✭✭


    I have a batch file that is working exactly as I want it to in XP.

    My problem now is that it will not run correctly in Vista because of the privileges.

    It returns "The FSUTI utility requires that you have administrative privileges"

    Part of what the batch file does is scan the system & list all available drives with a prompt allowing the user to choose one. It uses the "FSUTI utility" to achieve that which is fine under XP but Vista requires administrative privileges in order to allow it to run.

    Is there anyway to set the administrative privileges in a batch file?

    -

    "Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid."



Comments

  • Registered Users, Registered Users 2 Posts: 86,729 ✭✭✭✭Overheal


    change the properties for your target .exe to run in administrator mode.

    Also if you Disable UAC (google - its a snap) should be problem solved.


  • Registered Users, Registered Users 2 Posts: 8,435 ✭✭✭Gadgetman496


    Overheal wrote: »
    change the properties for your target .exe to run in administrator mode.

    Also if you Disable UAC (google - its a snap) should be problem solved.

    Thanks for the reply ;)

    Is it not correct to say that you can't change the properties for your target .exe to run in administrator mode in Vista?

    I thought you can only do that for a shortcut to the file?

    Either way, it's a batch file & I need it to be able to run out of the box without the user having to change anything on their system in order to run it.

    -

    "Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid."



  • Registered Users, Registered Users 2 Posts: 86,729 ✭✭✭✭Overheal


    I thought you can only do that for a shortcut to the file?
    Nope. the exe too.
    Either way, it's a batch file & I need it to be able to run out of the box without the user having to change anything on their system in order to run it

    Then you may be out of luck. I would reccomend telling your end user to disable User Account Control.


Advertisement