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?
@EGE94
Create a powershell script for this. Create a cmd file to call the powershell script. Add the cmd file to the runonce HKCU registry folder so that when you first install windows and sign in, it will run the commands.
Here are some powershell tips. I would suggest finding the app...
My scenario: I have my batch file and powershell file in the Sources\$1\UpdatePC folder. The files copy over to C:\UpdatePC correctly. I have the runonce registry key that calls the batch file from the HKCU location:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]...
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.