K2000 Custom User State Config
Hello,
I am trying to capture the user state and am looking to capture 2 specific folders, but I am not sure how to change the config around.
The folders are C:\Users\*whatever username is*\.random and C:\Users\*whatever username is*\AppData\Roaming\Microsoft\Signatures
I have tried the following configuration with no success.
<pattern type="File">%CSIDL_APPDATA%\Microsoft\Signatures [*]</pattern>
<pattern type="File"> C:\*\.random\* [*]</pattern>
Also have tried
<pattern type="File">%CSIDL_PROFILE%\.random[*]</pattern>
<pattern type="File">%CSIDL_PROFILE%\[*]</pattern>
I have tried using the Kace support to make a custom config, but I have not been able to get it working.
Thank you in advanced!
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
SMal.tmcc
10 years ago
I would USMT scanstate everything and do a selected loadstate restore if you have the space
Have never gotten that specific with my migrations. I did some googling and from what I just read I think you want:
<pattern type="File">%CSIDL_PROFILE%\* [*.random]</pattern>
<pattern type="File">%CSIDL_APPDATA%\Microsoft\Signatures\* [*]</pattern>
Note:
CSIDL_PROFILE is only recognized only in the user context. You can this in the .xml files within sections with context=User and context=UserAndSystem.
here is how they did some lines in the sfpath.inf file, just different call formating for xml vs inf calls but same verbage
"%ProgramData%\* [windowscodeintegrity.luacdf]"
"%ProgramFiles%\* [windowscodeintegrity.luacdf]"
"%CSIDL_PROGRAM_FILESX86%\* [windowscodeintegrity.luacdf]"
"%Public%\* [windowscodeintegrity.luacdf]"
"%SystemRoot%\system32\DriverStore\* [*]"
"%SystemRoot%\system32\SMI\* [*]"
"%SystemRoot%\servicing\* [*]"
"%SystemRoot%\inf\nfssvr\$ [dsctrs.ini]"
"%SystemRoot%\system32\$ [nfsmgmt.msc]"
"%ProgramData%\Microsoft\Windows\GameExplorer\{47F97240-F857-4146-8F3D-7F16816BAE4E}\* [*]"
"%ProgramData%\Microsoft\Windows\Start Menu\Programs\Games [Microsoft® Tinker™.lnk]"
"%ProgramFiles%\Microsoft Games\Tinker [Microsoft® Tinker™.lnk]"
see as reference:
http://technet.microsoft.com/en-us/library/cc766226%28v=ws.10%29.aspx
http://social.technet.microsoft.com/Forums/systemcenter/en-US/4130cb36-130b-4352-a15d-5be98276cd1e/usmt-miguserxml-help?forum=configmgrosd
http://technet.microsoft.com/en-us/library/cc749104%28v=ws.10%29.aspx
Have never gotten that specific with my migrations. I did some googling and from what I just read I think you want:
<pattern type="File">%CSIDL_PROFILE%\* [*.random]</pattern>
<pattern type="File">%CSIDL_APPDATA%\Microsoft\Signatures\* [*]</pattern>
Note:
CSIDL_PROFILE is only recognized only in the user context. You can this in the .xml files within sections with context=User and context=UserAndSystem.
here is how they did some lines in the sfpath.inf file, just different call formating for xml vs inf calls but same verbage
"%ProgramData%\* [windowscodeintegrity.luacdf]"
"%ProgramFiles%\* [windowscodeintegrity.luacdf]"
"%CSIDL_PROGRAM_FILESX86%\* [windowscodeintegrity.luacdf]"
"%Public%\* [windowscodeintegrity.luacdf]"
"%SystemRoot%\system32\DriverStore\* [*]"
"%SystemRoot%\system32\SMI\* [*]"
"%SystemRoot%\servicing\* [*]"
"%SystemRoot%\inf\nfssvr\$ [dsctrs.ini]"
"%SystemRoot%\system32\$ [nfsmgmt.msc]"
"%ProgramData%\Microsoft\Windows\GameExplorer\{47F97240-F857-4146-8F3D-7F16816BAE4E}\* [*]"
"%ProgramData%\Microsoft\Windows\Start Menu\Programs\Games [Microsoft® Tinker™.lnk]"
"%ProgramFiles%\Microsoft Games\Tinker [Microsoft® Tinker™.lnk]"
see as reference:
http://technet.microsoft.com/en-us/library/cc766226%28v=ws.10%29.aspx
http://social.technet.microsoft.com/Forums/systemcenter/en-US/4130cb36-130b-4352-a15d-5be98276cd1e/usmt-miguserxml-help?forum=configmgrosd
http://technet.microsoft.com/en-us/library/cc749104%28v=ws.10%29.aspx
Comments:
-
I have tried the code you provided with still no success. I have also tried the scanstate.exe as microsoft states, but I am getting an error when i use the scanstate.exe I:\usmtdata the error is Unable to Start. Scanstate return code:71.
Any help would be appreciated. Thanks - ITNerd 10 years ago