Forum: SuRun English speaking RSS
User settings reset after computer name changes
rkaiser #1
Member since Aug 2017 · 1 post
Group memberships: Mitglieder
Show profile · Link to this post
Subject: User settings reset after computer name changes
Hello All,

Looking for a little help with an issue we have run across.  We are trying to use SuRun on our golden images for a group of computers.  However, when we change the computer name to sysprep the computer, the settings for the local admin and user are reset to default. 

Example is settings for computerA\localuser are lost when we rename the computer to computerB, it seems that SuRun sees it as computerB\localuser and thinks its a new user with default settings.

We are able to restore the settings manually using the /restore <settings.ini> options but this does not work well when we are trying to automate our deployment.  We have tried creating a batch file to restore the settings after the system is renamed but get an error that "You must be member of the local Administrators group to import SuRun Settings."

The question then, is there a way to prevent the settings being lost or to script the /restore to run when the systems are imaged and renamed?

We are using Windows 10 Pro 64 bit, Build 1607. These systems are not domain joined.
SuRun version

Thanks for any help on this.
Kay (Administrator) #2
User title: Weltverbesserer
Member since Nov 2007 · 1509 posts · Location: Magdeburg
Group memberships: Administratoren, Mitglieder
Show profile · Link to this post
Sorry for the late answer, I just saw your post this morning.

SuRun Stores User Settings in the Windows registry with the scheme "HKLM\Security\SuRun\<ComputerName|DomainName>\<UserName>".

That's why the settings are gone after renaming Computer but not SuRun's Registry keys.

I changed SuRun's behavior in
This post was edited on 2017-08-20, 09:18 by Kay.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Not logged in. · Lost password · Register
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Page created in 38.3 ms (14.2 ms) · 44 database queries in 6.8 ms
Current time: 2020-04-03, 06:01:52 (UTC +02:00)