Page 2 of 7 FirstFirst 1234 ... LastLast
  1.    26 Dec 2015 #10
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    That's ok, I just thought you meant a normal administrator account.

    I found this below that you might see if the 4th post may help you with this as well.

    https://social.technet.microsoft.com...w7itproinstall

    I had the same problem trying to edit CurrentControlSet/Enum/USB. I tried all sorts of permission and ownership changes without success. I finally got it to work by using the following command

    psexec -i -d -s c:\windows\regedit.exe

    psexec is available from Microsoft here

    http://technet.microsoft.com/en-us/s.../bb897553.aspx

    This gave me full access to the registry. You should definitely be careful with this sort of access.

    For me, my USB to serial device wasn't working any more. I wanted to remove the registry entries for it in Enum/USB. After deleting them with the above method, I plugged in the USB to serial adapter and it started working again. I'm running Win7 PRO.
      My ComputersSystem Spec
  2.    27 Dec 2015 #11
    Join Date : Oct 2013
    Posts : 18
    Windows 10 64-bit "Big Shit"

    GREAT, Brink! It finally worked. I read that thread at Technet and downloaded PsTools.
    First I tried the batch file to avoid difficulties, as recommended on a post about the middle of that thread, but it gave me an error:
    Couldn't install PSEXESVC service:
    Access is denied.

    Then, I tried the normal direct way on an elevated command prompt and Regedit opened righy away. I didn't have to use permissions and could delete that key directly from its context menu. It couldn't be easier. From what I read it would not be possible to change any security setting or delete the key with that Owner Rights entry. It was the same problem the thread starter had, even if with another key.

    Thank you very much for your great and helpful advices.
      My ComputerSystem Spec
  3.    27 Dec 2015 #12
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    That's great news Neophile. I'm glad it could help.
      My ComputersSystem Spec
  4.    08 Jan 2016 #13
    Join Date : Jun 2015
    Posts : 273
    Windows 10

    Hi

    I installed Windows ADK 10 v1511 on Windows 10 v1511 Enterprise 64 bit.

    I typed the following commands:

    Code:
    Dism /Apply-Image /ImageFile:"<wim_File_Path>\install.wim" /Index:1 /ApplyDir:"<Apply_Directory_Path>" /Verify /CheckIntegrity
    Dism /Capture-Image /ImageFile:"<Windows_Files_Path>\sources\install.wim" /CaptureDir:"<Apply_Directory_Path>" /Name:"<Edition_name>" /Description:"<Description_name>" /Compress:max /Verify /CheckIntegrity
    Now, knowing that some directories and files have the TrustedInstaller or System user as owner, what are the commands that allows to completely remove the entire content of the <Apply_Directory_Path> directory?

    Thanks

    Bye
      My ComputerSystem Spec
  5.    08 Jan 2016 #14
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    Hello Balubeto,

    You could use the command from step 4 in OPTION THREE to change the owner of the directory and contents.

    https://www.tenforums.com/tutorials/3...html#option3s4

    Afterwards, use the command from step 4 in OPTION ONE below to set permissions.

    Permissions - Allow or Deny Access to Users and Groups in Windows 8
      My ComputersSystem Spec
  6.    08 Jan 2016 #15
    Join Date : Jun 2015
    Posts : 273
    Windows 10

    Quote Originally Posted by Brink View Post
    Hello Balubeto,

    You could use the command from step 4 in OPTION THREE to change the owner of the directory and contents.

    https://www.tenforums.com/tutorials/3...html#option3s4

    Afterwards, use the command from step 4 in OPTION ONE below to set permissions.

    Permissions - Allow or Deny Access to Users and Groups in Windows 8
    I tried this command sequence

    Code:
    icacls "<Apply_Directory_Path>" /grant "Administrators":F /T /C
    icacls "<Apply_Directory_Path>" /setowner "Administrators" /T /C
    pushd "<Apply_Directory_Path>" && ( rd /S /Q "<Apply_Directory_Path>" 2>nul & popd )
    but it does not work because the first command can not access some directories or files since this command does not have access to these directories/files or it does not find them. Why?

    Thanks

    Bye
      My ComputerSystem Spec
  7.    08 Jan 2016 #16
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    You may need to manually take ownership of the folder or file that it cannot access instead.

    Using the "Take Ownership" context menu can help make this easier.

    https://www.tenforums.com/tutorials/3...dows-10-a.html
      My ComputersSystem Spec
  8.    09 Jan 2016 #17
    Join Date : Jun 2015
    Posts : 273
    Windows 10

    Quote Originally Posted by Brink View Post
    You may need to manually take ownership of the folder or file that it cannot access instead.

    Using the "Take Ownership" context menu can help make this easier.

    https://www.tenforums.com/tutorials/3...dows-10-a.html
    Excuse but, from the Command Prompt, it is possible to take ownership of these directories and files gaining full control over them? If so, how do I do this?

    Thanks

    Bye
      My ComputerSystem Spec
  9.    09 Jan 2016 #18
    Join Date : Jun 2015
    Posts : 273
    Windows 10

    I also noticed that, in this directory structure, there are also some symbolic links and not.

    Thanks

    Bye
      My ComputerSystem Spec
  10.    09 Jan 2016 #19
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    The commands you already tried were for changing the owner and permissions to take ownership. You may have to delete it and start over instead.
      My ComputersSystem Spec

 
Page 2 of 7 FirstFirst 1234 ... LastLast


Similar Threads
Tutorial Category
General Tips Add or Remove Folders from This PC in Windows 10
How Add or Remove Folders from This PC in Windows 10 The This PC window includes a Folders group that displays a linked 3D Objects, Desktop, Documents, Downloads, Music, Pictures, and Videos folder from the current user account's...
Tutorials
Customization Show Hidden Files, Folders, and Drives in Windows 10
How to Show Hidden Files, Folders, and Drives in Windows 10 Hidden files, folders, and drives do not show by default in Windows. Windows protected system files (ex: desktop.ini files) are hidden by default. You can also manually hide a file or...
Tutorials
Customization Add or Remove Folders on Start List in Windows 10
How to Add or Remove Folders on Start List in Windows 10 The Start menu in Windows 10 has a Start list that you can customize which folders appear in the list. You can add or remove the File Explorer, Settings, your Documents, your Downloads,...
Tutorials
Windows 10 VirtualBox Shared Folders Oddity
I'm running VBox 5.0 on Windows 8.1 and have created VMs for Windows 7 and Windows 10 release 10240. In both VMs I have installed Visual Basic 6 (VB6). Everything is working fine except for one strange difference. When running the Windows 7 VM, I...
Virtualization
Windows 10 Adding Folders to USB Devices
Hi everyone, I've noticed that whenever I plug in a usb thub stick or hard drive Windows 10 (Build 9879) is automatically creating empty Videos, Music, Downloads etc folders everytime. This is quite annoying, anyone know how to turn this off?...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 06:51.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums