I need someone to write me some .bat or ps1 or exe files that can be automatically executed and have these functions.
The files could be separate.. but if they could be combined all in one with a simple UI that would be awesome.
The functionalities required will be listed below, FYI, In order to enter the domain a login is required which doesnt have to have the same credentials as the user that you might be adding.
Here is the list.
1 Change computer name.
Your current computer name is "XXX" please type in the new computer name:
Computer name has been changed would you like to restart you pc. Y/N?
if Y then restart
if N then close the application/file that is executing this script.
2 Enter Domain.
Would you like to enter a Domain or Workgroup. D/W?
if D then
Please specify the domain name:
Domain requires login, please provide your login credentials. (this could be requested in a new window as well, not necessarily within the command line)
Welcome to the "XX" domain.
Would you like to restart your machine Y/N
if W then
Please specify the workgroup name:
Work group name changed to xxxx would you like to restart? Y/N?
3 Create User.
Would you like to add a local user or a network user.
if local user then
Please provide the username:
Would you like to add this user to the administrators group? Y/N
if y... user added to admins.. if N ... exit application
if network user then
Please provide the username of the network user:
(since domain is protected) then ask for domain login: / password:
(remember, when you do this process in windows then there is a button called Check Name, the same thing might need to happen for the system in order to verify that the use exists.)
User XXX has been found and added as a user.
Would you like to give this user administrator privileges? Y/N
..... (same story here)
For now that is all I want.
I might want another project in the future to make this system automated.
Meaning that when the Computer Name is changed then the system restarts and the next prompt shows up automatically for ex... join domain...
All I need is someone to write me some file to execute in windows.
This project could be all combined with a nice UI or these files could be done separately and each one of them has a function.
Contact me for further questions!
4 freelancers are bidding on average $86 for this job
No problem with PowerShell, but it requires Windows 7 or 2008 R2 for running by default. On other OS you need to install PS. If you choose PS, I'll create this script.