Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Sunday, May 17, 2015

"PwNative program not found" after copying partitions

This error happens when using MiniTool Partition Wizard to move or copy a Windows OS to a new partition:

pwnative program not found 
autocheck program not found

To fix this bug, just overwrite your new
\system32\config 
files with the ones in the
\system32\config\RegBack
folder.

Assuming that your new Windows is on the D: partition, do this in a DOS window:

d:
cd d:\windows\system32\config \
xcopy RegBack\*.* 
 Or else, fire off Explorer from another boot drive and fix it manually.

Thursday, April 9, 2015

Delete invalid files or folders in Windows

 Got a file or folder with a funny name that is impossible to rename or delete in Windows?

e.g. this "Foldernamewithaspaceattheend " or "filenamewithadot." ?

Try typing this in the DOS command window:

rd /s "\\?\[Drive:]\fullpath\[folderfunnyname]"

del  "\\?\[Drive:]\fullpath\[funnyname]"


e.g.
del "\\?\C:\SD Recovered\com.sec.android.widgetapp."

Other options -  download this or boot to Linux.

Tuesday, January 22, 2013

Removing all hidden devices at once in Windows



Oftentimes, after you remove a device in Windows, its traces stay and mess up the system. It is especially troublesome with new ports or network interfaces: you may end up with a Port #101 or Network Adapter #202. Such numbers are not compatible with some older software, which expects comm ports numbers from e.g. 0 to 10.
I have finally found a nice way of removing them in one fell swoop.
First, check how many hidden devices your computer may have.
1. Add this line 
devmgr_show_nonpresent_devices = 1
to the list in the Windows Systems Environment variables window
Additional Devmgr parameter


2. In the Device Manager select the Show Hidden Devices option:

Ghost device in Device Manager


You may click and remove them one by one or automate the process...

3. Download Devcon from Microsoft and read its Help.



Your screen may blink. You will also notice that drivers of any inactive plug and play peripherials (printers, scanners) will need to be reinstalled upon reconnecting. But on the other hand you will have regain access to COM X virtual ports, where X =<10...