Click here to Skip to main content
15,898,371 members
Everything / Administrator

Administrator

administrator

Great Reads

by Simon P Stevens
How to set the current directory correctly when running batch scripts as administrator
by Bill SerGio, The Infomercial King
Angular Editor for the Angular Shopping Cart I posted here on CodeProject
by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
by setevoy4
The chroot() Linux system call explanation and the chroot utility usage examples

Latest Articles

by Mubin M. Shaikh
Walkthrough of the process for one of the industry best practices to export all SQL tables in Flat file format
by setevoy4
The chroot() Linux system call explanation and the chroot utility usage examples
by Bill SerGio, The Infomercial King
Angular Editor for the Angular Shopping Cart I posted here on CodeProject
by User 2093073
Run Windows 8 Applications as Administrator by Default

All Articles

Sort by Score

Administrator 

20 Oct 2010 by Simon P Stevens
How to set the current directory correctly when running batch scripts as administrator
29 Feb 2016 by Dave Kreskowiak
You can't do that. First, when the administrator password changes, your code is going to break. Second, are you REALLY going to put an admin level password into a file in PLAIN TEXT? What kind of security is that?!?!?!You either put the manifest file in there with the requestedexecutionlevel...
1 Mar 2016 by Bill SerGio, The Infomercial King
Angular Editor for the Angular Shopping Cart I posted here on CodeProject
27 Nov 2012 by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
2 Nov 2014 by Manas Bhardwaj
Website Administrator Tool was technically removed because VS 2013 no longer uses the Cassini web server. Please see:http://forums.asp.net/t/1940600.aspxBut you can access it as before based on this...
31 Mar 2019 by setevoy4
The chroot() Linux system call explanation and the chroot utility usage examples
19 Dec 2010 by Sandeep Mewara
I believe this is the question/answer[^] that has hurt you. If you feel that I was arrogant and it was a rude answer, post your issue here: Site suggestions[^], admins keep a close watch on that forum.
19 Dec 2010 by OriginalGriff
Firstly, if you have a complaint, then take it to the Site bugs/suggestions forum: the admins read every new thread there as they get email alerts. http://www.codeproject.com/Forums/1645/Site-Bugs-Suggestions.aspx[^]They may not see a question here however.Secondly, if you mean Sandeeps...
12 Apr 2012 by nv3
Look into the following Windows system calls: LogonUser ImpersonateLoggedOnUserThe first retrieves an access token for a user account on the local machine. The second lets your current thread impersonate that user.Beware: If you want to store the administrator's account name...
24 Oct 2012 by Sergey Alexandrovich Kryukov
From the first glance, it seems to me you were doing right thing. It could be possible that UAC is disabled on the second machine.Please see:http://en.wikipedia.org/wiki/User_Account_Control[^].This is how it could be disabled, so you can see how to check it...
24 Oct 2012 by chaau
This manifest file works for me in both 32 and 64 bit environment:
28 Apr 2013 by Jochen Arndt
Although off-topic, this link may help you: http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/2aa2e0ff-85aa-4ac0-ad62-78af95d93849/[^].The tip you found in the net misses a warning that should be placed in big letters on the top:WARNING: You may lock yourself when not...
22 Sep 2013 by Maciej Los
Go to Your Codeproject Settings. On the right you can find "Upload an image" button ;)
22 Sep 2013 by Sergey Alexandrovich Kryukov
Solution 1 is correct. Just click here and you will see.—SA
11 Nov 2015 by Dave Kreskowiak
You question is confusing. You say you wrote a Service application. Service apps start without anyone logging into the machine. They start when Windows starts, not when someone logs in. There is NEVER an interface that appears when someone logs in asking whether to run it as an administrator or...
25 Oct 2010 by SreenuRatnala
Hi to all, what are the settings to get user permissions to run performance monitors for remote servers which is having windows server 2003 operating system.Can u please give me step by step detailed explanation.Thanks in advance.
5 Nov 2010 by Eric Lindberg
Hi Code Project Staff,I think I have my settings in order for the daily newsletter, but stopped getting it last week. Could you get it going again?Thanks,Eric Lindberg[E-mail removed]
6 Nov 2010 by Keith Barrow
See HimanshuJoshi's comment, I'm answering this so it doesn't show up in the Unanswered Questions list. There was a problem with CP e-mails, but it seems to have been fixed.
19 Dec 2010 by thatraja
Oh man, I found nothing rude in that answer. He gave you list of steps for the things to build your solution.Some Enquirers never doesn't look at theseCode Project QuickAnswers FAQ[^]Some guidelines for posting questions in the forums[^]Actually here before I was answered some...
29 Jun 2011 by Brian C Hart
I bought a new dev laptop and I am wanting to transfer the complete environment (files, programs, OS everything) to the new computer, completely wiping out the default layout of the new computer's hard drive in the process and replacing it with everything from the old system.Both systems are...
1 Aug 2011 by vikramlinux
Hi Friends, I have an SNMP trap defined like Message OBJECT-TYPE SYNTAX DisplayString (SIZE (0..256)) ACCESS read-only STATUS deprecated DESCRIPTION "The text of the alert message." ...
20 Dec 2011 by labshasanbd
Hi, I am facing trouble with one issue - say i am copying a folder with two files in "All Users" folder. Now, I am logging in as non-admin and found i can't edit the file. Tried to grant permission for that user from code - but failed. The folder is missing security permission for the local...
31 Jan 2012 by Christine_Irene
Hi,I have a COM dll with a class in it.I have an app with a UAC level of asInvoker. This app creates a COM object as administrator.Everything works fine running as administrator, and even logged in as standard user, right->click runas administrator.However, when I log in as...
29 Feb 2012 by Member 8365191
How do i delete a duplicate membership?
29 Feb 2012 by #realJSOP
delete membership where duplicate = trueOf course, if we knew what language you're working in, and exactly how you needed to do it, the code above could be refined.
29 Feb 2012 by André Kraak
If you mean you created a second CodeProject account and want it removed; post a message in the Site Bugs / Suggestions[^] forum and the site adiministrators will take care of it.Supply a link to the account you want to be removed.
3 Feb 2018 by Peta2010
Hi Guys My registration page and login form is working fine. If any member register and then login, user come to member.php page. member page has their profile information which is only for members. Now i want to create an admin login in which admin will redirect to admin.php page. This...
8 Apr 2012 by SamarRizvi
You need to have RBAC(Role Based Access Control). In the table of users in db, assign roles to them such as who is admin, who is editor,etc. Then, simply check the username, password, and role and then redirect the user to the respective page. Also in the admin page itself you should keep a...
12 Apr 2012 by Tinf7378
Hey, i want to create a windows application to do some administrator stuff without login prompt. This application should be execute by normal user without privileges. For example i want to send this application to a external client in another country via mail. After execution the application...
12 Apr 2012 by Eduard Keilholz
You may want to write a windows service that runs with elevated privileges and let the service handle stuff that requires that permission. Use the win forms app to 'configure' the service.
13 Apr 2012 by Tinf7378
Thank you very much for the answers! I found the LoginUser and additional functions, too. I will try it now. The security is on my list and I had some ideas to solve this problem.
31 May 2012 by Richard MacCutchan
According to this note[^] on MSDN, the Run key should automatically start the application. Perhaps you could show the exact content of your entry in the registry.
6 Jul 2012 by Sergey Alexandrovich Kryukov
Why not? The machine is powerful enough. All Linux distros are lightweight enough for this configuration.—SA
23 Jul 2012 by Sudheer Nimmagadda
Hi all, suddenly my DNS name is not working up to now we are accessing our server with www.XYZ.combut now it is not working but if i access with server IP address it is working But i need using DNS name how can it work and what is exactly problem
23 Jul 2012 by Tim Corey
If you want to update your personal DNS manually for testing purposes, you can edit your hosts file to contain a mapping for the IP address of your server and the URL you want. Note that this is a testing solution, not one you should use permanently. Here is a link on how to do something like...
24 Oct 2012 by Parwarrior7
Hello Everyone,I'm stuck working on a project using VC6. Please don't hate, If I had the option to work with something more modern I would be.My application requires Administration rights to work properly. On my computer, I've embedded this manifest into my release .exe via the mt.exe...
18 Feb 2013 by Sandeep Mewara
create a functionality to block and unblock the user from admin section, I would like to do it using the sql procedureIf you have implemented role based authorization, you can get data based on the role in your query.If not implemented, then do it.
7 Apr 2013 by Ippo007
I am writing an application that needs admin rights to run in VB.NET (VS2012,framework 4, Win8)It is an app to protect the Hosts file from modification. I want the app to start automatically with windows with the command line argument "autorun".So I have made a check box with the...
13 Apr 2013 by Sergey Alexandrovich Kryukov
The question does not really make sense."How to technically write it" does not make sense if you are talking about the stack. It is already exists.Stack is some memory which is, in case of 16-bit real mode (Intel 8086/8088 memory model), is always addressed as segment-offset ss:sp (ss is...
14 Apr 2013 by NotPolitcallyCorrect
"How do i delete any message...please help?"[Copied because it would appear that the question is changing for some reason]You would need to participate in the site enough to gain enough reputation to be entrusted with responsibility to get the ability to delete messages. Or ask someone...
8 Jan 2014 by Daljit S. Gill
Someone can suggest what is this error window popup after click Debug(F5) "WebDev.WebServer.exe has stopped working." after cancel this window, another window popup with error "Unable to connect to the ASP.NET Developement Server.Please SuggestDaljit S. Gill
8 Jan 2014 by Gitanjali Singh
Please trying rebuilding your application and then run.If that doesn't work, please kill all processes like WebDev.WebServer in task manager & then run.If that doesn't work too, try solutions mentioned...
21 Jan 2014 by Aleksey Tikhonov
Hello!I have:0. Simple HelloWorld.exe application. Application does not need admin rights.1. Visual Studio 2008 Pro Setup project which install HelloWorld.Current situation:0. Run msi1. If install directory is Program Files\Example - UAC dialog is active before create dir and...
21 Jan 2014 by ExcelledProducts CEO
I had to do this a little while ago. You need to change in your properties tab the InstallPrivileges='limited' to InstallScope='perUser' What this will do is it will always need admin rights to launch. So you will get that admin dialog to show up when you run the program.
21 Jan 2014 by Aleksey Tikhonov
Finded:http://practicalfish.com/blog/deployment/msi-remove-uac/thanks
23 Jan 2014 by CdnSecurityEngineer
Depending on who your hosting provider is, they usually provide a few db instances with a web hosting solution (I know goDaddy Does). I would suggest you port your schema there end access the schema via connection strings, in terms of modifying the data. You can usually access your db via a web...
15 May 2014 by DamithSL
create table to log the user events. create new method to insert log data to log table. call this method from all the user activity methods with data like user id, datetime, activity name etc..or you can use log4net based log. for example Activity Logging and Error Logging in ASP.NET[^]
1 Jul 2014 by Kornfeld Eliyahu Peter
For article related question there is a special forum: http://www.codeproject.com/Forums/1641/Article-Writing.aspx[^]And please be patient - approval process is based on free time of CP members with moderator rights, it can take a while to your article to gain the proper number of votes...
10 Jul 2014 by Richard MacCutchan
This question is far too broad for a technical Quick Answers forum. There are many issues that need to be considered for such a project, both hardware and software, and you need to do a lot of research before starting. Either that or employ a consultant to help you.
16 Jul 2014 by sivamzcet
Hi,I installed Apache Tomcat 8.0.9 in my system.My project files are saved in ROOT folder.I can able to view the files in localhost.But i want to view the same files from another computer.How to configure ROOT files to remote access?I know there is to change something in server.xml...
1 Nov 2014 by Muhammad Taqi Hassan Bukhari
I am working on Asp.net Website that runs on .Net 4.5 and following the asp.net tutorials from msdn. When I paste any login control and click administer website, following error arises---------------------------Microsoft Visual Studio---------------------------Error invoking...
9 Jan 2015 by Cornelius Henning
Yesterday I uploaded a short article on radio button binding in MVVM. The article was published, but CP left out the link to download the project. How do I get CP to fix my article?
9 Jan 2015 by ZurdoDev
Either post to http://www.codeproject.com/Forums/1641/Article-Writing.aspx[^] or http://www.codeproject.com/suggestions.aspx[^]
9 Jan 2015 by Sergey Alexandrovich Kryukov
This is not done by administration, this is something you should do yourself. (But yes, I faced some bugs in the past, so it could be some bug, but you still can fix it).Edit the article and pay attention for the right area where the downloads are managed. Make sure you actually download the...
10 Feb 2015 by Anuj_Koundal
Hi I have found a guy is stealing articles from my blog and posting by his name How to Report?Articles:1)Dynamic Jquery Accordion using Repeater in ASP.NET[^]Stolen From:http://www.codingfusion.com/Post/Dynamic-Jquery-Accordion-using-Repeater-in-Asp-Ne[^]2) Encrypt...
10 Feb 2015 by Wendelius
There's a special forum to report spam, plagiarism, and other abuses. Just go to Spam and Abuse Watch[^]
24 Feb 2015 by TomPumford
Is there a way to edit the dashboard based on the user ID? I know this is relatively straight forward when targeting a user role, but how about ID?For a working example, something along the lines of changing the admin menu background color for the user ID of 7.The general goal is that I...
27 Feb 2015 by TomPumford
Ok so I have having trouble creating a custom admin page. I can create a custom page that saves the information no problem, however when I then create a submenu page as below and fill in the infromation through the wordpress dashboard it wipes the other previously saved data. Is this something...
7 Mar 2015 by TomPumford
Im not entirely sure way but the default values for a custom form aren't displaying. Any ideas?Is it something to do with locating templates?$blav_options = array( 'first_name' => 'Photographers First Name', 'surname' => 'Photographers Surname', 'city' =>...
10 Mar 2015 by TomPumford
Hi, I currently have a wp_list_table up and running however it is showing all posts including, posts, pages etc. I was hoping to filter out results so it only shows pages or it only shows posts? The exact same way wordpress currently does it on the posts and pages.if( is_admin() &&...
2 Apr 2015 by CHill60
Shame it's VB6. However...You can use the "NET USER[^]" command to get a list of user accounts on a domain AND to get information about those accounts.The information includes when the password is due to expire.Write a program to call net user first to get the list of users (this...
21 Apr 2015 by Zon-cpp
Hi,In my windows form project, I used IWebProxy to config proxy credential, like as this solution that helps me:http://stackoverflow.com/questions/186800/is-it-possible-to-specify-proxy-credentials-in-your-web-config[^]but in a XP system I have this error (when the Application wants to...
19 Jun 2015 by Dave Kreskowiak
You don't.Upload your image to whatever image hosting site you want and put the link to it in your post.
23 Aug 2015 by Member 11226682
Hi,I have incremental crawling scheduled everyday from 5:00am to 5:00pm for every half hour and full crawling scheduled every Saturday at 12:00am.Will the sharepoint application or search application be affected if i pause and resume the crawl? Thanks in advance.
2 Dec 2015 by Sergey Alexandrovich Kryukov
You are not designing working infrastructure, you are designing handcuffs. Who would be interested to help you? And your co-workers, first of all, should be interested in company work. First things to do for you is to review the design of the business and company policies, but this would be...
8 Mar 2016 by Mangesh9692
Hi,My asp.net site open an putty.exe window.This putty application perform a some specified task.I have configured "abc" user in identity of application pool.And user "abc" has full administrative rights.And in web.config i configured this "abc" user in impersonate section.If i...
7 Mar 2016 by koklimabc
I Think you should check "Identity" (open under "Applications Pools-Process Model-Identity) for example ASP.NET v4.0 , check whether is it is built-in or custom".First you can set permission right in your network to certain "user account name" for restrict access to certain files or folder.Then...
8 Mar 2016 by koklimabc
you can try using Microsoft.ASPNET.Providers to stored Machine ID\Value in each customeproperties profiles. ASP.NET is goob based to promote personalised websites.In web.config, ...
10 Mar 2016 by Member 12213239
I am new in CakePHP, developing a web application using CakePHP 2.5.1 and MySQL database. The development is half done. Now i need an admin panel for managing my application. I am not sure whether i should develop the admin panel myself or there is any plugins that can be used as admin panel in...
1 Sep 2016 by Pouria Polouk
Hello everyone.I've created an user without login in SQL Server 2014. (I'm admin)Which users can run "execute as user" except sql-admins? how?Regards.What I have tried:I haven't done anything. This is my first try.
12 Sep 2016 by Member 10914736
Hi there,We have a database which consists of 12 tables. I want to create a SQL Job to copy the table data from one database to another (same server) hourly in a set schedule time. Data will be updated every hour at source database and that fresh data should be copied to my destination...
12 Sep 2016 by FranzBe
1) you can write a stored procedure that handles the 12 tables one after another, you than call this one stored proc from your job; perhaps you want to use a transaction around the delete and insertCREATE PROCEDURE [dbo].[psp_sync_stuff]AS DECLARE @iCnt INT SET NOCOUNT ON-- start...
12 Sep 2016 by Birsh Pal
From the question I assume #1- Your SQL job will be running on source database#2- Names of source and destination tables may or may not be same.There are two solutions for your problem.First, if #2 is not the case, that means table structure and constraints are same in source and...
19 Sep 2016 by MONISH K M
Hi All,I have a desktop application that communicates with RPC web methods. In this scenario, I would like to know that how to check and log the data transfer(send & Receive) volume between my application's local machine and web server over the network. It would be better to know that there...
24 Jan 2017 by OriginalGriff
The simple solution is: don't use the registry, and change where you store your data.Access to the registry is restricted, and becoming more so - mostly because it was used inappropriately in the past for storing everything, and that made it both big and slow, and susceptible to damage from...
6 Apr 2017 by daviddelombaerde
This is a bit simular as my previous question, but I think I need another approach. I have a app that can connect to other pc's on the company network. For now I can connect to their explorer as an admin without any dialog asking for my credentials. But now I want to be able to import their...
6 Apr 2017 by OriginalGriff
You cannot elevate a process to Admin privilege without UAC: that's the whole idea. And if you could - which you can't - we wouldn't tell you how to do it, as it would render access control meaningless which would only benefit hackers, ransomware writers, and such like low life scum. We do not...
28 Mar 2019 by Member 10714689
Hi, I am not able to add users to local administrator group when the username has space in the middle. I am reading the user name values from CSV file. Is the change need in CSV file or in Powershell script? Thanks in Adnvance. What I have tried: foreach($Computer in $servers) { ...
28 Mar 2019 by Richard MacCutchan
login - What are some compelling reasons to disallow spaces in usernames? - User Experience Stack Exchange[^]
28 Mar 2019 by MadMyche
When a username has spaces within it, PowerShell needs the username to be wrapped within quotation marks. Here are a couple of Q/As I found with Google, these should be able to get you aimed in the right direction on how to solve your issue: 1. [SOLVED] Powershell Get-ADUser, User with space in...
4 Oct 2021 by Richard Deeming
If the application is available as a winget or choclatey package, then you can use those command-line tools to install it: Use the winget tool to install and manage applications | Microsoft Docs[^] Chocolatey Software | Chocolatey - The package...
18 Dec 2022 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
11 Jul 2014 by User 2093073
Run Windows 8 Applications as Administrator by Default
31 May 2012 by alekcarlsen
i have an application which requires admin rights due to handling process killing -i need it to start when the user logs-onive tried:- taskschedueler - but i have a few problems with the command line not being efficient enough schtasks /create /tn mytaskname /tr "myfilelocation" /RL...
16 Nov 2015 by ZombieJoe9
Hello World, thanks for taking the time to help me out!In a nutshell here's my trouble. I'm using the Android Device Admin Policy Receiver to OnDisable/OnDisabledRequested methods to detect if the APP is going to be uninstalled. Since you have to disable the admin policy in settings before...
14 Jul 2020 by Mubin M. Shaikh
Walkthrough of the process for one of the industry best practices to export all SQL tables in Flat file format
28 Apr 2013 by JayantaChatterjee
Hi,I'm stuck with some administrative permission.. I want to change the setting for guest account to prevent using some application on system, then i found some tips on google and tried that..the tips is -:Allow Users To Run Only Specified Programs in Windows 7If you have a shared or...
24 Sep 2013 by Member 10331745
Hello Reader,I have been assigned a task to design and develop the In-Out Side Office Application that could be used for Official Use as "Human Resources Management".In this application basically following parts/departments/section are there.- Technical Details- Administrative...
27 Oct 2013 by ericgahn
Hi All;I am an experienced WinForms developer but only now delving into ASP.NET. I am developing a basic website with user authentication etc... using ASPNETDB.mdf. While this site is on my machine it is easy to amend data in this DB using the ASP WebSite Admin Tool. But how can I manage...
19 Dec 2010 by su_ma2010
In this site big words are used to warn people who seek help not to be rude... See what these people who are answering are doing now...Is this not a rude answer?Is the admin watching? I am a learner and many things i have learnt on my own.. Sometimes we don`t understand how to put our doubts in...
15 May 2014 by akhil.krish
HI,iam develop payroll manager application.. so i wan't log of user any event change.... admin see the log....how to create log
30 Sep 2014 by Ali Idrees
D:\cs401\assembly>nasm ex01.asm -o ex01.com -1 ex01.lst "now i press enter so this fault is coming" "the program or feature "\??\D:\cs401\assembly\nasm.exe' cannot start or run due to incompatibity with 64-bit version of windows...." ????
24 Sep 2013 by Prince Tegaton
Hi, this will depend on the approach you are going to use.An admin panel should carry all basic UI to relate with the database in aspect where an ordinary user cannot perform such functions.Thats d fun in programming.My brain can't fit in to what you need. So just take out some time to...
4 Oct 2021 by Malik Kalathilthodi
I need to download Software using the command prompt. The software cannot be downloaded via the command prompt, but the downloaded files can be installed. What I have tried: I need to download Software using the command prompt. The software...
12 Jul 2011 by hans.sch
I don't completely understand what you want to do. Sounds to me like you want to move your running system to new hardware, so that you need not re-install programs and make your preferred settings. Correct?The new PC may have hardware different from the old PC, and drivers may not be installed....
31 May 2012 by alekcarlsen
i think ive found a move suitable solution http://taskscheduler.codeplex.com[^]which is an assembly wrapper for task schedueler - which allows fully customized settings..seems simple enough
18 Feb 2013 by vivek_2984
Hi ExpertsHow can I create a functionality to block and unblock the user from admin section, I would like to do it using the sql procedure . I am using the grid view to get all the data ...in the admin section ..And take your time guys, after all, I'm not getting charged for...
22 Sep 2013 by AshakiranBhatter
Hi Admin,Could you please help me out as to how do I upload a profile picture. Regards,Kiran
1 Jul 2014 by vladimir husnullin
Hi,I am waiting for 2-3 days for my articles to be approved.I have updated downloadable ZIP file, and made no changes to text.Can you please, approve, my article ?Thanks,Vladimir Husnullin
2 Apr 2015 by Shararehmirbagheri
I'm looking for a program with VB6.00 to Alarm Me when ever any Windows User Account expiring in x days? There are more than 100 User account in my Network and they expire frequently and Im not allow to change them to "Never expire" situation. Please Help.