![]() |
Autoruns on multiple computer |
Post Reply
|
| Author | |||||
rhap4boy
Newbie
Joined: 06 February 2007 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Autoruns on multiple computerPosted: 06 February 2007 at 4:57pm |
||||
|
I was wondering if there is a way to use autoruns on multiple computers to collect startup entries into a file and then use group policy to enforce those startup entries and delete everything else. If so, what is the exact command I should use? Do I put this in a login script? Where should I put the file to on the server? make Netlogon folder writable? |
|||||
![]() |
|||||
Karlchen
Senior Member
Joined: 18 June 2005 Location: Germany Status: Offline Points: 5131 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 February 2007 at 5:43am |
||||
|
Hello, rhap4boy.
Summary From what will be shown below it should become clear that collecting autoruns information may be done with a single command or at least with very few commands. Setting up a group policy enforcing particular autoruns entries and disallowing others is a totally different business and pretty unrelated to the autoruns(c) utilities. Details Q.1
I am sure there is more than one way of achieving this part. The GUI programmes Autoruns.exe may not be the best choice, because it needs to be run interactively on 1 machine. Therefore, a better choice will be to use the command line equivalent of autoruns.exe, Autorunsc.exe and launch something like
--- 1 possible approach to collect autoruns information Depending on the configuration of your network, a good approach to collect autoruns information may be combining psexec and autorunsc.exe. Something like this might be used to collect autoruns information on all client machines:
The approach and the commands given above may need fine tuning in order to be usable in your environment. --- Q.2
The output format generated by autorunsc.exe, no matter whether used with or without the -c option, is not suitable for re-applying the collected information directly. Moreover, it is absolutely unclear which settings you wish to keep and which you wish to delete, because you said you were going to check multiple machines. Their autoruns entries may be partially different. How to tell the good autoruns entries from the bad ones automatically? Anyway, there is no direct way of deriving any group policy from an autorunsc logfile. Setting up group policies allowing or disallowing particular autoruns settings is not an automatic action, but a set of decisions to be taken deliberately and to be coded as group policies. Q.3
Ok, I guess that from what has been stated before, collecting autoruns information may be done with a single command or at least with very few commands. Setting up a group policy enforcing particular autoruns entries and disallowing others is a totally different business and pretty unrelated to the autoruns(c) utilities. Karl |
|||||
![]() |
|||||
rhap4boy
Newbie
Joined: 06 February 2007 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 February 2007 at 2:30am |
||||
|
Thank you very much for your reply! That is very helpful information. I am going to try the psexec method. Is it possible to run the code you mentioned with the window minimized? Right now when the users login they execute a domain login script which basically execute this batch file that contains the autorunsc command. The command writes the output to a share folder on the server using their computer name as the filename. However, I cannot seems to get it to execute the command with the dos window minimized. I tried using the "start /min" command but it disables the piping function because it pipes the start command instead of the autorunsc command. Maybe I don't have the syntax correctly setup.
|
|||||
![]() |
|||||
Karlchen
Senior Member
Joined: 18 June 2005 Location: Germany Status: Offline Points: 5131 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 February 2007 at 6:41pm |
||||
This means each user executes the autorunsc command locally. Therefore psexec will not be needed in this case. This should reduce the command needed to
And the special character to escape will not be the pipe sign "|", but the ">" (redirect stdout)?! About the "start /min" command: I would not prefix it to the autorunsc command. Inside the login script I would "start /min" the complete batch file which holds the autorunsc command line. HTH, Karl Edited by Karlchen - 09 February 2007 at 6:43pm |
|||||
![]() |
|||||
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |