#How to remove space from windows for arch?

307 messages ยท Page 1 of 1 (latest)

humble basin
#

While using GParted it caused an error

acoustic remnant
#

Resize in windows

humble basin
#

diskpart doesnt work either

acoustic remnant
#

Then fix it

#

You need to find out why it can't resize it more than some amount of space, otherwise you'll just end up with corruption

humble basin
#

i stlil hve 391gb free

outer mortar
#

yous hould post the error. we can't help fix an error that we don't know the error of.

acoustic remnant
#

Use the gui

humble basin
#

i dont have a screenshot of it

humble basin
acoustic remnant
#

Yes so you need to find what files are blocking the resize

#

Page cache etc etc

humble basin
#

ohh

#

where do i find that?

#

wait it increased to 6561

#

i didnt change anything

#

i need 111,616mb

#

so im nowhere close

acoustic remnant
#

To find what is blocking

humble basin
#

thanks will check

acoustic remnant
#

... winresize

serene hareBOT
#

#17458 ๐Ÿ“ฃ If you cannot shrink the windows partition enough then find what file is blocking the resize
https://superuser.com/a/1323010

Then try
https://www.reddit.com/r/techsupport/comments/4a05sf/comment/d0yz6ui
And remember to undo the changes after resizing, the pagefile.sys is recreated automatically once the relevant option is enabled

Reddit

Explore this conversation and more from the techsupport community

acoustic remnant
#

I added a note

humble basin
humble basin
acoustic remnant
humble basin
#

the superuser one is for a diffierent issue though, since i literally cannot click the button to shrink, so i cant see evert viewer for it

humble basin
#

oh nvm im dumb

acoustic remnant
#

There should be no reason why it's grayed out for the C partition

humble basin
#

see the size available itself is only 12ooo

#

12000*

#

so if i enter a number more than that it wont allow

#

but the user in the post their size available was larger than what they wanted

#

but they had another issue

#

so yeah

acoustic remnant
#

Checked to make sure that just opening that windows doesn't make the event?

humble basin
#

i checked

#

nothing

acoustic remnant
#

Can't put a larger number in enter the amount of space to shrink than in the size of available?

humble basin
#

no

#

the moment i do, the leftover space shows as 0, and the ok button greys out

acoustic remnant
#

How about just a bit over the size of available shrink space

#

BEcause total size after shrink 0

#

indicates the amount of shrink is bigger than the total size

humble basin
#

but the total size before shrink is literally more than four times what i entered

acoustic remnant
#

Yeah

humble basin
#

let me try

#

setting it to 12672 (the max given)

#

gives a correct calculation

#

but if i set it even ONE higher, it jumps to 0

#

like it goes from 46k to 0

#

๐Ÿ˜ญ

acoustic remnant
humble basin
#

its only showing 294 this time

#

idk why

#

after re-running, its at 6.5k

#

it keeps changing

#

should i still do?

acoustic remnant
humble basin
#

ohh

#

ok will try that

#

but if i take too much out, how do i put the rest back??

acoustic remnant
#

There's also a expand

humble basin
#

ah ok

#

gonna take ages but ill try

#

6gb at a time

#

still 109 gb

#

after doing it once the free space comes as 0

acoustic remnant
#

Show the whole windows partition manager window

humble basin
#

k wait

acoustic remnant
#

Tried running a defrag?

humble basin
#

yes

#

did it like 20 times todah

#

also did a cleanup

#

disabled hibernation

#

removed pagefile

#

any idea what to do?

#

got this in event after the 6gb shrink though

#

should i navigate to it?

acoustic remnant
#

Gotta google that file

#

That's the event we've been looking for

humble basin
#

yay!

#

according so sources it can disappear after a system reset

#

is that worth trying?

#

im genuinely okay with doing it

#

wont take long

acoustic remnant
#

Ok

humble basin
#

unless theres a better way

#

oh its part of the NTFS file system

acoustic remnant
#

It can be remove and recreated later

#

as you probably found out

humble basin
#

ye

#

so tell me what to do

#

do i delete?

#

or move?

acoustic remnant
#

The second comment in that suggests the removal command is a bit different on win11

humble basin
#

so tell me which command to use

acoustic remnant
#

the one in the comment

humble basin
acoustic remnant
humble basin
#

i will also need it again later though right?

acoustic remnant
#

Same is in the command and the other answer

humble basin
#

ah ok

#

thanks

acoustic remnant
humble basin
#

ok deleted

#

checking again

#

๐Ÿคž

#

no its at 12.6gb now

#

ill do the same thing again and check

#

this now

#

is the file more important or the cluster?

#

is auslogics disk defrag a good app?

#

people use it to visualize locations of storage

acoustic remnant
acoustic remnant
#

After the necessary resizes are done yup

humble basin
#

ok

#

so rn how do i shrink more?

humble basin
acoustic remnant
humble basin
#

oh

acoustic remnant
#

There's resize tools more advanced than the windows built in one

humble basin
#

called?

acoustic remnant
#

Idk what's the best one

humble basin
#

idc abt best, just tell something that gets the job done

acoustic remnant
#

Try a defrag now

humble basin
#

done

#

checking size again

#

nope still 0

acoustic remnant
#

contig.exe 'c:\$mft'

humble basin
#

installed it

humble basin
acoustic remnant
#

I don't think it's installed?

humble basin
#

i just installed it

acoustic remnant
#

You have to navigate to the dir its in

humble basin
#

oh

#

the exe?

acoustic remnant
#

yeah

humble basin
#

and then run it there?

#

in cmd?

acoustic remnant
#

yeah

#

administrator prompt

humble basin
#

but the command is exactly the same right?

acoustic remnant
#

yeah

humble basin
#

ok trying

acoustic remnant
#

Try $Mft

humble basin
#

still no

#

it worked without the single qoutes on 'c:$Mft'

#

its loadig

acoustic remnant
#

ok

humble basin
#

the one that failed is the BITMAP one though, not the issue causing one

#

let me try partition again

#

i got 26 more gigs!!!

#

still like 60 to go

humble basin
#

the bitmap file

#

so yeah.....

#

do i run the same thing again?

acoustic remnant
#

Yeah try

humble basin
#

ran very fast

#

but failed to open the bitmap file

#

also i might have to go soon

acoustic remnant
#

Contig.exe -s -v c:\\$mft

#

The additional \ probably unneded

humble basin
acoustic remnant
#
humble basin
#

hmm

#

but what do i do next?

#

i didnt understand what to do from the link

acoustic remnant
#

chkdsk C: /f /r

#

Then Answer Y

#

to have it check the system the next time you restart

humble basin
#

ok

acoustic remnant
#

May take some time to do it

humble basin
#

ill only shutdown when i go

#

so tomorrow ill tell u answer ig

acoustic remnant
#

It'll start it on the next boot

#

Not shutdown

#

Chkdsk cannot run because the volume is in use by another
process. Would you like to schedule this volume to be
checked the next time the system restarts? (Y/N) y

humble basin
#

yeah thats why

acoustic remnant
#

Y to this

humble basin
#

done

acoustic remnant
#

not force dismount

#

Aight

humble basin
#

will restart tmrw morning

#

its late here

acoustic remnant
#

Ok

#

Gn

humble basin
#

gn

#

unrelated question: if i need to reset a pendrive i got gparted on, i can just format it in windows right?

acoustic remnant
#

yeah

humble basin
#

ok

#

also i restarted cuz bored

#

and it ran

#

but like it didnt change anything

#

still 0 bytes free

pliant fossil
#

have you tried AOMEI Partition assistant

humble basin
#

no

humble basin
#

should i?

humble basin
#

._.

humble basin
#

hello

#

what do i do?

acoustic remnant
#

Backup your files and try that

humble basin
#

ok

#

why do i need to backup for the partition assistant?

acoustic remnant
humble basin
#

so AOMEI or perfectdisk?

acoustic remnant
#

Theres also UltraDefrag which is open source

humble basin
#

which one ๐Ÿ˜ญ

#

too many options

acoustic remnant
#

Download UltraDefrag and analyze C

humble basin
#

its paid

acoustic remnant
#

Oh it is

#

https://sourceforge.net/projects/ultradefrag/

Please note, here you can find the latest open source release of UltraDefrag (7.1.4). The most recent UltraDefrag release (12.0.0) can be found on our official website:

#

oh

#

Used to be open source

#

Well download the open source release from the srouceforge

humble basin
#

k

acoustic remnant
#

Idk, it's from 2020 but windows shouldn't have changed much in that time internally

#

Well just use it to analyze

#

Won't touch files

humble basin
#

k

#

done analysing

#

do i send an ss?

acoustic remnant
#

Yeah

humble basin
#

now what?

#

๐Ÿ˜ฆ

humble basin
#

@acoustic remnant you there?

acoustic remnant
#

@pliant fossil so you recommend AOMEI?

acoustic remnant
humble basin
#

my friend told me moving bitmap isnt possible

humble basin
acoustic remnant
#

Maybe the third party resizers can do it

humble basin
#

so what do i do then?

#

AOMEI/

#

?

pliant fossil
pliant fossil
humble basin
#

so i just set its size to total minus the amount i want?

#

@pliant fossil

#

i just need to verify how to do so i dont mess up

humble basin
#

bru the resize options requires money

#

-_-

#

im not paying for it

pliant fossil
humble basin
#

it said so for me....

pliant fossil
#

to resize your windows drive you needa go into preos/preboot mode

#

aomei does that for you after you tell it to execute

humble basin
#

wahts that?

pliant fossil
#

bc its easier to just show

humble basin
pliant fossil
#

press x

humble basin
#

i did

pliant fossil
#

what's on the right panel

humble basin
#

went here

pliant fossil
#

1 click adjust space is new

#

try that maybe

humble basin
#

doesnt work

#

same thing

#

needs paid

#

any other apps?

pliant fossil
#

easeus maybe

#

but that's even more likely to be paid

humble basin
#

๐Ÿ˜ญ

#

anything else????

naive otter
humble basin
#

free?

naive otter
humble basin
#

its safe right?

#

what do i do here???

#

@naive otter

#

its literally paid

#

exact same thing as AOMEI

humble basin
#

NO WAY

#

65GB CLEARED ON ITS OWN!

#

now its $Mft/DATA

#

finally.....

#

its done.....

pliant fossil
pliant fossil