Group Policy Editor

How to Fix – This operation has been cancelled due to restrictions in effect on this computer

Fixing “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.”

This error occurs when someone or something has blocked an application from running on your computer.  On a corporate network, it may be a policy set by your administrator. If you see this error at home, it’s almost always because a virus has restricted you from running programs you may use to remove it.

This operation has been cancelled due to restrictions in effect on this computerHere are the two ways in which programs can be restricted in Windows. The first is through the Registry. The second is through Group Policy.  Try the Registry method first, and if it doesn’t fix the problem try the Group Policy method.

Fixing the Registry


Programs can be kept from running by adding them to a key called DisallowRun in the Windows Registry. To remove these restrictions, follow the following steps.

  1. Open regedit by clicking your start button and typing regedit and pressing enter.  On Windows XP, Click Start, then run, then type regedit.
  2. Find \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ and delete the key called DisallowRun.

Fixing Group Policy

Applications can also be kept from executing via Group Policy.  To remove these restrictions follow these instructions.

Group Policy Editor

  1. Open Local Group Policy Editor by clicking Start and typing gpedit.msc.
  2. Expand User Configuration.
  3. Expand Administrative Templates.
  4. Expand System.
  5. On the right-hand side locate a setting called Don’t run specified Windows applications. Double-click that setting and change it to Not Configured.
How to Fix The Disk is Write Protected

How to Fix The Disk is Write Protected

How to Fix The Disk is Write Protected

How to Fix The Disk is Write Protected

If you Cannot format your USB pen drive because it is write-protected? And Get “The disk is write protected” error message while trying to format the flash drive, pen drive or SD card? Some removable storage devices like USB flash drives or pen drive have to write protection which is designed to help users prevent unexpected data loss by refusing to delete or format. If you’re stuck with a write-protected USB drive that can’t be formatted with “The disk is write protected” error, please don’t worry! Here is a simple way you can try to remove the write protection and format the USB flash drive and pen drive with no hassle.

First – Removing Physical Write Protection

1. Place the SD card label-side-up on a flat surface.
2. Locate the lock switch.
3. Slide the lock switch toward the gold connectors at the bottom of the SD card.

Second – Removing Digital Write Protection on Windows

1st Way – 

Click Start, type Regedit in the search box, click Regedit.exe to open the Registry editor when you see it is displayed at the top of the list. And then navigate to the following key:


Double-click on the WriteProtect value in the right-hand pane of Regedit.exe. Change the Value data from 1 to 0 and click OK to save the change. Close Regedit and restart your computer. Connect your USB flash drive or pen drive again, and you should find the write protection is removed and the device is no longer write protected.

After that, you can now format the drive as normal by right-clicking on it in My Computer and choosing Format. “The disk is write protected” error message will no longer pop up.

2nd Way –

  1. Make sure that you’re using an administrator account. You’ll need to be on an administrator account in order to open the Disk Partition tool, which is what you’ll use to remove the write protection from your SD card.

  2. Plug the SD card into your computer. If your computer has an SD card reader, the card should slide label-up and gold connectors-first into the reader.

    If your PC doesn’t have a card reader, you’ll need a USB SD card adapter to do this.

  3. Open Start 
    Image titled Windowsstart.png

    Click the Windows logo in the bottom-left corner of the screen.

  4. Open Command Prompt. Type in command prompt, then click
    Image titled Windowscmd1.png

    Command Prompt at the top of the Start menu when it appears.

  5. Enter the Disk Partition command. Type diskpart into Command Prompt, then press  Enter.
  6. Click Yes when prompted. Doing so will confirm your decision and open the Disk Partition window, which resembles another Command Prompt window.
  7. Bring up a list of your computer’s disks. Type in list disk and press  Enter.
  8. Determine your SD card’s number. You can find your SD card by looking for a number of megabytes or gigabytes that correlates with your SD card’s storage in the “Size” column; the number to the right of “Disk” on the far left side of this value is your SD card’s number.

    • For example, if you see that the storage size for Disk 3 mirrors your SD card’s remaining space, your SD card’s number is “3”.
    • The top disk (Disk 0) will always be your computer’s built-in hard drive.
  9. Select your SD card. Type in select disk number where “number” is replaced by the SD card’s number, then press  Enter. This will tell the Disk Partition tool to apply the next command to your SD card.
    • For example, if your SD card is labeled as “Disk 3” in the list of computer disks, you’d type select disk 3 here.
  10. Clear the “read-only” attribute. Type in attributes disk clear read-only and press  Enter. You should see a line of text that reads “Disk attributes cleared successfully” appear in the window below your cursor, signifying that your SD card is no longer write-protected.
Setup was unable to create a new system partition

How to Fix Setup was unable to create a new system partition

Get the fix for the Windows setup error How to Setup was unable to create a new system partition that appears when attempting to install the following versions of Windows from a bootable USB: Windows Vista, Windows 7, Windows 8, and Windows 10.

If attempting to install Windows from a USB drive, external drive, thumb drive, USB stick, etc instead of using a CD or DVD, the following error can appear:

Setup was unable to create a new system partition

Method 1. Eject and re-insert the USB

Eject and re-insert the USB is the easiest solution that I would like to recommend when you want to fix “Setup was unable to create a new system partition” error. Here is how to do it:
Remove all partitions on the drive (no need to launch diskpart, you can just use the partition selection screen)

1. Unplug the USB drive.

2. Click Next. You will get: Windows is unable to install to the selected location. Error: 0x80300001.

3. Replug the USB drive.

4. Click Refresh.

5. Click Next.

Method 2. Use a CD or DVD Drive

system dvd format

Method 3. Manually create the boot partition:

The first method might only work well to solve “Setup was unable to create a new system partition” problem in Windows 7 but don’t help with Windows 8, Windows 8.1 and Windows 10. So I would like to introduce another solution that will be suitable for any Windows version.

If you prefer to do this manually, you can use diskpart from the Windows setup command line to copy the setup/installation files from the USB to the local drive and then use the local drive to both boot from and install to, bypassing the USB completely and preventing Windows from getting confused:

  1. Boot Windows installation from USB flash drive.
  2. Press Shift+F10.
  3. In console type diskpart.exe and press enter. In this program execute following:
    • select disk=0. Disk 0 is your destination drive, so be careful, all information on this drive will be removed.
    • create partition primary size=xxx, where xxx – is the size of new partition.
    • select partition=1.
    • active.
    • format fs=ntfs quick.
    • assign.
    • exit, now you have bootable drive C.
  4.  Navigate to USB flash drive, in my case: cd d:.
  5.  Copy all files from USB drive to C: drive: xcopy d: c: /e /h /k.
  6.  Go to boot folder: cd boot.
  7.  Make you C: drive bootable with following command: bootsect /nt60 c:.
  8.  Put off USB flash drive from computer and restart them.
  9.  Install Windows.
  10.  Remove unnecessary menu item from bootscreen.
    • Run cmd.exe as Administrator
    • See boot menu list bcdedit
    • Find Windows Setup and copy identifier
    • Run bcdedit /delete {identifier}

      Eject the USB drive from your computer, and restart
      Boot back into Windows setup and select “Install Now”

I really hope there is, at least, one way that can help you fix “Setup was unable to create a new system partition” error and achieve a successful Windows installation.