• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved Change permissions on /windows folder


URSOKWL

New Member
Posts
6
#1
Attempting to change READ ONLY PERMISSIONS on c drive/windows folders

REASON to EDIT HOSTS file in c/windows/system32/drivers/etc folder

windows folder is READ ONLY
FAILED TO CHANGE PERMISSIONS with Default ADMIN acct.
DISCOVERED that the C: Drive was owned by the factory default installer.
ATTEMPTED TO CHANGE OWNERSHIP of the C Drive. limited results.

CANNOT CHANGE PERMISSIONS on WINDOWS FOLDER \

CURRENTLY the main c\windows folder is READ ONLY.

HELP :)
 

My Computer

System One

  • OS
    8.1 64 bit with BING

Ztruker

Well-Known Member
VIP Member
Guru
#2
I have a little batch file I use to edit the hosts file:

@echo off
%homedrive%
cd %windir%\system32\drivers\etc
attrib -s -h -r hosts
notepad hosts
attrib +s +h +r hosts


Copy and paste this into a EditHosts.bat file and run it from a Elevated Command Prompt.
 

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    [email protected]
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
#3
Here is what I did.

I downloaded this zip file to give me a hosts file with lots of sites in it to be blocked.

View attachment hosts.zip

I put it in a new folder by itself & extracted it with 7zip.

screenshot_266.jpg

I right clicked the mvps.bat file & chose to run it as Administrator.

screenshot_266.jpg

I got this---

screenshot_266.jpg

As you can see, the original Hosts file was renamed & saved.
To replace it I simply have to delete the new one & rename the old saved one.

screenshot_266.jpg

Just showing how I did things.
 

My Computer

System One

  • OS
    Windows 8.1.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gateway
    CPU
    AMD K140 Cores 2 Threads 2 Name AMD K140 Package Socket FT1 BGA Technology 40nm
    Motherboard
    Manufacturer Gateway Model SX2110G (P0)
    Memory
    Type DDR3 Size 8192 MBytes DRAM Frequency 532.3 MHz
    Graphics Card(s)
    ATI AMD Radeon HD 7310 Graphics
    Sound Card
    AMD High Definition Audio Device Realtek High Definition Audio USB Audio Device
    Monitor(s) Displays
    Name 1950W on AMD Radeon HD 7310 Graphics Current Resolution 1366x768 pixels Work Resolution 1366x76
    Screen Resolution
    Current Resolution 1366x768 pixels Work Resolution 1366x768 pixels
    Hard Drives
    AMD K140
    Cores 2
    Threads 2
    Name AMD K140
    Package Socket FT1 BGA
    Technology 40nm
    Specification AMD E1-1200 APU with Radeon HD Graphics
    Family F
    Extended Family 14
    Model 2
    Extended Model 2
    Stepping 0
    Revision ON-C0
    Instruction
    Browser
    Opera 24.0
    Antivirus
    Avast Internet Security

Ztruker

Well-Known Member
VIP Member
Guru
#4
I'm trying to remember why I stopped using the MVPS hosts file. Maybe it was a performance degradation? It has over 15,000 entries in it.
 

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    [email protected]
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH

TairikuOkami

Be nice to all, please?!
Pro User
Trnava

Posts
683
#6
I'm trying to remember why I stopped using the MVPS hosts file. Maybe it was a performance degradation? It has over 15,000 entries in it.
Indeed, it slows down internet by a few hundreds percent. There is no need for HOSTS anyway, extensions usually allows customized HOSTS and adding own webpages like https://chrismatic.io/ublock
 

My Computer

System One

  • OS
    Win 8.1.1 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo E525
    CPU
    AMD A4-3300M @ 2,0GHz
    Memory
    6GB DDR3 1333MHz
    Graphics Card(s)
    AMD Radeon HD 6480G 512MB shared
    Sound Card
    Creative Sound Blaster X-Fi Surround 5.1
    Screen Resolution
    1366x768
    Hard Drives
    WD 465GB
    Cooling
    Fusion Tweaker
    Keyboard
    Logitech K360
    Mouse
    Logitech M705
    Internet Speed
    50/50 MBps
    Browser
    Yandex
    Antivirus
    No AV & No Firewall
    Other Info
    Headphones: Sennheiser RS170

Users Who Are Viewing This Thread (Users: 0, Guests: 1)