K2000: Get username as pre-installation task and use it in post installation task to make the user local administrator
Thank you for taking the time to read this. I would like to make the last logged on user, local administrator on the newly installed system. I would not like to discuss whether it is wise or unwise to make all users local administrator.
The problem is not with making a user local administrator. There are hunderds of scripts to find for this. The problem for me is how to get the username as a preinstallation task, save it somewhere and use it in the post installation task.
I do use an executable for the computer name, this called computer name x64.
Does anyone know how to do this? Or give me some pointers? I tried looking for it on google but couldn't really find anything.
Thank you in advance,