PC Review


Reply
Thread Tools Rate Thread

admin rights to specific files

 
 
Dave Cullen
Guest
Posts: n/a
 
      4th Mar 2007
I'm writing software to control machinery in my company's manufacturing
plant. I'm using a third party dll that allows access to the computer's
hardware. Three files are required: the dll, a .sys file and a .vxd file.
These reside in Windows / System folder.

The problem I'm having is that the dll will not respond unless the user has
full admin rights on the computer. This is understandably unacceptable to
the IT dept. I'm not saavy in Win XP security features, so I'm asking you
guys if there's any way to allow full access to specific files in that
directory without compromising the entire machine?

Thanks


 
Reply With Quote
 
 
 
 
Wesley Vogel
Guest
Posts: n/a
 
      4th Mar 2007
Place the files in WINDOWS\system32 or add WINDOWS\system to the Path. The
WINDOWS\system folder contains DLLs, etc. for Windows 9x programs, for
backward compatibility, for old applications that look for a System folder.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:%(E-Mail Removed),
Dave Cullen <(E-Mail Removed)> hunted and pecked:
> I'm writing software to control machinery in my company's manufacturing
> plant. I'm using a third party dll that allows access to the computer's
> hardware. Three files are required: the dll, a .sys file and a .vxd file.
> These reside in Windows / System folder.
>
> The problem I'm having is that the dll will not respond unless the user
> has full admin rights on the computer. This is understandably
> unacceptable to the IT dept. I'm not saavy in Win XP security features,
> so I'm asking you guys if there's any way to allow full access to
> specific files in that directory without compromising the entire machine?
>
> Thanks


 
Reply With Quote
 
Dave Cullen
Guest
Posts: n/a
 
      5th Mar 2007
Thanks for the response. It doesn't seem to matter which directory I put
it in, I get the same results.

Isn't there a way to "register" a dll with Windows so that any user can
access it?

dave


Wesley Vogel wrote:
>
> Place the files in WINDOWS\system32 or add WINDOWS\system to the Path. The
> WINDOWS\system folder contains DLLs, etc. for Windows 9x programs, for
> backward compatibility, for old applications that look for a System folder.
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:%(E-Mail Removed),
> Dave Cullen <(E-Mail Removed)> hunted and pecked:
> > I'm writing software to control machinery in my company's manufacturing
> > plant. I'm using a third party dll that allows access to the computer's
> > hardware. Three files are required: the dll, a .sys file and a .vxd file.
> > These reside in Windows / System folder.
> >
> > The problem I'm having is that the dll will not respond unless the user
> > has full admin rights on the computer. This is understandably
> > unacceptable to the IT dept. I'm not saavy in Win XP security features,
> > so I'm asking you guys if there's any way to allow full access to
> > specific files in that directory without compromising the entire machine?
> >
> > Thanks

 
Reply With Quote
 
Wesley Vogel
Guest
Posts: n/a
 
      6th Mar 2007
Hi Dave,

> Isn't there a way to "register" a dll with Windows so that any user can
> access it?


Any .dll, .ocx, .cpl and some .exe files need to be registered in the
registry.

You use the Regsvr32 tool (Regsvr32.exe) to register and unregister object
linking and embedding (OLE) controls such as dynamic-link library (DLL) or
ActiveX Controls (OCX) files that are self-registerable. Regsvr32 registers
..dll files as command components in the registry.

<quote>
A self-registering file is a file that can enter information about itself
in the Windows registry and remove that information upon uninstallation.
Other types of files can be used without entering information into the
registry.

The installation of a self-registering file consists of installing the file
to its desired location and then registering the file on your computer.
Sometimes. because of system specific issues, self-registration may fail,
causing an error message to appear, for example, "Unable to register the
file xyz.dll". When an installation is unable to register a file, you may
need to register it manually to make sure that the application works.
<quote>

Type: regsvr32 /? in a command prompt for help.
Actually it will display the usage if you type regsvr32 /? in the Run
command.
Click on the RegSvr32 popup window to give it focus, hit Ctrl + C to copy it
and paste into Notepad or whatever.

---------------------------
RegSvr32
---------------------------
Unrecognized flag: /?

Usage: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname
/u - Unregister server
/s - Silent; display no message boxes
/i - Call DllInstall passing it an optional [cmdline]; when used with /u
calls dll uninstall
/n - do not call DllRegisterServer; this option must be used with /i
---------------------------
OK
---------------------------

More info here...
Regsvr32
http://www.microsoft.com/resources/d.../regsvr32.mspx

Also for Regsvr32 HELP, paste the following line into Start | Run and click
OK...

hh ntcmds.chm::/regsvr32.htm

If the files are in the Path, in the sytem32 folder for example, you do not
need to type the path with the command.

The command: regsvr32 dfrgui.dll works fine, but so would this...
regsvr32 C:\WINDOWS\system32\dfrgui.dll

Explanation of Regsvr32 Usage and Error Messages
http://support.microsoft.com/kb/249873

Get IT Done Reregister DLLs in the Windows Registry with Regsvr32
http://techrepublic.com.com/5100-6270-1054872.html

HOW TO Register an ActiveX Control (.ocx) Manually
http://support.microsoft.com/kb/146219

INFO How Regsvr32.exe Registers and Unregisters COM DLLs
http://support.microsoft.com/kb/207132

You may receive failure messages while unregistering a DLL that you were
able to correctly register before
http://support.microsoft.com/kb/832926

You Receive a DllRegisterServer Error When You Try to Register a DLL by
Using Regsvr32.exe
http://support.microsoft.com/kb/827659

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:(E-Mail Removed),
Dave Cullen <(E-Mail Removed)> hunted and pecked:
> Thanks for the response. It doesn't seem to matter which directory I put
> it in, I get the same results.
>
> Isn't there a way to "register" a dll with Windows so that any user can
> access it?
>
> dave
>
>
> Wesley Vogel wrote:
>>
>> Place the files in WINDOWS\system32 or add WINDOWS\system to the Path.
>> The WINDOWS\system folder contains DLLs, etc. for Windows 9x programs,
>> for backward compatibility, for old applications that look for a System
>> folder.
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:%(E-Mail Removed),
>> Dave Cullen <(E-Mail Removed)> hunted and pecked:
>>> I'm writing software to control machinery in my company's manufacturing
>>> plant. I'm using a third party dll that allows access to the computer's
>>> hardware. Three files are required: the dll, a .sys file and a .vxd
>>> file. These reside in Windows / System folder.
>>>
>>> The problem I'm having is that the dll will not respond unless the user
>>> has full admin rights on the computer. This is understandably
>>> unacceptable to the IT dept. I'm not saavy in Win XP security features,
>>> so I'm asking you guys if there's any way to allow full access to
>>> specific files in that directory without compromising the entire
>>> machine?
>>>
>>> Thanks


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to view or change owner for files though admin rights =?Utf-8?B?QmVub2l0IERhY2llcg==?= Windows Vista File Management 1 2nd Jul 2007 06:56 PM
User with desktop admin rights but not server admin rights =?Utf-8?B?QnJlbnQgSm9obnNvbg==?= Windows XP Security 1 25th Aug 2005 11:26 PM
Admin rights on files & folders Davina Smith Microsoft Windows 2000 Security 2 3rd May 2004 05:47 PM
Admin-rights for specific program =?Utf-8?B?TS5TbWl0?= Windows XP General 1 29th Mar 2004 09:28 AM
how to avoid access to files of a user with admin rights from other users Pavan Windows XP Security 0 21st Oct 2003 09:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:26 AM.