[GUIDE] How to delete Windows.old folder - Windows 10, 8, 7, XP etc.

Had serious troubles deleting Windows.old folder. The Windows 10 on-board tools didn't remove it. Also afterwards running DOS-commands
Code:
attrib -r -s c:\windows.old /S /D
rd c:\windows.old /S /Q
which I ran as Administrator didn't work: Always hundreds of messages "Access denied" got.
Finally found the solution to get successfully deleted Windows.old folder. All one needs are two tools, available for free in the Internet ( A .REG-file and an .EXE-file ).
HOW-TO:
1. Unpack the included Unlocker1.9.0-portable .ZIP-archive to any HDD/USB-stick location of your choice
2. Install the .REG-file Add_Take_Ownership_to_context_menu, i.e. click on it
3. Navigate to folder Windows.old, right-click on it and run "Take ownership"
4. Open Unlocker
5. Drag Windows.old folder on it
6. Select Delete as action to perform
After some time (hours?) you should get message "Success. Object deleted".
FYI:
I packaged the 2 tools into a .ZIP-file. If you are interested in, then you can download it from here
Thought I should share it.

Thanks been wondering how to get rid of it. It's been taking up to much space
Sent from my N9518 using Tapatalk

without install anything you can delete folder and no hours-waiting
just use cleanmgr.exe
alt+r and type cleanmgr
choice the drive where older windows are located (usually c:\)
then click on system file cleaning (maybe you can read something like this 'cause my system language is italian)
in "file to delete" list just check "older windows versions"
hit ok and that's it

tyler200298 said:
without install anything you can delete folder and no hours-waiting
just use cleanmgr.exe
alt+r and type cleanmgr
choice the drive where older windows are located (usually c:\)
then click on system file cleaning (maybe you can read something like this 'cause my system language is italian)
in "file to delete" list just check "older windows versions"
hit ok and that's it
Click to expand...
Click to collapse
I guess that's easier
Sent from my N9518 using Tapatalk

heet1 said:
I guess that's easier
Sent from my N9518 using Tapatalk
Click to expand...
Click to collapse
I totally agree with tyler, It is easier using the disk clean-up utility. I just have a little correction. Use the Windows key + R key to open the disk clean up utility not alt + r. If you have any problem, quote me

Gadtech said:
I totally agree with tyler, It is easier using the disk clean-up utility. I just have a little correction. Use the Windows key + R key to open the disk clean up utility not alt + r. If you have any problem, quote me
Click to expand...
Click to collapse
ops, thanks for correction

jwoegerbauer said:
Had serious troubles deleting Windows.old folder. The Windows 10 on-board tools didn't remove it. Also afterwards running DOS-commands
Code:
attrib -r -s c:\windows.old /S /D
rd c:\windows.old /S /Q
which I ran as Administrator didn't work: Always hundreds of messages "Access denied" got.
Finally found the solution to get successfully deleted Windows.old folder. All one needs are two tools, available for free in the Internet ( A .REG-file and an .EXE-file ).
HOW-TO:
1. Unpack the included Unlocker1.9.0-portable .ZIP-archive to any HDD/USB-stick location of your choice
2. Install the .REG-file Add_Take_Ownership_to_context_menu, i.e. click on it
3. Navigate to folder Windows.old, right-click on it and run "Take ownership"
4. Open Unlocker
5. Drag Windows.old folder on it
6. Select Delete as action to perform
After some time (hours?) you should get message "Success. Object deleted".
FYI:
I packaged the 2 tools into a .ZIP-file. If you are interested in, then you can download it from here
Thought I should share it.
Click to expand...
Click to collapse
Or just use the disk cleanup tool that's built in with Windows. Click clean system files and check ☑ delete previous installation of Windows (windows.old folder)

Yaakov Brea said:
Or just use the disk cleanup tool that's built in with Windows. Click clean system files and check ☑ delete previous installation of Windows (windows.old folder)
Click to expand...
Click to collapse
I was just about to comment this. I wouldn't recommend deleting Windows.old until AFTER running Disk Cleanup, clicking on Clean System Files and deleting previous installation of Windows.

tyler200298 said:
ops, thanks for correction
Click to expand...
Click to collapse
Yeah, that also works too

I successfully got rid of it.... (May be harder then both methods though). In win10, there is a reset feature in settings. Just do this reset and tell the system to save nothing. Now I know that means starting over but you get the cleanest install of win10 possible )something like 10gb) without extra programs taking up space. Also I figure if your reading this, you should be affluent at installing drivers and such. If you don't have the drivers for your computer, they are usually available from the website of the manufacturer. I keep driver and program download backups...
Sent from my SM-G935V using XDA-Developers mobile app

Related

Need Mac Beta Testers: Interface for Pushing Files

Hello,
I need beta testers running Mac OS X to test a new application.
This application is for people who are either uncomfortable or unwilling to use Terminal and ./adb for pushing files to their device.
This first beta version is just to test how it works on different computers. It pushes the file to the sdcard of the phone using ./adb. The only input needed from the user is to select the file.
Later releases will let the user choose which folder on the device to copy to, but the next release will probably just involve pushing .apk to the /system/app folder.
Please let me know the results.
http://derekcwilkinson.com/PushFile.zip
Beta 2:
http://derekcwilkinson.com/Push_File_Beta_2.zip
Change Log:
Added option to choose the location that the file is to be pushed to.
Added Recovery application
Added Reboot application.
Planned Updates:
Pull File - Ready
Device Backup - PM me if you know a good way to backup with ./adb (mine is taking too long)
Device Backup w/SD - PM me if you know a good way to backup with ./adb (mine is taking too long)
Install .apk - testing
Uninstall .apk - testing
Restore Backup - going to take awhile (need to get device backup working first)
Restore Backup w/SD - going to take awhile (need to get device backup working first)
Flash ROM - testing
is this an actual program or a script?
Works fine for me
mrchu001 said:
is this an actual program or a script?
Click to expand...
Click to collapse
It's a program that runs a script
It's just a test to see how it works, I will turn it into a more "real" application later.
I've updated it to Beta 2
I'm copied/pasted the android folder into /User/document but when i run "Push File With Location" show this error message -->
( iMac Snow Leopard v.10.6.3 build 10D573
@rainbow
same thing happening to me!
rainbow2112 said:
I'm copied/pasted the android folder into /User/document but when i run "Push File With Location" show this error message -->
( iMac Snow Leopard v.10.6.3 build 10D573
Click to expand...
Click to collapse
Hmm, strange, I haven't had any beta testers have this issue.
Is the phone connected with USB debugging?
derekwilkinson said:
Is the phone connected with USB debugging?
Click to expand...
Click to collapse
Yes, I have always flag on debugging USB mode.
rainbow2112 said:
Yes, I have always flag on debugging USB mode.
Click to expand...
Click to collapse
Try this, and tell me where the error comes up.
http://derekcwilkinson.com/PushFileSource.zip
derekwilkinson said:
Try this, and tell me where the error comes up.
http://derekcwilkinson.com/PushFileSource.zip
Click to expand...
Click to collapse
When run this, automator show this windows ...
rainbow2112 said:
When run this, automator show this windows ...
Click to expand...
Click to collapse
Ah, you're using a different language. That could be the problem. Is the folder path still /Documents/Android/SDK/tools on your computer?
Also, when you run it in Automator, where does the error occur?
derekwilkinson said:
Ah, you're using a different language. That could be the problem. Is the folder path still /Documents/Android/SDK/tools on your computer?
Also, when you run it in Automator, where does the error occur?
Click to expand...
Click to collapse
The folder path in my iMac is /Users/Rainbow/Documents/Android/SDK/tools
the error occur after a few seconds after click OK after choosing the file to be sent to MemoryCard
Okay, if it doesn't occur until then, that means it sees the device and android SDK. Is the SD card mounted on the computer? are you copying to /sdcard/ as the file path?
derekwilkinson said:
Okay, if it doesn't occur until then, that means it sees the device and android SDK. Is the SD card mounted on the computer? are you copying to /sdcard/ as the file path?
Click to expand...
Click to collapse
No, sdcard no is mounted.
i don't understand this_ " are you copying to /sdcard/ as the file path?" sorry
When that window pops up (the one in your screenshot) are you putting /sdcard/ in the text box?
im going to try your app out =]
excited.
Sick of windows..
I am so sick of using a windows computer to do anything on my Hero so as soon as I get home tomorrow I will be trying this out on my system. SL 10.6.4 and I will be so happy to do it..
404 File not found. I'd love to help test this - can someone please re-upload the zip?
Edited 1/16/11
I'm using root explorer so this isn't really necessary for me anymore.
cloudstrife7 said:
404 File not found. I'd love to help test this - can someone please re-upload the zip?
Edited 1/16/11
I'm using root explorer so this isn't really necessary for me anymore.
Click to expand...
Click to collapse
I'm a bit confused--PushFile is for pushing files from your Mac to phone (in other words, a computer-side application), while Root Explorer is a file manager for the phone (a phone side app), that, unless I've missed something, does not replicate the functionality that PushFile attempted to provide. Am I missing some cool new feature of Root Explorer that lets you easily transfer files from your Mac to your phone?

No instant root for Hero under 2.1?

There was an application called instantroot that roots HTC hero running 1.5 but until the software was upgraded nothing was done for the instantroot application. Do you have information about that? Is the developer still working on it?
rapsass said:
There was an application called instantroot that roots HTC hero running 1.5 but until the software was upgraded nothing was done for the instantroot application. Do you have information about that? Is the developer still working on it?
Click to expand...
Click to collapse
Not heard of it for a while, but this method at http://forum.xda-developers.com/showthread.php?t=726118 works on 2.1 fine with little issues.
Thanks but I'm still looking for a very easy way to do the root. I don't know why(may be I'm afraid) but I still hesitate to root my hero. I'll think about it again, thank again.
Following that link pulser gave will give the easiest way to root your hero.
Its thanks to that I'm able to root it with no problems whatsoever.
Good Luck!! Don't let yourself stay unrooted!!!
Ok. I'll try later as the villainrom web site is not reachable now.
rapsass said:
Ok. I'll try later as the villainrom web site is not reachable now.
Click to expand...
Click to collapse
Hmm. Are you having trouble too getting onto the site?
Here's the instructions as posted.
Hi all,
I believe I have managed to find a way to root the 2.1 RUU for GSM Hero, completely using the work of wag3slav3 over at XDA (http://forum.xda-developers.com/showthread.php?t=724741), so thanks to him
I took his Droid Eris root and used the correct files for our Hero, and thanks to daentech on IRC, we tested the process and it worked. Here are the conditions used in the test:
1) GSM HTC Hero installed with the 2.1 ROM based on RUU (on this occasion an update.zip was used, as the user involved didn't want to lose root obviously). That zip is unrooted and stock, taken straight from the RUU and converted to update.zip.
2) Booted into ROM, and enabled USB debugging. ADB was installed and set up on this machine, as per this guide - http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735
3) Then downloaded this file: http://www.villainrom.co.uk/uploads/GSMRoot.zip
4) Extract it to a folder on your computer. Open the command prompt using Start > Run > cmd.exe (and press enter)
5) use cd to get into the folder you stored the extracted files.
6) Run the command "runindos.bat"
(If you use linux, put adb in your path folder, and then download this shell script: http://www.villainrom.co.uk/uploads/runinlinuxadb.sh and execute it as normal. Rest will be same as in windows. )
7) Ideally, the phone should sit there for a bit, with some things appearing on screen like
Files copied and permissions set, rebooting HTC Andriod 2.1
Your phone will now reboot into normal mode, then reboot into recovery mode
If it does not reboot the second time, wait 10 minutes and manually reboot and begin again
Your phone is now rebooting in Rooted Recovery mode, do a backup and load yourROMs
Click to expand...
Click to collapse
And it will reboot a couple of times. You will hopefully end up sitting in recovery with a blue 'care bear' in the background
If so, you now have a custom recovery installed. Do a nandroid, and flash a custom ROM like VillainROM 12 or whatever. You should now have root.
8) To further enhance the usefulness of recovery flash VR 12 from here: http://villainrom.co.uk/viewtopic.php?f=95&t=1807 which includes a modified recovery that wipes better than the stock Amon-Ra
If you don't get it to work, please post any errors or details of what happens, and copy and paste your entire command prompt window contents into a
Code:
[/quote] box in the forum window so we can see what's happening.
Hope this works
[size=3]PS. Here are some ROM links for you.
http://villainrom.co.uk/viewtopic.php?f=95&t=1807 - VillainROM 12 (Full Sense 2.1 ROM)
http://www.villainrom.co.uk/viewtopic.php?f=45&t=2844 - FroydVillain 1.1.0 (Vanilla 2.2 Froyo ROM)[/size]
[/quote]
If you can't download the file, get it from http://dl.dropbox.com/u/7618177/GSMRoot.zip
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Oh man thank you. I wonder if I must install ADB to root my phone. I ask this because I still can't reach villainrom web site to check this guide http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735
rapsass said:
Oh man thank you. I wonder if I must install ADB to root my phone. I ask this because I still can't reach villainrom web site to check this guide http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735
Click to expand...
Click to collapse
If you find the user btdag, his signature has the same guide, as he wrote it on both sites. I just use that link as it's easier to find.
pulser_g2 said:
If you find the user btdag, his signature has the same guide, as he wrote it on both sites. I just use that link as it's easier to find.
Click to expand...
Click to collapse
I would love to take credit for that guide but the user ante0 created it (such a simple method I overlooked). Here is it quoted. It is missing pictures but should make enough sense (i hope). It is highly recommended to have the latest HTC Sync installed (link in my sig) for this guide.
Tools needed:
Android SDK (Links below)
HTC Sync (Links below)
Winrar - to extract Android's SDK files.
Patience and time.
1. Getting ADB (Android Debug Bridge)
Okay. You now need to get ADB, which is a part of android's SDK. It can be obtained here http://developer.android.com/sdk/downlo ... indows.zip
or if it's updated when you read this you can go here http://developer.android.com/sdk/index.html and download it. Get the Windows version if you use a windows PC.
Next we need to "install" it. This is done by simply extracting it to your harddrive (Install WinRar, then rightclick on the zip file). I chose C:\android-sdk-windows\. (Actually I chose C:\, the folder in the zip is named android-sdk-windows, so it goes there by default.)
After that is done we are now done with the "installing" part.
2. Setting up environment variables (access adb from outside of \sdk\tools directory.)
Now that we have extracted all files we need to set up environment variables to make our lives easier.
I always do this, because if you don't you need to be in the sdk\tools folder at all times...
Okay, so here we go...
Windows XP:
Rightclick on "My computer" and select "Properties".
click on the "Advanced" tab in the box that appears, looks like the pic below.
Image
Click on the button named "Environment Variables".
Now, doubleclick on the text entry named "Path" in the lower list box.
at the end of it, enter "might\have\other\entries\before\;C:\Path\To\SDK\Tools".
In my "path" it looks like this ";C:\android-sdk-windows\tools\".
(";" is required at the start so windows knows it's a new entry.)
Click on OK to exit out of the dialog, then OK again to get out of My computer's properties.
Now we have it set up.
Windows 7/Vista:
This is similar to Windows XP's setup of environment variables.
Rightclick on "My computer" and select Properties.
In the System window that appears click on "Advanced System settings" located in the left list.
Click on the Advanced tab in the box that appears, then on the "environment variables" button.
Same thing here. Doubleclick on "Path" located in the lower list box.
At the end of it, enter "might\have\other\entries\before\;C:\Path\To\SDK\Tools".
In my "path" it looks like this ";C:\android-sdk-windows\tools\".
(";" is required at the start so windows knows it's a new entry.)
Now click on OK, then OK again to exit.
Alright, all set up!
3. Making sure USB works...
Use this guide: viewtopic.php?f=15&t=379
4. Using ADB
I won't list all commands you can use here. I will only list some examples...
Remember to plug your phone in your usb cable (I've forgotten sometimes... lol)
Start by opening a command prompt.
This is done by opening up the startmenu then click on "Run..." (Alternative way: Windowskey + R).
In the "Run..." box, enter "cmd" without quotes.
If you have some knowledge of using a cmd prompt you don't need to read the next part.
To navigate you mainly use the commands CD and DIR.
Here's an image of what it looks like
Image
C:\Documents and settings\jwork> tells you what your current working folder is.
To get out of it, use the command "cd ..".
This will go back one folder, so your new location will be C:\Documents and settings>
One more "cd .." will take you to C:\.
Now, lets say you have a folder named Images in C:\. To enter it you use "cd Images".
If you want to list all files in that folder, enter the command "dir".
Now you might have a image named image01.jpg in that folder, that you want to get to your phone.
Use the command adb push image01.jpg /sdcard/
It should notify you now if the push was successful.
You can check if the image is on your sdcard by using the command "adb shell ls /sdcard/".
That should conclude this guide...
One more thing, if you just enter "adb" it will show a list of all commands with descriptions.
Click to expand...
Click to collapse
Have you ever heard of Universal Androot? It is only one click away to root your hero2.1.
It's working on my hero.
Universal Androot? Never heard of it. But it looks great and easy. Can I also install another firmware after I root my device with it?
Can I install another firmware like FroydVillain 1.2.2 OTA on my hero after rooted it with this application?
If it installs a custom recovery image then yes you should be able to. If not try installing ClockworkMod and then installing AmonRA - once you have root.
You are the best. Thank you.
Application thread in the Nexus forum. Worked on my Hero 2.1 for instant root.
http://forum.xda-developers.com/showthread.php?t=747598

[GUIDE] Win 95/98/XP and Linux OSs (Knoppix/Ubuntu/Redhat etc) on your Android!!!

Yes ! Now you can run x86 based operating systems on your ARM device.
Now you can have full desktop windows/linux experience on your Android smartphones.
The windows 95 works great on my EVO 3D
Instructions :
1.Download and install Bochs2_5_1.apk (stable but slower) or QEMU.apk (unstable but faster)
2.Download SDL(BOCHS).zip for Bochs2_5_1.apk and SDL(QEMU).zip for QEMU.apk and extract on root of sdcard , so path should be sdcard/SDL/*.*
3.Put a disk image of type ".img" of any operating system in SDL folder and rename it to "c.img" (tested : win 95/98/XP ----------------Linux OSs like Ubuntu/Knoppix/redhat etc can also be used)
4.Run Bochs or LibSDL from appdrawer. Let it boot (takes a while) and enjoy.
How to Create .IMG from .VHD disk image in Second Post
----------------------------------------------------------------------
Instructions (BOCHS) : (i forgot to post the instructions so thanks to HDD_x8 for posting this)
- The screen works as touchpad to control the mouse cursor and volume up/down works as left/right click.
- You can also tap the screen to generate left click.(this does not work everytime)
- Back = BackSpace, Menu = Enter, left-upper corner click generates TAB
- left-lower corner click popups keyboard
( For a desktop like experience use this keyboard -> Hackers Keyboard )
-Create a folder called "HDD" on the root of your SDcard and put your softwares/files or anything in there. When you boot windows, then in "My Computer" you will see "d" drive which will have the "HDD" folder contents. So you can install/use them in Windows.
-----------------------------------------------------------------------
----------------------------------------------------------------------
Instructions (QEMU):
- The screen works as touchpad to control the mouse cursor.
- You can also tap the screen to generate left click (right click is not possible AFAIK) .
- Back = BackSpace, Holding Menu = popups keyboard
( For a desktop like experience use this keyboard -> Hackers Keyboard )
- No custom files can be used as of now, will find a way and post here again.
----------------------------------------------------------------------
MHL to HDMI out tested and confirmed working (thanks to HDD_x8 again.)
Some freeware disk images can be found here or here (not sure if any of them will work as i have not tested , only win 95/98/XP are tested.)
How to Create .IMG Disk Image from .VHD
1. Download ISO Recorder
2. Mount the VHD
-Windows 7
-Go to your start menu, right click on Computer, and choose 'manage'
-On the left, click on 'Disk Management' (may take a few moments)
-Click on 'More Actions' and choose 'Attach VHD'
-Choose your VHD
3. Open Windows Exporer
4. Right click on the newly mounted VHD and select 'Create ISO Image File' and when saving, choose save as any file type.
5. Save as c.img
Thanks to chessmaster W/nook for posting these instructions
I found this somewhere on a non English site, so I translated it via google.....Much part of the guide is understandable.
(Instructions)
Download QEMU for companies
Create a folder on the C drive and extract all the qemu from the archive there.
(Go to the folder in the console)
(hard way)
Win XP: Start> Run> cmd
Win 7: The push buttons Win + R, write cmd and click on OK
Writing in the console
Code
cd c: \ qemu
(easy way, but it only works on Win 7)
Go to the folder qemu (not necessarily on drive C)
Hold down Shift, click on the empty space of the open folder, right-click
In the menu click on "Open Command Window"
Create an image of your hard disk - write to the console
Code
qemu-img create-f raw disk.img 2000M
(Where)
disk.img - the name of the hard disk
2000M - the size in megabytes (the size can be anything, if only Windows was placed, but just the 2000M).
Create (. Iso) image c installation disk Windows XP (look in Advanced) and rename it to image.iso
Copy it to the folder c: \ qemu
If the c: \ qemu disk image is the image of the hard drive then run QEMU - write to the console
Code
qemu.exe-m 1024-boot d-cdrom image.iso-hda disk.img
(Where)
1024-m - amount of RAM available to QEMU
-Boot d - to boot from cd-rom
-Cdrom image.iso - our installation CD
-Hda disk.img - hard disk image
(Install windows as usual)
Format to NTFS required (do not be lazy is a very fast)
Creating a Windows completed.
Disk.img take out of the c: \ qemu and copy the smart
(Now set up the Smart)
Download BOCHS for Android
Download the SDL: SDL.zip (47.85 KB) Number of downloads: 240
Installation:
Install apk
Unpack the archive in the SDL sdcard / SDL
disk.img move to the sdcard / SDL
(Edit file bochsrc.txt)
Neither of which do not touch, but here:
# What disk images will be used
# Floppya: 1_44 = W98RUS.img, status = inserted
change the name of the image as follows:
# What disk images will be used
# Floppya: 1_44 = disk.img, status = inserted
and here:
ata0-master: type = disk, path = "c.img"
change to:
ata0-master: type = disk, path = "disk.img"
All store and run Bochs
We look forward to and enjoy!
Click to expand...
Click to collapse
Instead of being a douche...I want to thank you for sharing this...I didn't know you could do this thanks
Sent from my PG86100 using xda premium
What can you do with it.....when you get it to run 1 out of ten times?
bloodrain954 said:
yes! exactly what I want, an old out dated OS not designed for my device, sweet!
Click to expand...
Click to collapse
You do realize that in a developer based forum which XDA is (or was at least) you generally do things not because you have to but rather because you can. It's a shame some people don't get that. However, there are far FAR too many people that come here seemingly because they feel this is some kind of tech support site for them instead of going to Sprint or HTC for tech support.
Thanks always wanted to try this.
Sent from my PG86100
This looks like fun lol. Might try this to see what all works when I have some down time ar work.
@op
Can you give s few details on what all works with 95???
""Shooter on Deck""
Does it work in MS DOS mode? Lol.
Its cool that you figured this out, though I'm slightly confused why its 95 and 98.. I bet some people don't even know what those OS's are.
Nice job bud.
Thanks will be trying this!
Sent from my PG86100 using xda premium
Got it up and running literally 17 secs after finished downloading.
But then once I did, I had no idea wat to do with it. Can't do much, just cool to play with.
Thanks
Sent from my PG8610000 using xda premium
Oh the nostalgia...
Sent from my HTC Evo 3D
Gives me an idea for VIC 20 or C-64. Hmm...
Sent from my PG86100 using xda premium
Now, if we could only get ME to run on this........ XD
downloading now!!
LOL. Memories.
DarkManX4lf said:
What can you do with it.....when you get it to run 1 out of ten times?
Click to expand...
Click to collapse
Only windows 98 have that issue , 95 runs fine
EDIT: EVERYTHING RUNS FINE NOW WITH THE NEW VERSION.
codyisnottanner said:
Got it up and running literally 17 secs after finished downloading.
But then once I did, I had no idea wat to do with it. Can't do much, just cool to play with.
Thanks
Sent from my PG8610000 using xda premium
Click to expand...
Click to collapse
You can use the android keyboard and it works like win keyboard (like pressing backspace on keyboard takes back to previous folder,renaming etc) Hold menu button for keyboard to popup. And use it like a windows keyboard.Some ROMS have a keyboard with arrow keys which might work as well.
EDIT: NEW INSTRUCTIONS POSTED. CHECK THE OP
oohaylima said:
Now, if we could only get ME to run on this........ XD
Click to expand...
Click to collapse
Yes ME works but dont know about win 2000.. If any of you can get win ME/2000 or any other just post here and i will Update the OP.
laie1472 said:
This looks like fun lol. Might try this to see what all works when I have some down time ar work.
@op
Can you give s few details on what all works with 95???
""Shooter on Deck""
Click to expand...
Click to collapse
I havent tried every thing but everything that works in 95 should work (old DOS games/command prompt/old EXEs) But I Dont know how to install as our SDcard is not shown in "My Computer". There might be a way to access Sdcard from "My Computer"
EDIT: SDCARD CAN NOW BE USED AS A DRIVE IN "MY COMPUTER". CHECK THE OP.

Hidden WindowsApps folder

Hey guyz, my query is regarding the hidden C:\Program Files\WindowsApps folder which stores all the downloaded Windows Store Apps. Today as I had some issues with the Zune Videos app, I decided to uninstall it. After uninstall I usually manually check for left over files using the search utility. To my surprise I found that though windows had removed the videos app, related files were still lurking in the aforesaid foler along with files belonging to previously uninstalled apps. Now, the leftover files are taking up a lot of space around a GB of data. Is it safe to manually delete these folders and files belonging to uninstalled apps? Is there any utility that searches and removes such left over files?
Thnx!
Even if you uninstall preinstalled Microsoft apps ( and maybe other apps installed from store), they still remain in that folder, taking up a lot of space. I got the right permissions to enter the windows apps folder, but I cannot delete uninstalled apps, I need system permissions but it is hard to grant them, I read about using a boot linux distro I can do it. Anyone know how to delete those apps?
Inviato dal mio GT-I9300 con Tapatalk 2
OK, first of all, search before posting. This topic has been discussed to death.
Second, the reason for the old versions sticking around is because a new user account always has those apps pre-installed; if you delete them it breaks things.
Third, you can delete them easily by taking ownership (must be Admin to do this) and them editing the permissions. It's also possible to run a shell as TrustedInstaller, but that's a mess by comparison.
Sorry for noobishness, but what exactly are u referring to when u say a new user account? Is it a fresh windows install or creating a user from within windows? Also what things could break exactly?
Creating a user from within Windows... You may have heard of these things called multi-user operating systems? The NT family (including RT) supports multiple users. Your tablet sets up one user on initial configuration, but you can add more. Each one has its own username, password, home directory, etc. Each one also has its own Windows Store apps, but the binaries are all stored in the same place (C:\Program Files\WindowsApps).
Best case, the new user would either have a broken tile on their Start screen or would just not have access to one of the apps that is supposed to be present by default. Worst (likely) case, creating the new user would fail partway through, leading to a corrupted security configuration and registry. The real result is probably nearer the best case than the worst, but without testing - something I'm not going to do on my own hardware purely to satisfy curiosity - I can't say. It would be putting the system into an unexpected state, a condition outside what the developers likely ever planned for, and at that point the best you can hope for is a graceful failure that doesn't take anything else with it.
GoodDayToDie said:
Creating a user from within Windows... You may have heard of these things called multi-user operating systems? The NT family (including RT) supports multiple users. Your tablet sets up one user on initial configuration, but you can add more. Each one has its own username, password, home directory, etc. Each one also has its own Windows Store apps, but the binaries are all stored in the same place (C:\Program Files\WindowsApps).
Best case, the new user would either have a broken tile on their Start screen or would just not have access to one of the apps that is supposed to be present by default. Worst (likely) case, creating the new user would fail partway through, leading to a corrupted security configuration and registry. The real result is probably nearer the best case than the worst, but without testing - something I'm not going to do on my own hardware purely to satisfy curiosity - I can't say. It would be putting the system into an unexpected state, a condition outside what the developers likely ever planned for, and at that point the best you can hope for is a graceful failure that doesn't take anything else with it.
Click to expand...
Click to collapse
Please, how can i delete those apps ? i have admin permission but when i try to delete i get the message: System permissions requested...
Here's your answer!
I just did that, it does no work
Inviato dal mio GT-I9300 con Tapatalk 2
gaetanolip said:
Please, how can i delete those apps ? i have admin permission but when i try to delete i get the message: System permissions requested...
Click to expand...
Click to collapse
So after being told it could very well break things you still want to do it?
Is your HDD really that small that a GB is a noticeable loss when it comes to the piece of mind that your system will work correctly?
Here's one way using the commandline:
Press Win-X, run "Command Prompt Admin". Enter the colored text commands into the CMD console (copy-paste if you're a CLI newbie):
C:\Windows\system32>takeown /f "c:\Program Files\WindowsApps" /r /d y (take ownership of folder)
C:\Windows\system32>icacls "C:\Program Files\WindowsApps" /grant administrators:f /t (give yourself full access rights to folder)
Now you can delete stuff in the folder. Let's nuke a Zune folder. I hate those ad-ridden crap anyway.
C:\Windows\system32>cd "C:\Program Files\WindowsApps" (change directory to said folder)
C:\Program Files\WindowsApps>dir/a/p (list folder content, pick a subfolder to nuke)
C:\Program Files\WindowsApps>rd /s/q Microsoft.Z<Tab>
CLI trick: Press Tab for filename completion. If more than one file fits the match, successive Tabs will cycle through the names. This shortcut is a lifesaver for CLI peeps. Anyway, so we get Microsoft.ZuneMusic_blahblah. Press Enter to kill ZuneMusic folder. (Yes, it's a dangerous command. Disclaimer of responsibility goes here.)
Suffice it to say, set a restore point beforehand.
After-action report: OK so after nuking the ZuneMusic folder, I made a new "Test" user. On the Start Screen (which I never use) I get IE, Store, File Explorer, and Desktop. This mirrored what I had on my main acct, so seems pretty normal. I then went and install the free MS Solitaire from Win Store. Works. I'll try nuking the rest of the Bing/Zune/Xbox crap and see what happens. (Yes, I backed up.)
AAR 2: OK I went and delete a bunch more stuff, including MS Solitaire folder I just installed. Went back out to the Start Screen and clicked on Solitaire tile. It went into a blank screen and bounced back out to the Start Screen. Right-click, Uninstall, and tile gone. No problemo. Went into Store again and install MS Mahjong. Works again.
Seems pretty cut-and-dried.
Ah cool, thanks for testing!
GoodDayToDie said:
Ah cool, thanks for testing!
Click to expand...
Click to collapse
hi,
syntax error for me
Microsoft Windows [Versione 6.2.9200]
(c) 2012 Microsoft Corporation. Tutti i diritti riservati.
C:\windows\system32>takeown /f "c:\Program Files\WindowsApps" /r /d y
ERRORE: Sintassi non valida. Il valore 'y' non è consentito per l'opzione '/d'.
Digitare "TAKEOWN /?" per informazioni sull'utilizzo.
C:\windows\system32>
translation : sintax error , y is not allowed for option /d
please help me i have a very small ssd...
It's a localization error. /r recurses on all subdirectories, and /d y (y for yes) bypasses the prompt to act on each subdir. My guess that you'd want to use /d s (for sì). Alternatively, you can leave out the /d y, and just confirm for each subdir.
To get parameter description for takeown or any command, enter at the prompt command /? > C:\command.txt, so for takeown, enter takeown /? > C:\takeown.txt. Then peruse the text file with Notepad.
If you have limited space want to minimize Win8 footprint, there are more substantive means to do so. One is to manually set a smaller pagefile with a WMIC command (subject to localization differences):
Set pagefile: wmic pagefileset where name="C:\\pagefile.sys" set initialsize=1024,maximumsize=1024
Check pagefile: wmic pagefileset
Reboot for it to take effect. The above sets pagefile to a fixed 1GB size; you can adjust to taste. You can of course adjust it via the usual GUI route.
Second is to reduce or remove the hibernate file. For a desktop, where power isn't an issue and you don't reboot often, my suggestion is to disable hibernate. When hib is disabled, fast boot is off, and booting will take slightly longer.
Disable hibernate: powercfg -h off
For laptops, you can reduce hibernate file size by up to 50%.
Set hibernate size to 50% of RAM (50% = min): powercfg -h -size 50
Personally, I also removed all the "reserved" partitions, and handle my own backup/restore with 3rd-party tools. For a tablet with SSD, this can recoup substantial space. But it's more involved, and best done during a fresh install.
Thanks very much I 'll try your tips and I 'll tell you.
I just reduced hibernate file , I can't touch recovery partition because I have a tablet that does not boot from external usb, you understand. Therefore I need a big pagefile, I have only 2 gb ram ...
Inviato dal mio GT-I9300 con Tapatalk 2
Great, it worked!
I want to add, after the first two steps, you can delete-modify every single folder via explorer . No need to use command line
Thanks
Inviato dal mio GT-I9300 con Tapatalk 2
dadad
e.mote said:
Here's one way using the commandline:
Press Win-X, run "Command Prompt Admin". Enter the colored text commands into the CMD console (copy-paste if you're a CLI newbie):
C:\Windows\system32>takeown /f "c:\Program Files\WindowsApps" /r /d y (take ownership of folder)
C:\Windows\system32>icacls "C:\Program Files\WindowsApps" /grant administrators:f /t (give yourself full access rights to folder)
Now you can delete stuff in the folder. Let's nuke a Zune folder. I hate those ad-ridden crap anyway.
C:\Windows\system32>cd "C:\Program Files\WindowsApps" (change directory to said folder)
C:\Program Files\WindowsApps>dir/a/p (list folder content, pick a subfolder to nuke)
C:\Program Files\WindowsApps>rd /s/q Microsoft.Z<Tab>
CLI trick: Press Tab for filename completion. If more than one file fits the match, successive Tabs will cycle through the names. This shortcut is a lifesaver for CLI peeps. Anyway, so we get Microsoft.ZuneMusic_blahblah. Press Enter to kill ZuneMusic folder. (Yes, it's a dangerous command. Disclaimer of responsibility goes here.)
Suffice it to say, set a restore point beforehand.
Click to expand...
Click to collapse
---
i type the two first commands but it still says access denied. what should i do?

[NST/G] [HOW-TO] Managing cacerts.bks

Part 1 (thanks to a new character limit...)
By now many of you know that the small file on the NST/G which contains web certificates (/system/etc/security/cacerts.bks) is slowly becoming out-of-date. The first important certificate to expire was for Amazon and that crippled the Kindle app until member @tshoulihane worked out a way to update the expired certificate. In 2020, one of the certificates needed to negotiate syncing of books with FBReader expired and I finally took the plunge and figured out how to update the certificate for that. Although @tshoulihane had provided directions in the original post, I was too dense to follow them correctly. Now, as promised, I am providing what I hope is an overly-explicit set of instructions (my specialty) so that anyone can do this, even when I am dead (!).
This guide is for Windows (10, in my case). If you're not using Windows you may be much happier but you'll have to figure this out for yourself. If you are using Windows, you know that we will have to wait for some of that happiness in the next life ;-)
Assembling the tools
jdk-6u45 (download-32 bit, download-64 bit). Oracle now requires a sign-up, etc., to get at these old files, so I have archived them.
bcprov-jdk15on-146.jar (download). This old file is required to make all the magic happen.
Setting up the tools
Install jdk-6u45, using defaults--unless you have some specific reason for changing things. Don't worry if you have other JDK versions installed. They can coexist. Once the JDK is installed, use Windows File Explorer to locate the installation, something like Program Files/Java/jdk1.6.0_45 (that could be Program Files (x86) if you installed the 32-bit version). Find the sub-folder "lib". If there isn't one, create it. Inside that folder create another folder, "ext" (if it doesn't already exist). Place in that folder the jar file you downloaded. So, just to be clear, you should end up with:
(64-bit) Program Files/Java/jdk1.6.0_45/lib/ext/bcprov-jdk15on-146.jar
(32-bit) Program Files (x86)/Java/jdk1.6.0_45/lib/ext/bcprov-jdk15on-146.jar
Looking at cacerts.bks (optional)
If you want to see what the "innards" of your cacerts.bks file looks like copy out /system/etc/security/cacerts.bks from your device to your PC (use some readily accessible directory like "Documents" or "Downloads"--someplace you have rights).
Open a Windows command prompt window. Execute the following:
Code:
cd C:\Program Files\Java\jdk1.6.0_45\bin
[for 32-bit: cd C:\Program Files (x86)\Java\jdk1.6.0_45\bin]
Windows 10 allows you to paste text into the command prompt window. I suggest you copy the following command to a text editor, adjust it to your situation, and paste into the command prompt window. Then hit Enter. The text is perilous to type and you can get very frustrated by small errors.
Code:
keytool.exe -keystore C:\Users\nmyshkin\Documents\cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "C:\Program Files\Java\jdk1.6.0_45\lib\ext\bcprov-jdk15on-146.jar" -storepass changeit -v -list > C:\Users\nmyshkin\Documents\calist.txt
Note that a path which contains spaces requires the use of quotation marks or you will get an error. You would need to replace "nmyshkin\Documents" with whatever path is correct for you.
The resulting text file (calist.txt) contains a list of all of the certificates and information about them, including their expiration dates.
Housekeeping
Some time ago I came across a Honeycomb ROM (last stop before ICS and cacerts which update on the fly) and extracted its cacerts.bks file, reasoning that it would be more up-to-date than our version. This proved to be true (the Amazon certificate, for example, has not yet expired), and there were also many more certificates--not a bad thing. There were also a lot of dead certificates. So for a sort of baseline, I have attached a zipped copy of that file with all the dead stuff removed. It also has a functioning Amazon certificate and the update for FBReader book sync. You're welcome.
The good stuff follows in the next post...
Part 2
How do you remove dead certificates?
Note: ALWAYS keep a backup copy of your cacerts.bks file. If you mess up, you need to be able to go back. Also, before returning an updated cacerts.bks file to your device, you should have made a complete device backup. A faulty cacerts.bks file will cause a bootloop. The only recovery is a forced shutdown (not easy in itself) and a restoration of the nandroid backup with NookManager or similar.
Let's pretend that you have a dead certificate and a check of the calist.txt file created as described above reveals that its "alias" is 27. Certificates sometimes have ridiculously complicated names so in the cacerts.bks file they are often given numerical aliases. Here's how to get rid of one (presumably before you replace it):
Open a command prompt window and execute the following:
Code:
cd C:\Program Files\Java\jdk1.6.0_45\bin
[for 32-bit: cd C:\Program Files (x86)\Java\jdk1.6.0_45\bin]
Copy the text below and adjust the paths for your situation, then copy and paste the result into the command prompt window. Press Enter.
Code:
keytool.exe -keystore C:\Users\nmyshkin\Documents\cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "C:\Program Files\Java\jdk1.6.0_45\lib\ext\bcprov-jdk15on-146.jar" -storepass changeit -v -delete -alias 27
You would need to replace "nmyshkin\Documents", the alias number, and potentially "Program Files" (if you are using 32 bit) to customize the command.
Importing/updating a certificate
Well, this is the "real deal". Someday that Amazon certificate is going to expire again and render the Kindle app useless (assuming Amazon doesn't abandon it first). Or something else may crop up that you'd like to fix (like the FBReader issue I mentioned earlier). To some extent, this may also address website access issues, but most--if not all--of those are more broadly SSL related and that is another kettle of fish altogether.
Importing a certificate is no more difficult than any of the other operations already described (once you have the command written out!). The difficulty is in obtaining the certificate to import! Here is where these instructions get a little squishy because they are initially based on information obtained from your PC's browser (and even its version). I happen to use an up-to-date version of Firefox so that's how I am approaching this. If you use a different browser, you will have to figure out this part on your own, but Googling will doubtless help.
Let's say the Amazon certificate has expired (again...). My first best guess is that the same certificate(s) used on Amazon.com are used for the Kindle app. So I head on over to Amazon.com with Firefox. When I arrive I note that there is a little "lock" symbol just before the "https:...." in the url line. Mousing over this symbol I see "Verfied by: DigiCert Inc." So it's some kind of DigiCert certificate. Clicking on the lock symbol I see site information for Amazon including "Connection Secure" which can be expanded to show "Verified by DigiCert Inc." and at the bottom of that little window is "More information". Clicking there gives me a lot more stuff, but what I want is just the "Security" tab where I can see "View Certificate". Aha! Clicking on that reveals that there are at least two certificates, DigiCert Global CA G2 and DigiCert Global Root G2. I may need only one, but it's safer to have both. Still, I need actual copies of the certificates. In an older version of Firefox you could click on the lock and get to a place where you could export copies of the certificates. No more. That was too easy. Now it's like this:
1. Navigate to the site (Amazon.com) and discover which certificates are used, as described above
2. Open the browser menu to access "Options"
3. Click on "Privacy and Security" in the left-hand menu
4. Scroll down to "Certificates"
5. This takes you to a window in which you want the last option, "Authorities"
5. Scroll to find the certificate(s) discovered by the steps described above.
6. Click on the certificate and then on "Export". Accept the default file type (X.509 Certificate (PEM) (*.crt;*.pem)) and the ".crt" extension. Save.
7. Change the file extension on the saved certificate to ".cer".
OK! Do this for whatever certificate(s) you need. Now it's time to get them into the cacerts.bks file. Make sure the saved certificates are in some directory on your PC for which you have rights (like "Documents" or "Downloads").
Open a command prompt window and execute the following:
Code:
cd C:\Program Files\Java\jdk1.6.0_45\bin
[for 32-bit: cd C:\Program Files (x86)\Java\jdk1.6.0_45\bin]
Copy the text below and adjust the paths for your situation, then copy and paste the result into the command prompt window. Press Enter.
Code:
keytool.exe -storetype BKS -keystore "C:\Users\nmyshkin\Documents\cacerts.bks" -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "C:\Program Files\Java\jdk1.6.0_45\lib\ext\bcprov-jdk15on-146.jar" -storepass changeit -importcert -alias Amazon -file "C:\Users\nmyshkin\Documents\DigiCertGlobalRootG2.cer"
You would need to replace "nmyshkin\Documents", potentially "Program Files", the alias string or number as well as the certificate file name to customize. The "alias" is a number in our cacerts.bks file, but you can use a string instead. Otherwise, you need to choose a number that is not already used or use the same number(s) for the expired certificate(s) that you previously removed.
You will see a series of things scroll through the window, stopping at a confirmation dialog. You need to enter "yes" to accept the certificate.
Repeat if there are additional certificates to import/update.
The Proof in the Pudding
IF you have done these steps correctly, you should be good to go. You need to move the revised cacerts.bks file back to your NST/G (/system/etc/security/cacerts.bks). Be sure the file permissions are set to rw-r--r--, then reboot. If you get stuck in a bootloop you goofed. Try to interrupt the boot sequence with the power button. Eventually you will succeed and can restore a backup using something like NookManager. Try again
Hi, thank you for all your help as always nmyshkin, my how do i connect it to the nook?
I do all the steps, but I am lost on how to replace the system directory in the nook with the cacert.bks file so that the kindle app could log-in throught the NTGS.
vicus21 said:
Hi, thank you for all your help as always nmyshkin, my how do i connect it to the nook?
I do all the steps, but I am lost on how to replace the system directory in the nook with the cacert.bks file so that the kindle app could log-in throught the NTGS.
Click to expand...
Click to collapse
If you rooted with the updated NookManager, the cacerts.bks file is already updated. No need to do anything else.
As for the Kindle app, there are a few things you should know. When you try to log in you will get an error message. But if you check your email you will see that Amazon has sent you a one-time-password (OTP). Try that.
Here's where it gets a little complicated. If you have two-factor-verification turned on at Amazon, the OTP may fail. At least one XDA member has reported that if he added the OTP to his regular password, he was able to log in.
My most recent experience went something like this:
1. Try to log in. Get OTP via email.
2. Try OTP. It fails.
3. Check Amazon account...hmm..I don't have two-factor-verification (TFV) turned on. What gives?
4. Turn on TFV.
5. Turn off TFV.
6. Try to log in. Get OTP via email.
7. Try OTP. It works!
I don't have TFV turned on (I don't own a smart phone). But Amazon didn't seem to recognize that until I turned it on and then turned if off.
It would be nice if the other member is correct and you just append the OTP to your regular password to log in. Let us know!

Categories

Resources