Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cant delete file and folder , even with cmd

18 Sep 2014   #11
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Did you answer yes - remove it when reboot the system?
No? - Run the program again and answer Yes

Did you reboot (restart)?
No? Please restart your system

That is an odd character set for a system file, and it is in an odd location.

You should probably run a few malware scanners to see if there is anything lurking on your system

Start with Adwcleaner

AdwCleaner is a two step process. Scan then Clean

Download: Click here to download AdwCleaner (author: Xplode)
>> save the application to your Desktop.
  • Right-click AdwCleaner.exe on your Desktop and select Run As Administrator to run the scanner with full privilege rights.
    AdwCleaner is a standalone executable, there is no install.

  • Click on the Scan button.
    >> AdwCleaner begins scanning your system. It might take some time to complete.
    >> You can review the objects that will be cleaned at this point of the process. Objects are grouped under the tabs. If there is something you KNOW should not be cleaned, untick the box [_] next to the object. Otherwise, go to the next step.

  • After the scan has finished... click on the Clean button.
    • Answer OK to the "close all programs" prompt, then follow the onscreen prompts.
    • Answer OK to the "restart the computer" prompt to complete the removal process.
      >> The AdwCleaner[S#].txt log is opened in your default Text editor when the machine has restarted.
      [R#] gets incremented every time you run AdwCleaner - the highest number is the most recent.
    .
  • Paste the entire AdwCleaner log in your next post.
    AdwCleaner logs are located in the C:\AdwCleaner folder if you need to reference them again



My System SpecsSystem Spec
.
18 Sep 2014   #12
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
System File?

Well if it's not the drive that contains Windows it's probably time to make an image backup of all your drives before further attempts. If nothing else is in the same directory you can also try deleting the directory instead of the file.

Run the suggested malware scan though!
My System SpecsSystem Spec
18 Sep 2014   #13
nick0920

Window 7 Home 64 bit
 
 

Quote   Quote: Originally Posted by Slartybart View Post
Did you answer yes - remove it when reboot the system?
No? - Run the program again and answer Yes

Did you reboot (restart)?
No? Please restart your system

That is an odd character set for a system file, and it is in an odd location.

You should probably run a few malware scanners to see if there is anything lurking on your system

Start with Adwcleaner

AdwCleaner is a two step process. Scan then Clean

Download: Click here to download AdwCleaner (author: Xplode)
>> save the application to your Desktop.
  • Right-click AdwCleaner.exe on your Desktop and select Run As Administrator to run the scanner with full privilege rights.
    AdwCleaner is a standalone executable, there is no install.

  • Click on the Scan button.
    >> AdwCleaner begins scanning your system. It might take some time to complete.
    >> You can review the objects that will be cleaned at this point of the process. Objects are grouped under the tabs. If there is something you KNOW should not be cleaned, untick the box [_] next to the object. Otherwise, go to the next step.

  • After the scan has finished... click on the Clean button.
    • Answer OK to the "close all programs" prompt, then follow the onscreen prompts.
    • Answer OK to the "restart the computer" prompt to complete the removal process.
      >> The AdwCleaner[S#].txt log is opened in your default Text editor when the machine has restarted.
      [R#] gets incremented every time you run AdwCleaner - the highest number is the most recent.
    .
  • Paste the entire AdwCleaner log in your next post.
    AdwCleaner logs are located in the C:\AdwCleaner folder if you need to reference them again
Yeh, did the remove when reboot the system and restart like you said,

as for adwcleaner,

Script:
# AdwCleaner v3.310 - Report created 19/09/2014 at 10:50:11
# Updated 12/09/2014 by Xplode
# Operating System : Windows 7 Home Premium Service Pack 1 (64 bits)
# Username : Nick - NICK-PC
# Running from : C:\Users\Nick\Desktop\AdwCleaner.exe
# Option : Clean

***** [ Services ] *****


***** [ 
Files Folders ] *****


***** [ 
Scheduled Tasks ] *****


***** [ 
Shortcuts ] *****


***** [ 
Registry ] *****


***** [ 
Browsers ] *****

-\\ 
Internet Explorer v11.0.9600.17280


-\\ Mozilla Firefox v32.0 (x86 en-US)

File C:\Users\Nick\AppData\Roaming\Mozilla\Firefox\Profiles\oznncy0f.default\prefs.js ]


-\\ 
Google Chrome v37.0.2062.120

File C:\Users\Nick\AppData\Local\Google\Chrome\User Data\Default\preferences ]

Deleted [Search Provider] : hxxp://search.aol.com/aol/search?q={searchTerms}
Deleted [Search Provider] : hxxp://www.ask.com/web?q={searchTerms}

*************************

AdwCleaner[R0].txt - [932 octets] - [19/09/2014 10:45:58]
AdwCleaner[R1].txt - [991 octets] - [19/09/2014 10:49:32]
AdwCleaner[S0].txt - [1059 octets] - [19/09/2014 10:50:11]

########## EOF - C:\AdwCleaner\AdwCleaner[S0].txt - [1119 octets] ########## 

Maybe it's really something impossible to delete... lol... I ran malwarebyte as well, found nothing.
My System SpecsSystem Spec
.

18 Sep 2014   #14
nick0920

Window 7 Home 64 bit
 
 

Quote   Quote: Originally Posted by Callender View Post
Well if it's not the drive that contains Windows it's probably time to make an image backup of all your drives before further attempts. If nothing else is in the same directory you can also try deleting the directory instead of the file.

Run the suggested malware scan though!

Yep i tried deleting the directory, that "hehe" directory have nothing other than that questionable system file.
Ran Malwarebyte and AdwCleaner
My System SpecsSystem Spec
19 Sep 2014   #15
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Another idea

I have another idea but need some info. If you inspect the file properties does it show any extension?

It might be possible to use a different tool to replace the problem file with another file. The problem is that you'd need to create a dummy file with the same name and extension using notepad in order to replace it.

Here's the tool needed if you want to give it a go:

http://www.technibble.com/sysmate-re...-system-files/
My System SpecsSystem Spec
19 Sep 2014   #16
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Please follow the advice of one member in the order that advice was given, including any follow-up analysis or suggestion.

Callender suggested technibble - follow that path before anything offered here.

An orderly approach to trouble shooting is the only way to maintain sanity


From the picture in post# 9, the file has no extension. It has the system attribute set and it has been around for quite a while (modify 2013-01-07)
Cant delete file and folder , even with cmd-speccharsysfile.png
Nick, please post the attributes of the file
command prompt
f:
cd \
attrib hehe\*.*
exit

There are a few ways to get around Windows - both require booting to another device.
Windows Repair Disc
--OR--
Linux flash drive.
1. Download the Rufus bootable USB drive creation utility
Rufus home page
Rufus FAQ
2. Download the Linux Mint Mate ISO
Select a download mirror from the pages below that is nearest your location to lessen download time
Linux Mint Mate 32 bit (32 or 64 bit machines)
Linux Mint Mate 64 bit (only 64 bit machines)
Linux Mint Mate documentation [PDF]
3. Create a bootable USB thumb drive using Rufus and the Linux Mint Mate ISO
Mint Mate is 1.3 GB, so you need a thumb drive with at least 2 GB.
Creating a bootable thumb drive erases all data on the thumb drive.
If you have data on the thumb drive that you need, move it to your Hard Drive or burn it to an Optical Disc.
  1. Connect the USB thumb drive to a USB port
  2. Launch Rufus
    Cant delete file and folder , even with cmd-00-20rufusmintusb.png
  3. The fields in Rufus are filled in with defaults. The defaults work well, but a few things need to be verified or changed.
    1. Verify that Rufus selected the thumb drive you want to write. Change the Device if the wrong USB thumb drive is presented in that field.
    2. Change Create a bootable disk using from the default to ISO image
    3. Select Linux Mint Mate ISO as the source. The file should appear on the status bar
    4. unTick Create extended label and icon files
    5. Compare your Rufus window with the image above. If everything other than the Device field are the same, then continue to the next step. Note that the ISO name in the status bar is subject to change as new versions are released
    6. Press the Start button
  4. The status bar notifies you when the process is Done
  5. Press the Close button

Leave the Linux Mint Mate thumb drive connected for the next steps
4. Boot to Linux Mint Mate
Save any files you are working on, then Restart your machine
Check your machine documentation to determine the key that brings up the Boot Order startup menu. This example is from an HP laptop that assigns it to the F9 key.
When the machine begins to start again (black screen) tap the F9 key to bring up the Boot Order startup menu. There is only a short time to "catch" the Boot Order menu. If Windows starts, you will have to try again.
Whichever boot you decide on, there is probably still a permissions issue - you'll need to change the attributes / permissions before you try to delete the file.


Even if you get the file removed, you still need to determine where it came from ... is it malicious? I believe it is, but Malwarebytes and AdwCleaner came back clean.

I would try the following before resorting to the boot option above, but it's your choice.

There are a few other utilities you might want to try
warning   Warning
Before running any repair utility:
  • Save any open files
  • Close ALL applications
  • Disconnect from the Internet unless the application requires a connection
  • If the application prompts you to restart your system - restart your system.

Old Timer-Temp File Cleaner (TFC)
Restart your machine in case there are any system operations pending

Old Timer-Temp file Cleaner (TFC)

Note   Note
This utility
  • is a standalone application, there is no install.
  • does not require a connection, please disconnect after the download has completed.


1. Click on the Save button on the Do you want to run or save ... action bar to save the package in your Downloads folder.

For example: C:\Users\Dad\Downloads

2. Click the Open folder button when the ... download has completed action bar is presented
Right click TFC (it should be highlighted) and select run as administrator
--> Answer Yes to the UAC dialog window

Save your work and close all open windows.
TFC will close ALL open programs including your browser!

3. Click the Start button to begin the cleaning up temporary files and folders.
Do not work on other things while TFC is running - most applications use some sort of temporary files. Just let TFC run by itself on the machine until it completes.

If TFC prompts you to reboot, do so immediately.
If TFC does NOT prompt you, then reboot your machine immediately after TFC has completed.

RESTART your machine after running TFC
Junkware Removal Tool (JRT)
information   Information
Author's page: Malware Analysis and Removal: Junkware Removal Tool (JRT) Released - Freeware

About
Many of the infections we see on the forums and in the work environment nowadays involve a user that has an unwanted program, toolbar, or browser helper object (BHO) on their computer.

Some examples include (but not limited to):
Ask Toolbar, Babylon, Browser Manager, Claro / iSearch, Conduit, Coupon Printer for Windows, Crossrider, Facemoods / Funmoods, iLivid , IncrediBar , MyWebSearch, Searchqu, Web Assistant

The tool is designed to remove all traces of these types of programs which includes services, registry values, registry keys, files, and folders. The tool will also restore some default settings for Internet Explorer and Mozilla FireFox. Google Chrome is not supported (perhaps in future).

The tool is non-interactive so the user can simply open it by double-clicking and wait for the log report (JRT.txt) to open when the tool is finished.

A copy of the log is saved to the user's desktop incase you want the user to attach the log.


Note   Note
This utility
  • is a standalone application, there is no install.
  • does not require a connection, please disconnect after the download has completed.


Junkware Removal Tool (JRT)

1. Click on the Save button on the Do you want to run or save ... action bar to save the package in your Downloads folder.

For example: C:\Users\Dad\Downloads

2. Click the Run button when the ... download has completed action bar is presented
--> Answer Yes to the UAC dialog window

3. JRT opens a Command Prompt widow which displays some operational information. Read the screen and press any key when you're ready to continue.

4. The scanner initializes and runs. When JRT finishes, it reports the status of the scan in the Command Window and presents the log in your default text editor.
-> Save the log as JRT_SFProfileName.txt
For example: JRT_Slartybart.txt

RESTART your machine after running JRT

5.Attach the log file to a new post on your thread.

Attach the JRT log


My System SpecsSystem Spec
19 Sep 2014   #17
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
File extension

Quote   Quote: Originally Posted by Slartybart View Post
Please follow the advice of one member in the order that advice was given, including any follow-up analysis or suggestion.

Callender suggested technibble - follow that path before anything offered here.

An orderly approach to trouble shooting is the only way to maintain sanity


From the picture in post# 9, the file has no extension.
Note: If the file has no extension it can't be replaced using my suggested method! So skip that!
My System SpecsSystem Spec
19 Sep 2014   #18
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Quote   Quote: Originally Posted by Callender View Post
Note: If the file has no extension it can't be replaced using my suggested method! So skip that!
I made that statement based on the screen shot - I don't know how PowerTool presents the data.
If the file name and file type is presented in the same column or if there is a separate column for file type.

That's where your expertise with PowerTool comes into play, Chris. If you don't think the method you suggested will work, then Nick should run the two utilities (TFC & JRT) before trying the alternate boot options I gave.

A completely different tact would be to move all good data off of the F: partition, delete the F: partition, and then recreate the F: partition and move the good data back. The only issue with this would be if there is malicious code on the machine - the funky file would probably be recreated either on the F: partition or somewhere else (same issue as using an alternate boot to clean the file though).

I guess we'll have to wait for feedback from Nick on how he wants to proceed.

Bill
.
My System SpecsSystem Spec
19 Sep 2014   #19
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Power Tool

Power Tool - it shows extensions and any hidden or super hidden files so the mystery file appears not to have an extension! I see some strange characters after the detected file name but they make no sense to me.
My System SpecsSystem Spec
20 Sep 2014   #20
nick0920

Window 7 Home 64 bit
 
 

Thanks guys, at the moment , I'm not anywhere near my computer. Will try again when I get back. Cheers.
My System SpecsSystem Spec
Reply

 Cant delete file and folder , even with cmd




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Delete file/folder bug??
Hi, This is a strange issue, i know, but it has happened to me at least 4 times on 2 different machines, with different hardware, one with Win7 x64 Premium, the other Win7 x32 Pro. Lets say you have 20 files and folders inside the Downloads folder. What has happened to me is that I was...
General Discussion
Unable to delete a file,can't delete it can't shred it,
I looked at my firewall events earlier and i saw a file had been trying to connect to the internet but had been blocked by my firewall. Whenever i install a program i am unsure of i block the exe file from connecting to the internet until i'm happy its a safe program. The file is...
General Discussion
unable to delete folder and can't read from source file or disk
hello. i am facing two kindsa problem with my ext hard disk! 1. there's a folder in my seagate 1tb goflex external hard disk, which am unable to delete. wen i checked the properties it showed that the space occupied by the folder is 1.5PB!!!! its ridiculous n strange at the same time! if i try...
General Discussion
Not able to delete folder in folder infinite structure.
I was using Netbeans IDE and xampp, It crashed when I moved a project using its function, and when I checked out the folder it had infinite folder in folder structure. Its not possible to delete it , I can not open more than below . . ...
General Discussion
Can't rename, delete or move folder or file
Since 2 days, in a certain folder, I cant rename, move or delete folders or files. Now, it has spread to my desktop as well. If I rename a folder, even a new folder, the name changes ''magically'' within seconds to restore to its previous name. If I move the folder or file, it comes back and if I...
BSOD Help and Support
Is there a way to delete multiple folder file entries?
I have probably hundreds of the following files in various folders on my system: NO.NAME.Directory.Output.Page.html Is there a way I can bulk delete any/all fileson my PC with the above name ? Thanks...Tim
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App