Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Аватара для Казбек

Ветеран


Сообщения: 5380
Благодарности: 1874

Профиль | Отправить PM | Цитировать


Цитата pavsem7:
эта загадочная фраза сработала »
Команда простая в своей сути: перерегистрирует стандартное приложение настройки с помощью PowerShell, просто использует для этого командную строку.

Код: Выделить весь код
powershell -ExecutionPolicy Unrestricted
  1. -ExecutionPolicy
    Задает политику выполнения по умолчанию для текущего сеанса и сохраняет ее в переменной среды $env:PSExecutionPolicyPreference. Этот параметр не изменяет политику выполнения PowerShell, заданную в реестре. Дополнительные сведения о политиках выполнения PowerShell, включая список допустимых значений, см. в статье about_Execution_Policies
  2. -Unrestricted
    Unsigned scripts can run. (This risks running malicious scripts.)
    Warns the user before running scripts and configuration files that are downloaded from the Internet.
Ссылки, где можно ознакомиться подробней:
Код: Выделить весь код
Add-AppxPackage -DisableDevelopmentMode -Register
  1. The Add-AppxPackage cmdlet adds a signed app package to a user account. An app package has an .appx file name extension. Use the DependencyPath parameter to add all other packages that are required for the installation of the app package.
    You can use the Register parameter to install from a folder of unpackaged files during development of Windows® Store apps.
  2. -DisableDevelopmentMode
    Indicates that this cmdlet registers an existing app package installation that has been disabled, did not register, or has become corrupted. Use the current parameter to specify that the manifest is from an existing installation, and not from a collection of files in development mode. You can also use this parameter to register an application that the Package Manager API has staged. Use the Register parameter to specify the location of the app package manifest .xml file from the installation location.
  3. -Register
    Indicates that this cmdlet registers an application in development mode. You can use development mode to install applications from a folder of unpackaged files. You can use the current parameter to test your Windows® Store apps before you deploy them as app packages. To register an existing app package installation, you must specify the DisableDevelopmentMode parameter and the Register parameter. In order to specify dependency packages, specify the DependencyPath parameter and the DisableDevelopmentMode parameter.
Ссылка, где можно ознакомиться подробней:
С оставшейся частью команды, думаю, что все понятно.

Цитата pavsem7:
Почему-то в и-нете иногда советуют ее набирать по 3 раза. Совсем магия. »
Это, наверное, маги какие-то советуют. Видать, что-то знают....

-------
Кто реку перешел, тому росы бояться ни к чему

Это сообщение посчитали полезным следующие участники:

Отправлено: 10:17, 31-12-2017 | #6