2
0

Added Scripts to Admin Accounts

This commit is contained in:
scarrington 2025-01-16 08:26:56 -06:00
parent 1dcdea2c70
commit c6ea2b8e5e
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,11 @@
@echo off
for /f "tokens=*" %%a in ('type "C:\Scripts\Login\System_Tasks\local_admins.txt"') do (
for %%b in (%%a) do (
net localgroup Administrators "%%b" /add
if errorlevel 1 (
echo Failed to add %%b to Administrators group.
) else (
echo User %%b added to Administrators group successfully.
)
)
)

View File

@ -0,0 +1,25 @@
bschaper_tcse,
scarrington_tcse,
abrock_tcse,
aremsey_tcse,
adaneshdoost_tcse,
amaxey_tcse,
bhicks_tcse,
cbumann_tcse,
cpayne_tcse,
djones_tcse,
ehenriksen_tcse,
jcochran_tcse,
kfanning_tcse,
lharris_tcse,
lgross_tcse,
mjudge_tcse,
mlingle_tcse,
mreel_tcse,
rcuden_tcse,
revans_tcse,
slyles_tcse,
shood_tcse,
spresswood_tcse,
sbookstaver_tcse,
tbaileysmith_tcse