Changed permisssions and now it prevents my windows 10 to bootup (i have a black screen)


Ghali mentioned that he can't start the "safe mode".
so the only chance to save his files is to use diskpart
and the shrink disk command in order to create a new partition for his personal files.
xcopy can transfer the files to the new partition
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP ZBook
    CPU
    Intel 6700HQ
    Motherboard
    HP
    Memory
    24
    Graphics Card(s)
    AMD FirePro 5170M
    Hard Drives
    Samsung SSD 860 Pro
    Keyboard
    yes
    Mouse
    yes
    Other Info
    19045.3803
    some Red Hat workhorses
No, for security reasons the icalcs command is not supported
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP ZBook
    CPU
    Intel 6700HQ
    Motherboard
    HP
    Memory
    24
    Graphics Card(s)
    AMD FirePro 5170M
    Hard Drives
    Samsung SSD 860 Pro
    Keyboard
    yes
    Mouse
    yes
    Other Info
    19045.3803
    some Red Hat workhorses
I don't know. I just tried icalcs.
I would run:
bcdedit /set {globalsettings} advancedoptions true
to make it easy to try safe mode after he has finished the offline sfc & dism commands
replace true to false in above command to go back.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP ZBook
    CPU
    Intel 6700HQ
    Motherboard
    HP
    Memory
    24
    Graphics Card(s)
    AMD FirePro 5170M
    Hard Drives
    Samsung SSD 860 Pro
    Keyboard
    yes
    Mouse
    yes
    Other Info
    19045.3803
    some Red Hat workhorses
The Link dacrone gave doesn't help at all. It's just for /online instructions!
X;\Windows\system32>
diskpart
list vol

find you proper drive letter for your Windows and USB drive
in the commands below replace (K:) (5x) and (L:)(1x) with your correct drive letter
mkdir K:\scratch
sfc /scannow /offbootdir=K:\ /offwindir=K:\Windows /offlogfile=K:\sfc.txt
Dism /image:K:\ /Cleanup-Image /RestoreHealth /Source:L:\sources\install.wim /ScratchDir:K:\scratch

If you configure your winre.wim with full WiFi-Support you don't need the scource install.wim
Hello alright , i just have to reinstall wi dows 10 in my usb. I would like to ask you a question i see in one of your commands "scratch" is that a reset/reinstall of windows will i lose my applications and files ? My windows folder is in C:\Windows do i need to replace K with C ?
 

My Computer

System One

  • OS
    Windows 10 22h2
    Computer type
    Laptop
    Manufacturer/Model
    Dell vostro 3591
    CPU
    Intel core I5 10th gen , 1035G1
    Memory
    8gb
    Graphics Card(s)
    Integrated GPU UHD G1
    Screen Resolution
    1920 1080 before i break the screen , now 1366 768
    Internet Speed
    slow only 10-20mbps but still good
    Browser
    Opera gx , google chrome
    Antivirus
    Malware bytes , Windows defender , and eset internet security
Boot into the Recovery Environment and go to commandprompt

there you type
X:> diskpart
list vol
exit
If Windows is (C:) then replace all K with C
You should see the USB-drive as well with a letter (?:)
replace the letter (L:) with the right letter from the list vol command
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP ZBook
    CPU
    Intel 6700HQ
    Motherboard
    HP
    Memory
    24
    Graphics Card(s)
    AMD FirePro 5170M
    Hard Drives
    Samsung SSD 860 Pro
    Keyboard
    yes
    Mouse
    yes
    Other Info
    19045.3803
    some Red Hat workhorses
Boot into the Recovery Environment and go to commandprompt

there you type
X:> diskpart
list vol
exit
If Windows is (C:) then replace all K with C
You should see the USB-drive as well with a letter (?:)
replace the letter (L:) with the right letter from the list vol command
Okay but what will this command do because i dont want tk reinstall windows at all , theere is obviously a solution for fixing the peermissions
 

My Computer

System One

  • OS
    Windows 10 22h2
    Computer type
    Laptop
    Manufacturer/Model
    Dell vostro 3591
    CPU
    Intel core I5 10th gen , 1035G1
    Memory
    8gb
    Graphics Card(s)
    Integrated GPU UHD G1
    Screen Resolution
    1920 1080 before i break the screen , now 1366 768
    Internet Speed
    slow only 10-20mbps but still good
    Browser
    Opera gx , google chrome
    Antivirus
    Malware bytes , Windows defender , and eset internet security
These commands usually fix corrupt system files.

If there is a solution to fix your problem take it!
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP ZBook
    CPU
    Intel 6700HQ
    Motherboard
    HP
    Memory
    24
    Graphics Card(s)
    AMD FirePro 5170M
    Hard Drives
    Samsung SSD 860 Pro
    Keyboard
    yes
    Mouse
    yes
    Other Info
    19045.3803
    some Red Hat workhorses
These commands usually fix corrupt system files.

If there is a solution to fix your problem take it!

Disagree 100%.

If there is a proposed solution, I say ask every question you have before implementing said solution.

Don't just blindly try what someone says.

The OP is right to ask questions.
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    Arctic Liquid Freezer III 420 RGB + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge , Arc
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Disagree 100%.

If there is a proposed solution, I say ask every question you have before implementing said solution.

Don't just blindly try what someone says.

The OP is right to ask questions.
I am asking questions because i dont to .ake my situation even worse. The isshe literally happened to me after following that tutorial at 1am in friday

I should ahve checked the comments because many got some issues.
 

My Computer

System One

  • OS
    Windows 10 22h2
    Computer type
    Laptop
    Manufacturer/Model
    Dell vostro 3591
    CPU
    Intel core I5 10th gen , 1035G1
    Memory
    8gb
    Graphics Card(s)
    Integrated GPU UHD G1
    Screen Resolution
    1920 1080 before i break the screen , now 1366 768
    Internet Speed
    slow only 10-20mbps but still good
    Browser
    Opera gx , google chrome
    Antivirus
    Malware bytes , Windows defender , and eset internet security
Yup. I know you are - and you're right to ask questions. I said that :p
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    Arctic Liquid Freezer III 420 RGB + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge , Arc
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
If you want to read what to do and what to do it without using dism, look here and try these 2 commands:

takeown /f "%ProgramFiles%\WindowsApps"

cacls "%programfiles%\WindowsApps" /s:"D:PAI(A;;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;OICIIO;GA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;;0x1200a9;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)(A;OICIIO;GXGR;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;CI;0x1200a9;;;BA)(A;OICI;0x1200a9;;;LS)(A;OICI;0x1200a9;;;NS)(A;OICI;0x1200a9;;;RC)(XA;;0x1200a9;;;BU;(Exists WIN://SYSAPPID))"

Original text:
 

My Computer

System One

  • OS
    Windows 11 Pro
Use a code box - it is automatically converting code to smileys / emojis.
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    Arctic Liquid Freezer III 420 RGB + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge , Arc
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Even so - it would be better if code is in a codebox - for anyone in the future to easily copy (and for the forum software to not corrupt with emoji lol).
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    Arctic Liquid Freezer III 420 RGB + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge , Arc
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
I hoe i am not rude but please it is not windows apps folder. Wondows apps was just thecontext and why i followed the tutorial . The affected folder are obviously :
-programfiles
-windows
-program files x86
-users
I actuallyhave an image of whaat i selected with the windows repair app by tweaking. If you want to know what i selected and caussd my those issues please tell me
 

My Computer

System One

  • OS
    Windows 10 22h2
    Computer type
    Laptop
    Manufacturer/Model
    Dell vostro 3591
    CPU
    Intel core I5 10th gen , 1035G1
    Memory
    8gb
    Graphics Card(s)
    Integrated GPU UHD G1
    Screen Resolution
    1920 1080 before i break the screen , now 1366 768
    Internet Speed
    slow only 10-20mbps but still good
    Browser
    Opera gx , google chrome
    Antivirus
    Malware bytes , Windows defender , and eset internet security
Or maaybe i have to replace C:\ProgramFiles\WindowsApps , with the affected folders ?
 

My Computer

System One

  • OS
    Windows 10 22h2
    Computer type
    Laptop
    Manufacturer/Model
    Dell vostro 3591
    CPU
    Intel core I5 10th gen , 1035G1
    Memory
    8gb
    Graphics Card(s)
    Integrated GPU UHD G1
    Screen Resolution
    1920 1080 before i break the screen , now 1366 768
    Internet Speed
    slow only 10-20mbps but still good
    Browser
    Opera gx , google chrome
    Antivirus
    Malware bytes , Windows defender , and eset internet security
the takedown command will remove permissions applied to whatever folder you have after the \, so yes, replace that with whatever fold you want
 

My Computer

System One

  • OS
    Windows 11 Pro
the takedown command will remove permissions applied to whatever folder you have after the \, so yes, replace that with whatever fold you want
I have to do this in windows pe if i am correct
 

My Computer

System One

  • OS
    Windows 10 22h2
    Computer type
    Laptop
    Manufacturer/Model
    Dell vostro 3591
    CPU
    Intel core I5 10th gen , 1035G1
    Memory
    8gb
    Graphics Card(s)
    Integrated GPU UHD G1
    Screen Resolution
    1920 1080 before i break the screen , now 1366 768
    Internet Speed
    slow only 10-20mbps but still good
    Browser
    Opera gx , google chrome
    Antivirus
    Malware bytes , Windows defender , and eset internet security
Back
Top Bottom