473,771 Members | 2,357 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My Windows account do not have administrator priviliges anymore

Hi,

My Windows account do not have administrator priviliges anymore even
though the user account window accessible from the control panel claims
I do.

I did my first time programming with setting ACL:s. I thought I had
completed my application since it seemed to work fine setting the ACL:s
the way I wanted to.

Then I had a huge problem one day all of a sudden. My laptop claimed I
did not have DotNet 2.0 installed (even though I have, I can even see
it in the add/remove programs list).

I went into Windows explorer and clicked on the c:/Windows folder. The
Microsoft.NET folder existed but it had no + sign indicating
subfolders. When clicking on it it I get a not available, access denied
kind of message.

I am not able (or allowed maybe) to install, repair or remove DotNet
2.0.

I went to "Windows Update" on the Web to download updates for my OS
(Win XP pro SP2 by the way) but there I got the message that I have to
have administrator priviligies to update Windows.

The very same thing happened a couple of weeks later on my other
computer (this one I am using right now, I guess I will format this one
tonight...)

Can it be my application messing my system up?

All I do is set some files (application specific) (full rights except
delete) for all Windows accounts. My application is written in c# and
depends on DotNet 2.0. The methods I use for setting ACL's are:
AddAccessRule, RemoveAccessRul e, SetAccessContro l.

During the developement of this application (about a year) I have NOT
had this problems earlier. I got them after trying setting ACL's. One
other thing I have done recently is adding dotnet2.0 and windows
installer 3.1 as prerequisites in my VS2005 setup project (could this
be the source of my problem?).

I guess these methods have been used plenty and also VS2005 setup
project has been tested very much. When I got the problems on the first
computer I thought, well a case of bad luck... but when I got it again
on another computer I begin to wonder. I have tested for viruses - none
found.

Nov 10 '06 #1
1 1445
Right click on the framework folder and go to properties, security, advanced
(button), Owner. take ownership of it. then you can add permissions to it. It
has probably lost the ACL allowing admins access but Owners alsways have
access to change permissions.

Ciaran O'Donnell
"Marcus" wrote:
Hi,

My Windows account do not have administrator priviliges anymore even
though the user account window accessible from the control panel claims
I do.

I did my first time programming with setting ACL:s. I thought I had
completed my application since it seemed to work fine setting the ACL:s
the way I wanted to.

Then I had a huge problem one day all of a sudden. My laptop claimed I
did not have DotNet 2.0 installed (even though I have, I can even see
it in the add/remove programs list).

I went into Windows explorer and clicked on the c:/Windows folder. The
Microsoft.NET folder existed but it had no + sign indicating
subfolders. When clicking on it it I get a not available, access denied
kind of message.

I am not able (or allowed maybe) to install, repair or remove DotNet
2.0.

I went to "Windows Update" on the Web to download updates for my OS
(Win XP pro SP2 by the way) but there I got the message that I have to
have administrator priviligies to update Windows.

The very same thing happened a couple of weeks later on my other
computer (this one I am using right now, I guess I will format this one
tonight...)

Can it be my application messing my system up?

All I do is set some files (application specific) (full rights except
delete) for all Windows accounts. My application is written in c# and
depends on DotNet 2.0. The methods I use for setting ACL's are:
AddAccessRule, RemoveAccessRul e, SetAccessContro l.

During the developement of this application (about a year) I have NOT
had this problems earlier. I got them after trying setting ACL's. One
other thing I have done recently is adding dotnet2.0 and windows
installer 3.1 as prerequisites in my VS2005 setup project (could this
be the source of my problem?).

I guess these methods have been used plenty and also VS2005 setup
project has been tested very much. When I got the problems on the first
computer I thought, well a case of bad luck... but when I got it again
on another computer I begin to wonder. I have tested for viruses - none
found.

Nov 10 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
10243
by: Raj | last post by:
Hi, I'm a newbie with SQL Server 2000 Developer. I know that it is supposed to install on Windows XP Pro, but I keep running into the following message: "The logon account cannot be validated for the SQL Server service. Validate ...". I've looked for help and taken the advise of trying the user
2
2593
by: cd | last post by:
Is there a specific process or permissions that must be granted to get a .NET (framework 1.4) Window Service to run properly on a Windows 2003 Server? I built a Windows Service to start two local programs (Putty and Pageant) located on a Win 2003 Server. The service installs but doesn't start the Putty / Pageant programs properly when using any user ID except my own. Why will it work with my User ID? I install the Windows Service on a Win...
2
5934
by: Jon Hamel | last post by:
All- I am having a problem where my DB2 administrator account on Windows (db2admin) is losing its local Administrator privledges. This happens randomly throughout the day with no ryhme or reason. Of course this causes tons of problems while things are running throughout the day (LDAP is using DB2). I continually must go into the Computer Management>Local Users... and
1
2201
by: Dean R. Henderson | last post by:
I have a Windows library that I bind into a Windows Form application and into an ASP.NET Web Application. I have a procedure in the library that executes a DTS Package. I have also used information from Knowledge Base article 306158, INFO: Implementing Impersonation in an ASP.NET Application to create a procedure to perform impersonation. When I try to execute the DTS Package from ASP.NET, I get the following error: Step...
1
1461
by: Brian | last post by:
I have a complex problem that needs a lot of background explanation before I can ask questions, so here goes.... Our system consists of two servers. -WebUI server - Windows 2000 - runs asp.net pages, and handles http requests. All requests go through this frontend public server. Business objects are then called, which execute stored procs, etc on the WebSQL server. -WebSQL server - Windows 2000 - SQLServer2000 database and file...
1
2130
by: Razi | last post by:
Hi all, Recently I finished a project where I used LogonUser and ImpersonateLoggedOnUser APIs to give the process an Administrator priviliges to let it read Physical Memory regardless the user use this process is admin or not, anyway, I test the code and it works fine when I give LogonUser and administrator username and password as parameters. Now I am writting the Installer for this project, and I need to know if there is a way to...
27
4724
by: pisquem | last post by:
I am building an windows service that is to be deployed on a windows server 2003 and I want to have activity written to the event log, I want its own log called ('CustomLog') Below is what I have so far...its builds fine but when I go to start the service i get the following error. --------------------------- Services ---------------------------
1
1031
by: Marcus | last post by:
Hi, My Windows account do not have administrator priviliges anymore even though the user account window accessible from the control panel claims I do. I did my first time programming with setting ACL:s. I thought I had completed my application since it seemed to work fine setting the ACL:s the way I wanted to.
5
9002
by: =?Utf-8?B?cnZhbmdlbGRyb3A=?= | last post by:
Hello, I have a problem with our OnlineBackupService.exe. This is a Windows Service which is built in .Net 1.1 and basically grabs files from the file system and will try to upload them using WebServices. The service is installed by default using LocalSystem account. The exact problem is that sometimes this service is not allowed to resolve the target webservice. This results in the following exception:
0
10102
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9910
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.