Re: SMS Installer cannot create an NT Service

From: TerryM (nospam_at_hotmail.com)
Date: 08/05/04

  • Next message: Eric Fowler: "Re: Icons don't push to client when run as assigned program"
    Date: Wed, 4 Aug 2004 19:03:53 -0700
    
    

    If you want to post the script I could look over it real quick and see if I
    see anything.
    As for your other questions,
    You can set permissions on registry keys and hives through something like
    regedt32 or there are utilities out there, reg.exe I believe is one?
    My guess is it isn't a permissions problem if you can do it manually just
    fine.
    Are you sending this out using SMS or just running your repackaged exe
    manually?
    There are many ways around things in use. Stop the service that is in use
    then do it, disable it and restart putting things in the runonce key in the
    registry, etc... usually thought the things I've found that are causing
    issues are things I can just delete out of my script anyway. Such as
    registry junk that was picked up and just needs to be cleaned out of the
    script.
    In your case it sounds like something different.
    So like I said if you want to send me or post your script I could take a
    look and maybe have more suggestions.
    Terry

    "David Liew" <anonymous@discussions.microsoft.com> wrote in message
    news:04c501c47a88$1c234170$a401280a@phx.gbl...
    > Hi Terry,
    >
    > Thanks for your help.
    >
    > The USB driver install is one released by In&Out, it
    > prompts the user for options, and installs fine without
    > problems. I did a repackage of this install using SMS
    > Installer (to skip the user interaction), but it doesn't
    > work, failing at the line mentioned.
    >
    > How do you set permissions for the registry hive? If I am
    > creating a new service, what are the things that could be
    > in use? A section of the registry or the services database?
    >
    > How did you manage to get around the problem?
    >
    > Thanks again,
    > David
    >
    > >-----Original Message-----
    > >I have seen this error if I am trying to change something
    > that is in use, or
    > >if the registry hive doesn't have the right permissions,
    > or things like
    > >that.
    > >
    > >You say your original worked? What is different? Just
    > this line?
    > >
    > >Terry
    > >
    > >"David Liew" <David.Liew@saabsystems.com.au> wrote in
    > message
    > >news:023a01c47a7e$029650d0$a301280a@phx.gbl...
    > >> Hi,
    > >>
    > >> I am running the install as a local admin, and get the
    > >> following error message:
    > >> "You do not have access to make the required system
    > >> configuration modifications. Please rerun this
    > >> installation from an administrator's account."
    > >>
    > >> I repackaged a USB driver install, and the line that is
    > >> causing the problem in my SMS script is:
    > >> >Create Service USB Keyboard and Mouse Port Driver
    > >>
    > >> Looking at the properties of the service it tries to
    > >> create:
    > >> Service type: File System Driver
    > >> Startup Service type: System
    > >>
    > >> SMS Installer can installs other USB NT services/devices
    > >> without problems, but they are of different types and
    > >> startup differently (typically Kernel Drivers or
    > separate
    > >> process, and starting up automatically or manually).
    > >>
    > >> This is strange, because the original USB driver install
    > >> (the one i based the repackage on) works fine.
    > >>
    > >> Any help would be appreciated. Thanks!
    > >>
    > >> Regards,
    > >> David
    > >>
    > >>
    > >
    > >
    > >.
    > >


  • Next message: Eric Fowler: "Re: Icons don't push to client when run as assigned program"

    Relevant Pages

    • Re: scripting patch installation
      ... what i want is for it to just install the ... > patch if that registry value is non existant. ... If you want a script that also can handle different OS version and Service pack ... Below is an updated version of your script that uses the function RegRead to ...
      (microsoft.public.windowsxp.security_admin)
    • Re: regedit/set permissions
      ... You can set permissions in the Registry, but you need to be careful as well. ... Use it to install many more. ... >>- Once it is done, click OK, close Internet Explorer ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Using GPO to assign access to the registry
      ... You can use a GPO to set permissions on Registry keys. ... Windows Settings: Security Setings: Registry. ... already installed, but not when you install it on a new computer. ...
      (microsoft.public.windows.server.active_directory)
    • Re: remove special value in registry with VB script
      ... now she need to install new ... the registry, I spent 4 hours delete "arcexe82" from the ... did is find "arcexe82", hit F3, found it, deleted it. ... So can you help me create some VB script to delet this ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Newbie help needed with scripting permissions
      ... > the app needs access to a new folder it creates for itself on install ... > and uninstall the app. ... One option is to use a VBScript StartUp script configured in Group Policy. ... you could save the month/year in the registry ...
      (microsoft.public.windows.server.scripting)