Cannot delete "netmeeting" folder

Posted on 2006-05-08
Last Modified: 2008-01-09
Trying to delete the netmeeting folder in
Program Files with a batch script...

MOVE /Y "%PROGRAMFILES%\netmeeting"

First it said it is "being used by another process" which I
Googled and found it was because of Windows File Protection.

I disabled Windows File Protection and now get a different error "access is denied".

I can manually delete the netmeeting folder, but thats no good, it must be scripted!

Any switches I am missing? The MOVE command seems to not really have any
switches apart from /Y.

No suggestions of third party programs please!
Question by:EE33
    LVL 4

    Expert Comment


    If your script is being run from scheduled tasks then give it Administrator rights.
    LVL 4

    Accepted Solution

    Administrator account will need a password for this to work.
    If you do not want to give administrator a password then create a new account with amin rights and password.

    Or give whatever user you choose to run the script read and write access to %SYSTEMDRIVE%\RESTORE\ and %PROGRAMFILES%\

    LVL 3

    Author Comment

    I actually dropped this and never tried what you said
    because, well I just quit with it and im working on
    other things but since you took the time to answer
    and you are the only person who has answered,
    theres no harm done in accepting this as the answer.
    LVL 4

    Expert Comment

    Thanks EE33.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    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

    20 Experts available now in Live!

    Get 1:1 Help Now