Ok, so I've been searching everywhere for the actual code, but I know this can be done, because I've SEEN it done. I just can't remember how. I know it's only about 4-5 lines of code in Applescript.
What I know
"username" and "password" to verify
remove groups
remove user
remove applesetupdone
remove script
I can't remember the proper commands, but I believe they're in that order. Let's say I just installed Snow Leopard fresh, installed iLife 11, then ran all updates up to 10.6.6. I made an account with a user named "Service" and a password as "apple". This script could sit on the desktop when I was done, double click it, it runs, removes all the user stuff, then the script itself. Now all I do is restart, and perfecto......WELCOME TO OSX SETUP SCREEN (with latest software and updates installed)
does anyone know the exact code to carry out these commands? I keep running into errors in applescript. It would be greatly appreciated.
What I know
"username" and "password" to verify
remove groups
remove user
remove applesetupdone
remove script
I can't remember the proper commands, but I believe they're in that order. Let's say I just installed Snow Leopard fresh, installed iLife 11, then ran all updates up to 10.6.6. I made an account with a user named "Service" and a password as "apple". This script could sit on the desktop when I was done, double click it, it runs, removes all the user stuff, then the script itself. Now all I do is restart, and perfecto......WELCOME TO OSX SETUP SCREEN (with latest software and updates installed)
does anyone know the exact code to carry out these commands? I keep running into errors in applescript. It would be greatly appreciated.