2
0

Move Wake On Lan to Login Script

This commit is contained in:
bschaper 2025-01-02 09:46:32 -06:00
parent 6cb86a304f
commit b11007b031
3 changed files with 4 additions and 5 deletions

View File

@ -81,10 +81,6 @@ echo Adding Group Policy to All Users...
C:\Scripts\Patches\GroupPolicy\LGPO.exe /g C:\Scripts\Patches\GroupPolicy\
echo Successfully Applied Policy...
:: Enable Wake on LAN
echo Checking Wake on LAN...
powershell -ExecutionPolicy Bypass -File "C:\Scripts\Patches\Windows\Enable-WOL.ps1"
:: Copy Login Scripts to User Startup
echo Copying Login Scripts to All Users...
powershell Copy-Item 'C:\Scripts\TCSE-Login.vbs' 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup'

View File

@ -1,7 +1,6 @@
@echo off
setlocal EnableDelayedExpansion
:: Script to configure default file associations, remove OneDrive, disable Edge, and launch Google Drive
:: Created: 2024-11-21
:: Set up logging
@ -10,6 +9,10 @@ set "LOGFILE=%LOGFILE: =0%"
echo Starting setup script at %DATE% %TIME% > "%LOGFILE%"
:: Enable Wake on LAN
echo Checking Wake on LAN...
powershell -ExecutionPolicy Bypass -File "C:\Scripts\Login\Enable-WOL.ps1"
:: Set Adobe Acrobat to Default PDF Viewer
echo Setting Adobe Acrobat to Default PDF Viewer... >> "%LOGFILE%"
powershell -ExecutionPolicy Bypass -File "C:\Scripts\Login\DefaultApp-Adobe.ps1"