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 all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
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

Vista Batch Files

  • 07-10-2008 1:15am
    #1
    Closed Accounts Posts: 1,663 ✭✭✭


    Right,

    Can anyone see anything wrong with this batch file??

    NET START "VMware Authorization Service"
    NET START "VMware DHCP Service"
    NET START "VMware NAT Service"
    NET START "VMware Agent Service"

    Cos it ain't working...it's not starting any of the services. Same problem with;

    NET STOP “VMware Agent Service”
    NET STOP “VMware Authorization Service”
    NET STOP “VMware DHCP Service”
    NET STOP “VMware NAT Service”

    Not stopping any of the services...

    All services are set to Manual.

    Any thoughts??


Comments

  • Registered Users, Registered Users 2 Posts: 10,272 ✭✭✭✭Standard Toaster


    Run as admin?


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    The_Edge wrote: »
    Run as admin?

    as in right-click, run as administrator??


  • Registered Users, Registered Users 2 Posts: 2,426 ✭✭✭ressem


    You may need to ask an admin to grant you permissions to start and stop the service.

    Two methods to set this up are described at
    http://support.microsoft.com/kb/288129/en-us/

    The console way, subinacl.exe which you download from
    http://www.microsoft.com/downloads/details.aspx?familyid=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

    or the builtin (to XP pro) security configuration and analysis MSC console.


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    ressem wrote: »
    You may need to ask an admin to grant you permissions to start and stop the service.

    Two methods to set this up are described at
    http://support.microsoft.com/kb/288129/en-us/

    The console way, subinacl.exe which you download from
    http://www.microsoft.com/downloads/details.aspx?familyid=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

    or the builtin (to XP pro) security configuration and analysis MSC console.

    it's my home PC so i'm the admin


  • Closed Accounts Posts: 16,339 ✭✭✭✭tman


    Maybe try using the service names instead of display names in the batch file?
    Go into services.msc, right click on one of the services and go to properties and take note of the service name there.

    Doubt that's it really, kind of sounds like a rights issue...

    What happens if you try opening a command prompt and entering one of those commands?


  • Advertisement
  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    alrighty, running as admin seems to have done the trick with the start script anyway. thanks for that.

    however, vmstop is still not working, even when run as administrator...any ideas??

    can i also ask, is there anyway to add to administrative rights to these, to save me having to right-click and run as admin each time??


  • Registered Users, Registered Users 2 Posts: 10,272 ✭✭✭✭Standard Toaster


    You can't really. You can right click most exes and tick "Run the program as administrator", but bat/cmd file you can't afaik....grayed out.

    You could try adding the bat file to a sheduled task, set it to "run with highest privileges". Now, create a shortcut to that on your desktop and run.

    What's wrong with right-click/run as?
    Is your admin password really long or something??


    Net stops works fine here (Win2k8 x64)


  • Closed Accounts Posts: 1,663 ✭✭✭evil-monkey


    The_Edge wrote: »
    What's wrong with right-click/run as?

    pure and utter laziness!! i just figured using a batch file, the less clicks the better.


  • Registered Users, Registered Users 2 Posts: 3,534 ✭✭✭SickBoy


    Have you tried turning off UAC?


  • Registered Users, Registered Users 2 Posts: 2,426 ✭✭✭ressem


    Is there anything wrong with setting the services from manual to automatic.
    I have them running in this way here and there's no noticeable difference in performance when you don't have a Virtual Machine actually running.


  • Advertisement
Advertisement