I'm still trying to setup NT workstations connected to netware servers. I have about 1000 workstations and all users are roaming: they can log on any workstation and get their environment (roaming profile) and applications. I have extensively used System Policy Editor to set the UserShellFolders to server based directories.
Now I have a problem with 32-bit applications whose programmers didn't understand that WriteProfileString is an OBSOLETE function, and with most of 16-bit applications that use INI files.
All these INI files are by default located in the %WINDIR% directory (C:\WINNT) and excepted a few applications that can be configured to look for their ini files in a user directory, this behaviour breaks the roaming system cuz INI files are not USER-BASED but SYSTEM-BASED.
What I need is a way to make all programs write and read their ini files in a J:\NT subdirectory that is private to each user.
* A first solution is to copy these files during the LOGON script to C:\WINNT .... but I didn't find any LOGOUT script to copy the files back to J:\NT
* A second solution is to use the HKLM\SOFTWARE\Microsoft\Windows NT\IniFileMapping subkey which works very well to map ini files to registry entries. Anyway, I didn't find any DEFAULT MAPPING so this implies adding one subkey to 1000 workstations each time a new application that writes to ini files is installed...
* A third solution would be to change the %windir% environment variable to J:\NT.... this didn't work !
* Also tried to add J:\NT to the PATH... no success...
Now it's up to you: How do you deal with these F*****G ini files ? ANY IDEA HIGHLY APRECIATED !
I again thank Microsoft for doing half of the work... they permit roaming users, they have a user shell folder called Application Data.... and they do not modify their own API to write to this folder instead of SYSTEMROOT. *GRIN*