Re: Installer and Security

From: Karl Levinson [x y] mvp (jamescagney90210@excite.com)
Date: 01/29/03


From: "Karl Levinson [x y] mvp" <jamescagney90210@excite.com>
Date: Wed, 29 Jan 2003 08:16:42 -0500


First, you have to import the template into a security database before you
can apply the database to the computer. You can do this by running MMC, and
adding the Security Configuration snapin. You can also use this snapin to
apply the database, though this is the manual way of doing this, one machine
at a time.

You can script this using the SECEDIT command to automate applying
databases - do Start, Run, SECEDIT, OK to get more details. You can use the
AT command or the Task Scheduler folder in Control panel to schedule
remotely across the network [you can drag and drop task scheduler jobs into
this folder, as long as the files have all been copied to the local hard
drive first and the task is set to run as System... if you want the task to
access files on the network, you have to enter an ID and password, and I'm
not sure that this information gets copied when you copy the task, I think
you have to manually re-enter it after copying the icon representing the
scheduled task.

I think SECEDIT will also import the template to a database too, but I find
it easier and less redundant to do that grapically one time than to script
this to happen on every computer.

I believe you can also import these settings into Group Policy on the
domain. Never done it, but I would expect it to be in the MMC, Active
Directory Users and Computers snapin [only available on Win2000 servers,
unless you find and run the ADMINPAK.MSI file to install the extra MMCs].
>From there you would probably right-click on the OU where you want to import
the policy to. Group policy settings here would be re-applied on every
reboot and again at intervals, which can be good or bad, depending on how
many permissions and files you're talking about. I think sometimes
extensive NTFS file permissions in a group policy can sometimes cause the
"applying group policy..." message at login time to take a while.

"David" <david@ramdor.co.il> wrote in message
news:0a0901c2c795$826d7060$d2f82ecf@TK2MSFTNGXA09...
> Hello there!
> Im buildng windows installer setup (using Wise solutions)
> for my application. Install is executed by adminstrator of
> the machine (Win2K). Users will login as member of "Users"
> group. While install I must give full control permissions
> for "Users" members on some files, directories and
> registry entries. Otherwise my app won't run. I guess
> (perhaps Im wrong) that I should prepare security template
> with custom security setings and import it during
> installation. I have security template - *.Inf file with
> needed settings. Question: how is it possible to import
> and applay template during setup? Wimdows installer has no
> such feature. Any other way ?
> Thanx in advance, David

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003


Relevant Pages

  • Re: User Rights Assignment - not available - Resolved
    ... Thanks Steve for your effort to help me here. ... Then copy the security file from the \windows\repair ... If none of that works I would try an upgrade/repair install ... This operation may find that this database is corrupt ...
    (microsoft.public.windowsxp.security_admin)
  • Re: User Rights Assignment - not available - Resolved
    ... Then copy the security file from the \windows\repair ... If none of that works I would try an upgrade/repair install ... shows user rights and use the Resource Kit command line tool NTrights to ... This operation may find that this database is corrupt ...
    (microsoft.public.windowsxp.security_admin)
  • Re: User Rights Assignment - not available
    ... Then copy the security file from the \windows\repair folder. ... pristine install. ... Somarsoft to see if it shows user rights and use the Resource Kit command ... This operation may find that this database is corrupt ...
    (microsoft.public.windowsxp.security_admin)
  • Re: User Rights Assignment - not available
    ... OK Thanks Steve, I'll see what I come up with. ... Then copy the security file from the \windows\repair ... pristine install. ... This operation may find that this database is corrupt ...
    (microsoft.public.windowsxp.security_admin)
  • Re: A tool to manage security and reset default file and folder permissions
    ... > Click "Security Configuration and Analysis" and click Add. ... > In the console tree, right-click Security Configuration and Analysis, ... Setup Security template as a whole. ... notice that there is a checkbox to clear the database before import. ...
    (microsoft.public.windowsxp.security_admin)