→ Having trouble accessing our new support portal or creating a ticket? Please notify our team here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hirogen
Engaged Sweeper III
This service needs to be enabled in order for me to run a powershell script to delete user profiles from hotdesks in one go using delprof2.exe
2 REPLIES 2
CyberCitizen
Honored Sweeper
First off running Windows 7 I would say upgrade them now. Those machines should not have Remote Registry running for security reasons.

You should be able to create a deployment package to run the following commands.

sc start "remoteregistry"

This command is to give the service time to start.

timeout /t 10

Run your delprof2

sc stop "remoteregistry"
brandon_jones
Champion Sweeper III
You can create a deployment to start the service that sends the command net start "service name"