Add FQDNUpdate drive remapping tool and standardize log paths
Add FQDNUpdate project for SSO drive remapping — scans for drives mapped to legacy server names (tsgwp00525, avwesj-gwy01), backs them up, clears stale credentials (cmdkey, IPC$, Kerberos), and remaps using canonical FQDNs with Windows SSO (no password). Includes .iss (pure Pascal Script), .ps1, and .bat launcher. Standardize all project log/backup paths to Documents\wjdt\logs\ with auto-creation of the directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
17
FQDNUpdate/FQDNUpdate.bat
Normal file
17
FQDNUpdate/FQDNUpdate.bat
Normal file
@@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
cd /d %SystemRoot%
|
||||
|
||||
if not exist "%~dp0FQDNUpdate.ps1" (
|
||||
echo ERROR: FQDNUpdate.ps1 not found in %~dp0
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0FQDNUpdate.ps1"
|
||||
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo.
|
||||
echo ERROR: PowerShell exited with code %ERRORLEVEL%
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user