InitalCommit
This commit is contained in:
21
DeployTools/Enable_Deploy-FirstBoot.cmd
Normal file
21
DeployTools/Enable_Deploy-FirstBoot.cmd
Normal file
@@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
|
||||
REM ###############################################################
|
||||
REM # @description: #
|
||||
REM # Used for enableing "Deploy-FirstBoot.ps1" on next boot #
|
||||
REM # #
|
||||
REM # @project: IMGSystTools #
|
||||
REM # @author: Bram Prieshof #
|
||||
REM ###############################################################
|
||||
|
||||
|
||||
NET SESSION >nul 2>&1
|
||||
IF %ERRORLEVEL% EQU 0 (
|
||||
COPY "C:\SysTools\DeployTools\INK_KickStart_Deploy-FirstBoot.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\FirstBoot.lnk"
|
||||
ECHO Enabled FirstBoot Deploy script
|
||||
PAUSE
|
||||
) ELSE (
|
||||
ECHO Please run this script as administrator
|
||||
PAUSE
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user