Well that worked. I didn't understand that ntlite calls the powershell command automatically if you just directly add it. I misunderstood it when you said "NTLite will implicitly execute the file as "powershell -NoProfile -ExecutionPolicy Bypass -f." I took that as you still had to call/open...
Thanks for the information. It helped me reconfigure/rethink on some things:
"Post-Setup (After logon) commands exist as RunOnce tasks, and run with Administrator rights if you're the primary user." I don't think this is fully true or working correctly. The powershell window does not show...
My issue was that certain choco installs in my PowerShell script were halting due to it prompting for an action button (y/n) to continue. After reading many forms here and elsewhere, it is because the first run, runs as the system account which can affect some of the choco apps. I found a fix...
I do the same and tell (pipe) it to hide the changes:
# (Out-Null hides the number of rules changed)
Write-Host "Allow Network Discovery and Allow File and Printer Sharing" `n
netsh advfirewall firewall set rule group=”network discovery” new enable=yes | Out-Null
netsh advfirewall firewall set...
Nice setup if you are in a business.
If you have 365 home, you can't customize the install, but I found to way to automate the download and run the install via powershell:
Write-Output "Installing Microsoft 365..."
$progressPreference = 'silentlyContinue'
$Destination =...
Elevation depends on user acct:. "%WINDIR%\Setup\Scripts\SetupComplete.cmd: This script runs immediately after the user sees the desktop. This setting is disabled when using OEM product keys. It runs with local system permission. "
Souce...
This is the way I do it:
If the option is not in NTLite, then you can find the registry key to add or modify.
Create a registry file on your desktop. (Ex: Test.reg)
Add this to it:
Windows Registry Editor Version 5.00
; Turn off "Store and display recently opened programs in the Start menu"...
SO looks like the issue is using the autologon. Specifically the UserAccounts is working right The Test account is logging in with nothing to associate it as an admin. Is there any way to fix this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.