diff --git a/Set-ComputerName.ps1 b/Set-ComputerName.ps1 index eb91ad0..304c87a 100755 --- a/Set-ComputerName.ps1 +++ b/Set-ComputerName.ps1 @@ -24,7 +24,7 @@ If ($Null -eq $NewComputerName) { $NewComputerName = Read-Host -Prompt "Please enter desired computer name then hit enter" } -$cred = New-Object System.Management.Automation.PsCredential("SAWTOOTH\Administrator", (ConvertTo-SecureString "REPLACE_WITH_PASSWORD" -AsPlainText -Force)) +$cred = New-Object System.Management.Automation.PsCredential("SAWTOOTH\DomainJoin", (ConvertTo-SecureString "REPLACE_WITH_PASSWORD" -AsPlainText -Force)) Write-Host "Waiting for RPC Service" (Get-Service RpcSs).WaitForStatus("Running") diff --git a/autounattend.xml b/autounattend.xml index a59e4dd..e03baca 100755 --- a/autounattend.xml +++ b/autounattend.xml @@ -159,7 +159,7 @@ - net use \\ucs.sawtooth.claremontmakerspace.org\software /user:SAWTOOTH\Administrator REPLACE_WITH_PASSWORD + net use \\ucs\software /user:DomainJoin REPLACE_WITH_PASSWORD Set Up UCS Share 1