/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: anonymous_9363 7 years ago
Red Belt
2
Why not simply use PSExec to remotely execute whatever process it is you need to run on the machines?

If you have to log in, why not just RDP in?
Posted by: anonymous_9363 7 years ago
Red Belt
2
Have you thought about TeamViewer or similar? Dameware? 

I support 6,000+ people across 19 sites globally and can't recall the last time had to visit any one of them personally.
Posted by: epulone 7 years ago
White Belt
1
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
White Belt
1

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 7 years ago
Second Degree Blue Belt
0
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 7 years ago
Red Belt
0
 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 7 years ago
Posted by: epulone 7 years ago
White Belt
0
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.....

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ