iTunes 7 configuration problem?
"UserMoviesLimit"=dword:000000c8
"UserTVShowsLimit"=dword:00000190
"UserRatingSystemID"=dword:00000001
"AdminMoviesLimit"=dword:000000c8
"AdminTVShowsLimit"=dword:00000190
"AdminRatingSystemID"=dword:00000001
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
The HKCU is straightforward. Use the 'Search' facility to search for 'CurrentUser', 'self-healing' or 'repair'. You'll find a post today with details about how to trigger self-healing.for current user settings.
As to the SID, I think you're going to have to get into script to retrieve the SID for the current user and either set a property which will be used by the MST or to construct and write the registry in that script. Unless anyone knows different...?
Edit:
I located some code in my script library, if you decide that's the route you want to follow.
As to the SID, I think you're going to have to get into script to retrieve the SID for the current user and either set a property which will be used by the MST or to construct and write the registry in that script. Unless anyone knows different...?
Edit:
I located some code in my script library, if you decide that's the route you want to follow.
strUser="joeblow"
blnReturn = GetSIDFromUser(strUser, strSID)
If blnReturn Then
'// do something with contents of strSID
End If
Function GetSIDFromUser(ByVal strUserName, ByRef strSID)
Dim strDomainName
Dim objWMIUser
Dim intSepPos
intSepPos = InStr(strUserName, "\")
If intSepPos > 0 Then
strDomainName = Mid(strUserName, 1, intSepPos - 1)
strUserName = Mid(strUserName, intSepPos + 1)
Else
strDomainName = CreateObject("WScript.Network").UserDomain
End If
On Error Resume Next
Set objWMIUser = GetObject("winmgmts:{impersonationlevel=impersonate}!" & "/root/cimv2:Win32_UserAccount.Domain='" & strDomainName & "'" & ",Name='" & strUserName & "'")
If Err <> 0 Then
Exit Function
End If
On Error GoTo 0
strSID = objWMIUser.SID
GetSIDFromUser = True
End Function
Posted by:
anonymous_9363
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.