using an USB pen drive to logon automatically
I have to logon in a multiple windows 10 machine using the local admin credentials. I have to do it several time per day in different Pcs in ICT labs to check ,maintain and support all the machines.
It will be extremely useful if i could use an USB to do it automatically every time I want to access to the local admin account.
I am sure it will possible using some power-shell script installed in the pen-drive
Any suggestion will very appreciate ;)
Thanks
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
anonymous_9363
7 years ago
Posted by:
anonymous_9363
7 years ago
Posted by:
epulone
7 years ago
I am learning how to use this very powerful tools that in some occasions helps as well as the RDP. Unfortunately for my experience this approach is useful when I have a planned deploy software and I can stay in my office etc.... but not very helpful when I am supporting teachers in the labs with an on going presentation or classes for ex with an installation software (saved on their usb) or after an image deployment of all labs to check all machines on the first login....
I hope it make sense....
Thanks
Posted by:
epulone
7 years ago
Unfortunately there are some circumstance where i need to be physically there in the labs to support classes installations etc.... After the image deployment I have to login to rename the PCs manually, start some scripts etc... I was not able to find a free good software deployment (please advise me if you know) to use and with free teamvieware version you can manage few pcs in the admin console.
Posted by:
n1md4
6 years ago
Create a scheduled task in your base image to run at logon of local admin (like server manager on windows server). so your future image deployments will have this already. for the images in already in use. take psexec to deploy your exported scheduled task to them. use psexec @filewithcomputernames.txt switch to deploy it to several specific computers at once (if they're running and reachable)
for the executable choose your script / batch / powershell file on the usb stick. the usb stick should get the same drive letter every time. if you have problems achieving this, use USBDLM tool (google for it).
for example: you have install.bat on usb drive and you call it on logon. inside install.bat you can have what you want, install MSI, EXE Setups and do scripting...
Posted by:
anonymous_9363
6 years ago
free good software deployment
I've used 'WPKG' and 'PDQ Deploy' before to good effect but what about MDT, since you have Windows Server already?
Comments:
-
Thanks VBScab ... PDQ gave me an admin right error on my machine (win server 2016). I am going to look at 'WPKG' but it needs more work to install and use it - epulone 6 years ago
Posted by:
epulone
6 years ago
many thanks n1md4
why do you want me to deploy me the scheduled task to the other PCs...the task is already there inside the image deployed to all pcs.
although the scheduled task is a good solution i found 2 issue:
1) password= I have realised the script that rename the pc want privilege mode asking the domain admin password
Rename-Computer -ComputerName "Srv01" -NewName "Server001" -LocalCredential Srv01\Admin01 -DomainCredential Domain01\Admin01 -Force -PassThru -Restart
Is there a way to bypass this pw request?
2) if the point 1 is not resolved the option " at a startup" is not going to work. To avoid the schedule start again ( at the next restart) I thought to write a line in the script to cancel it-self before it restart (I am not sure it is going to work)
About the the usb it is not very clear why I need to use it.....