Results 1 to 4 of 4

Thread: How can I delete files in system32 folder?

  1. #1
    Join Date
    May 2008
    Posts
    95

    How can I delete files in system32 folder?

    Hi,

    I am trying to delete unwanted files from the system directory "C:\Windows\system32\" folder in windows xp. How do I remove a file from the system32 folder without it automatically coming back? seriously though, is they any way to delete or add files to the system32 folder during installation?

  2. #2
    Join Date
    May 2008
    Posts
    613

    re: How can I delete files in system32 folder?

    Why you want to delete files in system32 files folder. Is it actually causing you any problems, or do you just want to clean up your System32 directory? You should never delete any of the system 32 folder. It is full of files that are crutial to system operation. Limited user privileges will not be able to delete anything out of the System32 directory nor will you would be able to install anything using the account.

  3. #3
    Join Date
    May 2008
    Posts
    90

    Re: How can I delete files in system32 folder?

    Before deleting files in system32 folder, make sure a program does not have access to these files and they are not read only. If you are cleaning out a hard drive, it would be easier to reformat the drive, and reinstall everything after backing up all the files you want. Try
    Code:
    rmdir /s foldername

  4. #4
    Join Date
    May 2008
    Posts
    255

    Re: How can I delete files in system32 folder?

    First you have to make sure this is not system file that affect system after delete, you should be able to delete those files out of the System32 using an account using Admin rights.

    Use
    Code:
    int SHFileOperation(      
        LPSHFILEOPSTRUCT lpFileOp
    );
    See here : http://msdn.microsoft.com/en-us/libr...64(VS.85).aspx

Similar Threads

  1. Replies: 6
    Last Post: 07-07-2011, 02:27 PM
  2. Bash command to delete entire Files from folder
    By Strangers in forum Windows Software
    Replies: 4
    Last Post: 11-11-2010, 09:30 PM
  3. How to Delete set3.temp files from windows folder
    By afidelino in forum Windows Software
    Replies: 4
    Last Post: 01-04-2010, 06:01 PM
  4. Replies: 2
    Last Post: 07-10-2008, 05:45 PM
  5. Replies: 1
    Last Post: 08-05-2007, 08:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,149,420.74454 seconds with 17 queries