summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2020-07-05 18:17:57 +0100
committerbreadcat2020-07-05 18:17:57 +0100
commit004961c0a812dca3bb4327e5970845b138994db4 (patch)
tree2fbf2a4ac02a0f3e81a7500cabb88bf71e419099
parent06ca1b2a3d7f98b1a147d7d11a0585bcd00f538b (diff)
downloadwin10-prep-004961c0a812dca3bb4327e5970845b138994db4.tar.gz
win10-prep-004961c0a812dca3bb4327e5970845b138994db4.tar.bz2
win10-prep-004961c0a812dca3bb4327e5970845b138994db4.zip
Tidied unused local server sections
No longer use local server, so removed sections relating to it, also removed activation as no longer running that server
-rw-r--r--0-win10prep.bat19
-rw-r--r--1-activation.bat6
-rw-r--r--1-tweaks.bat (renamed from 2-tweaks.bat)0
-rw-r--r--2-registry.bat (renamed from 3-registry.bat)0
-rw-r--r--3-remove.bat (renamed from 4-remove.bat)0
-rw-r--r--4-install.bat (renamed from 5-install.bat)0
-rw-r--r--5-clean.bat (renamed from 8-clean.bat)0
-rw-r--r--6-network.bat12
-rw-r--r--7-updates.bat3
9 files changed, 5 insertions, 35 deletions
diff --git a/0-win10prep.bat b/0-win10prep.bat
index 671fbd5..a4b7c4e 100644
--- a/0-win10prep.bat
+++ b/0-win10prep.bat
@@ -25,29 +25,20 @@ if %errorLevel% == 0 (
)
rem Process
-<NUL set /p=:: Activating Windows...
-call "1-activation.bat" > nul
-echo done
<NUL set /p=:: System Tweaks...
-call "2-tweaks.bat" > nul
+call "1-tweaks.bat" > nul
echo done
<NUL set /p=:: Registry Tweaks...
-call "3-registry.bat" > nul
+call "2-registry.bat" > nul
echo done
<NUL set /p=:: Removing Programs...
-call "4-remove.bat" > nul
+call "3-remove.bat" > nul
echo done
<NUL set /p=:: Install Programs...
-call "5-install.bat" > nul
-echo done
-<NUL set /p=:: Mounting Network...
-call "6-network.bat" > nul
-echo done
-<NUL set /p=:: Windows Updates...
-call "7-install.bat" > nul
+call "4-install.bat" > nul
echo done
<NUL set /p=:: Clean Up...
-call "8-clean.bat" > nul
+call "5-clean.bat" > nul
echo done
rem complete
diff --git a/1-activation.bat b/1-activation.bat
deleted file mode 100644
index aa7a92c..0000000
--- a/1-activation.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-rem server address
-set kms_server=minskio.co.uk
-rem windows activation
-slmgr/skms %kms_server% && slmgr/ato
-rem office activation, if it's installed
-if exist "%ProgramFiles(x86)%\Microsoft Office\Office14\OSPP.VBS" cscript "%ProgramFiles(x86)%\Microsoft Office\Office14\OSPP.VBS" /sethst:%kms_server% && cscript "%ProgramFiles(x86)%\Microsoft Office\Office14\OSPP.VBS" /act \ No newline at end of file
diff --git a/2-tweaks.bat b/1-tweaks.bat
index 8c6138c..8c6138c 100644
--- a/2-tweaks.bat
+++ b/1-tweaks.bat
diff --git a/3-registry.bat b/2-registry.bat
index dda1fe1..dda1fe1 100644
--- a/3-registry.bat
+++ b/2-registry.bat
diff --git a/4-remove.bat b/3-remove.bat
index dd79bd6..dd79bd6 100644
--- a/4-remove.bat
+++ b/3-remove.bat
diff --git a/5-install.bat b/4-install.bat
index 1add88b..1add88b 100644
--- a/5-install.bat
+++ b/4-install.bat
diff --git a/8-clean.bat b/5-clean.bat
index bcbd3ad..bcbd3ad 100644
--- a/8-clean.bat
+++ b/5-clean.bat
diff --git a/6-network.bat b/6-network.bat
deleted file mode 100644
index 6992501..0000000
--- a/6-network.bat
+++ /dev/null
@@ -1,12 +0,0 @@
-rem connect to network shares
-set server=atlas
-ping -n 1 %server% | find "TTL=" >nul
-if errorlevel 0 ( goto connect ) else ( goto no_connect )
-
-:connect
-net use Z: \\%server%\media /USER:%username% /PERSISTENT:YES
-net use Y: \\%server%\vault /USER:%username% /PERSISTENT:YES
-net use X: \\%server%\downloads /USER:%username% /PERSISTENT:YES
-
-:no_connect
-:eof \ No newline at end of file
diff --git a/7-updates.bat b/7-updates.bat
deleted file mode 100644
index 426abf9..0000000
--- a/7-updates.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-rem install windows media framework, if they exist after mounting network
-if exist Z:\images\windows/KB3133719-x64.msu wusa.exe Z:\images\windows/KB3133719-x64.msu /quiet /norestart
-if exist Z:\images\windows/KB3133719-x86.msu wusa.exe Z:\images\windows/KB3133719-x86.msu /quiet /norestart \ No newline at end of file