Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

"Run Command Line" task with Secedit fails in task sequence- help!

$
0
0

I am using a secedit command line to change some security settings on a Win7 SP1 X64 task sequence build.  The command line works just fine when I run it manually but my task sequence step fails with error code 1. 

Here is the command line:

secedit.exe /configure /db c:\windows\security\database\custom.sdb /cfg %scriptroot%\security.inf /overwrite /quiet

Here is the full error message:

Command line returned 1. The operating system reported error 1: Incorrect function.

I've verified the security.inf file is in my MDT toolkit in the scripts folder.  Any ideas why I might be getting this error message when it runs just fine manually?


Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>