Jump to content

Recommended Posts

Posted

I'm looking at DelProf2 to automatically remove some older profiles on PC's over say 30 days old, but one of the pre-requisites is that the Remote Registry Service is running.

 

By default our PC's have this set to MANUAL - so it's not running.

 

What security risk is there in creating a GPO that turns this to running across the site?

 

Or should I create a batch file that is called at logoff that starts it, runs DelProf2, then stops it again?

 

Cheers.

Posted (edited)

sc \\ICTROOM-01 start remoteregistry

delprof2 /u /c:\\\\ICTROOM-01 /ed:administrator

sc \\ICTROOM-01 stop remoteregistry

 

This is what I use. First command starts remote registry service, second runs delprof2 (ignoring the administrator account) and the third stops remote registry service :) No need to keep remote registry running!

 

This can be used when people are logged on, as Delprof ignores the profile if it's in use.

 

 

edit: Obviously, just replace ICTROOM-01 with your computer name

Edited by gtg93
Posted
sc \\ICTROOM-01 start remoteregistry

delprof2 /u /c:\\\\ICTROOM-01 /ed:administrator

sc \\ICTROOM-01 stop remoteregistry

 

This is what I use. First command starts remote registry service, second runs delprof2 (ignoring the administrator account) and the third stops remote registry service :) No need to keep remote registry running!

 

This can be used when people are logged on, as Delprof ignores the profile if it's in use.

 

 

edit: Obviously, just replace ICTROOM-01 with your computer name

 

Thanks.

 

But if I want to target a suite/room/area of PC's I need to run this as a starup or logoff script......

 

- - - Updated - - -

 

sc \\ICTROOM-01 start remoteregistry

delprof2 /u /c:\\\\ICTROOM-01 /ed:administrator

sc \\ICTROOM-01 stop remoteregistry

 

This is what I use. First command starts remote registry service, second runs delprof2 (ignoring the administrator account) and the third stops remote registry service :) No need to keep remote registry running!

 

This can be used when people are logged on, as Delprof ignores the profile if it's in use.

 

 

edit: Obviously, just replace ICTROOM-01 with your computer name

 

Thanks.

 

But if I want to target a suite/room/area of PC's I need to run this as a starup or logoff script......

Posted

But if I want to target a suite/room/area of PC's I need to run this as a starup or logoff script......

 

Why? You just run this as a batch file from your PC, and it will run delprof on the PC(s) remotely.

Posted
Why? You just run this as a batch file from your PC, and it will run delprof on the PC(s) remotely.

 

But not all 850 PC's on site are always turned on :(

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...