Jump to content

califpearl

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by califpearl

  1. Just found out you are right as when I logged on with my admin account the export command worked without any issues. I also found out that when I installed the Windows 10 ADMX file at the same time I mistakenly checked the wrong option and I lost all my tiles of the user account that I originally attempted to export but after struggling most of yesterday I was able to restore that account and all of the start tiles. Thanks again!
  2. Let me experiment and respond, thanks!
  3. PS C:\WINDOWS\system32> Set-Location $env:USERPROFILE\Desktop Export-StartLayout -Path .\layout.xml Set-Location : A positional parameter cannot be found that accepts argument 'C:\Users\Leon\Desktop'. At line:1 char:1 + Set-Location $env:USERPROFILE\Desktop Export-StartLayout -Path .\layo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: ( [set-Location], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
  4. I didn't know that. Thank you for your help and patience.
  5. No I use a different account with administrative privileges. When accessing PowerShell I select ISE right click > more > run as administrator.
  6. Using Windows 10 Pro build from last July.
  7. Copied a txt file from the desktop to the stated path.
  8. PS C:\WINDOWS\system32> Export-StartLayout -Path:"$($env:USERPROFILE)\layout.xml" Export-StartLayout : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At line:1 char:1 + Export-StartLayout -Path:"$($env:USERPROFILE)\layout.xml" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.StartLayout.Commands.ExportStartL ayoutCommand In the Powershell windows it states Administrator in the upper left corner.
  9. PS C:\WINDOWS\system32> Export-StartLayout -Path:"$($env:USERPROFILE)\documents\layout.xml" Export-StartLayout : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At line:1 char:1 + Export-StartLayout -Path:"$($env:USERPROFILE)\documents\layout.xml" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.StartLayout.Commands.ExportStartL ayoutCommand
  10. PS C:\WINDOWS\system32> Export-StartLayout -Path:"$($env:annan_000)\documents\layout.xml" Export-StartLayout : The path C:\documents\layout.xml did not resolve to a file. At line:1 char:1 + Export-StartLayout -Path:"$($env:annan_000)\documents\layout.xml" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], DirectoryNotFoundException + FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.Windows.StartLayout.Commands.ExportStar tLayoutCommand I tried removing \documents and received PS C:\WINDOWS\system32> Export-StartLayout -Path:"$($env:annan_000)\layout.xml" Export-StartLayout : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At line:1 char:1 + Export-StartLayout -Path:"$($env:annan_000)\layout.xml" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.StartLayout.Commands.ExportStartL ayoutCommand
  11. Thanks for all your help and patience!
  12. PS C:\WINDOWS\system32> Export-Startlayout –path: "C:\startmenu\layout.xml" Export-Startlayout : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At line:1 char:1 + Export-Startlayout –path: "C:\startmenu\layout.xml" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.StartLayout.Commands.ExportStartL ayoutCommand
  13. Created layout folder under users to no avail. Export-Startlayout –path "C:\users\layout\layout.xml" Export-Startlayout : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At line:1 char:1 + Export-Startlayout –path "C:\users\layout\layout.xml" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.StartLayout.Commands.ExportStartL ayoutCommand
  14. Created a folder as suggested to no avail. Export-Startlayout : The path C:\Windows\users\annan_000\desktop\layout\layout.xml did not resolve to a file.
  15. In the upper left hand corner of the powershell window it states: Administrator: Windows PowerShell ISE. Since I am logged on as a standard user do I need to logon with my admin credentials?
  16. PS C:\WINDOWS\system32> Export-Startlayout –path C:\layout.xml Export-Startlayout : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At line:1 char:1 + Export-Startlayout –path C:\layout.xml + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], UnauthorizedAccessException + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.StartLayout.Commands.ExportStartL ayoutCommand Thinking about the error message I just tried set-execution unrestricted to no avail.
  17. I have tried the aforementioned responses using a normal and elevated prompt to no avail. I have tried executing the command to the root of C to no avail. I have tried executing with and without the : after the path command to no avail. I have tried removing the -As XML at the end of the path to no avail. I have tried using the | instead of -Path with and without the colon to no avail. I have tried creating a dummy file to no avail and the error messages are all the same "did not resolve to a file." I want to thank all of you for your time as the command just will not resolve for me for whatever reason.
  18. Thanks again for your patience and help but... PS C:\> Export-StartLayout -Path:"C:\Windows\Users\annan_000\desktop\tiles.xml" Export-StartLayout : The path C:\Windows\Users\annan_000\desktop\tiles.xml did not resolve to a file. At line:1 char:1 + Export-StartLayout -Path:"C:\Windows\Users\annan_000\desktop\tiles.xm ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Export-StartLayout], DirectoryNotFoundException + FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.Windows.StartLayout.Commands.ExportStar tLayoutCommand Could the issue be that I do not have a tiles.xml file on the desktop and that's why I am receiving the aforementioned message? I even tried creating a dummy file through notepad++ and saved it to the desktop to no avail.
  19. Thank you for your quick reply. I then accessed the PowerShell v5 help menu and attempted to export to the following path then receiving the following error. PS C:\> Export-StartLayout -Path "C:\Windows\Users\annan_000\desktop\tiles.xml" -AS XML Export-StartLayout : A parameter cannot be found that matches parameter name 'AS'. At line:1 char:73 + ... rtLayout -Path "C:\Windows\Users\annan_000\desktop\tiles.xml" -AS XML + ~~~ + CategoryInfo : InvalidArgument: ( [Export-StartLayout], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Windows.StartLayout.Commands.ExportStartLayoutCommand Any idea where I went wrong?
  20. I have researched many sites on how to backup the tiles I have pinned to no avail. Is there a way to accomplish this in case of a crash?
×
×
  • Create New...