From bd0867f4785308809d9beb11cfcaeab7ea6cbd46 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 26 Jan 2022 07:59:58 +0000 Subject: [PATCH] docs(win): update elevated privileges error message --- _webi/template.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_webi/template.ps1 b/_webi/template.ps1 index e2db2dc..3201046 100644 --- a/_webi/template.ps1 +++ b/_webi/template.ps1 @@ -11,7 +11,7 @@ function Confirm-IsElevated { } if (Confirm-IsElevated) -{ throw "Please run script NOT as administrator" } +{ throw "Webi MUST NOT be run with elevated privileges. Please run again as a normal user, NOT as administrator." } # this allows us to call ps1 files, which allows us to have spaces in filenames # ('powershell "$Env:USERPROFILE\test.ps1" foo' will fail if it has a space in