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>
18 lines
323 B
Batchfile
18 lines
323 B
Batchfile
@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
|