I am trying to find a way to make a user an admin so I can silently install our new backup software. The software is profile specific and the user them self need to be an admin for this. Currently I am using:
psexec \\computername -i net localgroup administrators \domain\username /add
which is working just fine actively putting the logged in user in the admin group, but the problem the security token is not updated, so the user is not an admin even though they are in the group... well not until they logout and back in. But I am trying to find out if there is a way to force the update without the user knowing or needing to log off and on.
tried gpupdate that doesn't work any suggestions would be great.