BookmarkSubscribeRSS Feed
Fluorite | Level 6

We are doing a migration from SAS base 9.4 to 9.4M6. This is on a Windows server. The migration of libraries and creation of users are fine. The issue we are facing is in migrating the user projects. The user home directories for each user under "User Folders" gets created for the first time automatically once a user logs in. We cannot wait for all the users to login or ask the users to login and then do an export an import of the projects as we want to make it seamless. 


What we tried doing was importing the projects with the user folder itself i.e. we created the our_user folder in the import process itself but when the user actually logged in for the first time it created another folder name our_user(1) and the user was assigned this folder and the projects in our_user folder was not viewable or usable to to the user. 


Is there any mechanism where we can create user home folders and map them to the actual user logins so that when the user logs in for the first time it doesn't go and create a new folder but starts using the folder that we've created? 


Apologies for any confusion. A newbie here and I've searched all over the forum as well as google but couldn't find anything on this. 

Pyrite | Level 9

Hi @sakurugoda 


First: This is not really SAS related so you will have to search the Microsoft Communities for an answer.

However… you Problem is, that you also might have to create an registry-key for all those users.
You can find those keys at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList


Maybe this pretty old article gives you a hint, how this can be solved:


There seems to be a way you can execute anything (like starting a cmd) with that userid to force Windows to create a profile without providing the users Password.

Fluorite | Level 6

Hi @DanielKaiser ,


Thanks for your reply. I am not sure how this can be a Microsoft issue as these users don't login to the server itself but to SAS EG. Hence the folder that gets created, and which I refer to are available under SAS Management Console->Folders->User Folders. I've attached an image for your reference. I do believe this is related to SAS and not Microsoft. 



Opal | Level 21

@sakurugoda  - Those are SAS metadata folders and are nothing to do with Windows Directories.


You will find Windows folders in the EG Server window under Files. 

Fluorite | Level 6

Hi @SASKiwi ,


Thanks for the reply. I am actually not interested in the windows directories and only in these metadata folders. Sorry if there was a confusion in my initial question. Our users have saved their working projects in these metadata folders and during our migration we want to migrate their projects as is. But as you would know these metadata folders gets created for the first time in a new environment when the user logs in to the EG for the first time. And if we do create these metadata folders with the username ourselves, when the user actually logs in for the first time it will create a new folder called username(1).


We are trying to avoid the creation of unwanted folder as well as make the user projects available in the new environment  when the user logs in. 

Opal | Level 21

@sakurugoda  - Understood. I'd suggest tracking this to Tech Support. This type of behaviour could be EG or SAS version dependent so Tech Support would be best qualified to advise.

Pyrite | Level 9


Sorry, I misunderstood your Question.

As @SASKiwi said, tech support will be the best adress.


What i'd try is, Export and Import the whole userfolder as spk and see, if the behavior is still the same.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 3 in conversation