M
M
Mikhail Lyalin2019-03-22 11:49:06
Active Directory
Mikhail Lyalin, 2019-03-22 11:49:06

Is it possible to transfer free space from partition D to partition C using Windows tools in ActiveDirectory?

the crux of the matter: there are domain users on whose computers there is a system partition C with a lack of free space and a partition D with data and free space reserves.
Is it possible to somehow centrally through PowerShell and AD under a local user to do:
1. check for failures in the file system and delete them automatically
2. attach to partition C part of the free space from partition D using Windows tools?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
H
hint000, 2019-03-22
@hint000

I'll tell you how to add a place to section C using regular windows tools (not automated).
We proceed from the fact that C is packed to capacity, D is not completely empty, but D is free 50% or more. Let's go to disk management.
1. right click on D, "compress", select such a volume that half of D remains.
2. On the free space, create partition E, format it.
3. copy all files from D to E.
4. take away from D its letter D, rename E to D.
5. delete the middle partition (former D)
6. right click on C, "expand", select the maximum size.
Ready.

N
Nikolai, 2019-03-22
@hiddenSt

1. checkdisk or any other utility.
2. PowerShell script (delete the second section and increase the first one) and run it in group policy for any convenient condition, for example, when the computer starts.
Only I would not work with disks centrally. Surely someone will lose information.
winitpro.ru/index.php/2019/01/10/powershell-upravl...

A
Artem @Jump, 2019-03-22
curated by the

No.
It's not even possible to do it by hand.
To begin with, you will have to do a lot of preliminary operations.

R
res2001, 2019-03-22
@res2001

In my opinion, it is not possible to do this with built-in tools.
You can experiment with the diskpart utility - it can resize partitions and you can even write a script for it (see diskart /?). But, as far as I remember, she has a lot of restrictions because of them it is not possible to do what you want.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question