administration

Microsoft signtool removes administrative privileges?

只谈情不闲聊 提交于 2020-01-06 07:15:49
问题 I need to sign an installer executable for Windows using a p12 file. Before signing, this EXE file icon has a "shield icon" on it indicating that it requires administrative privileges, as it should. However, after I sign using the signtool and the following command: signtool.exe sign /f mycert.pfx /p <password> /t http://timestamp.verisign.com/scripts/timstamp.dll /v "<file to be signed>" the signing succeeds but the shield icon disappears. When I run the resulting executable, it fails

Run Batch file as administrator - Windows 7 - Command “Run As” from network file system

六眼飞鱼酱① 提交于 2020-01-02 02:53:07
问题 I need to set up the delivery of a program installer. This program has a program_installer.exe and a folder that i cannot include in the installer at the time in which i create the installer. therefore, when a user needs to install the program i send him a BATCH file via MAIL @echo off if DEFINED PROGRAMFILES(X86) ( SET TOOL_INSTALL_DIR="%PROGRAMFILES(X86)%\myfolder" ) else ( SET TOOL_INSTALL_DIR="%PROGRAMFILES%\myfolder" ) MKDIR %TOOL_INSTALL_DIR% copy /y \\rk0012352\Public\lkh5iwwh.m4s

TFS 2017.3.1 Merge Collections [closed]

假装没事ソ 提交于 2019-12-31 07:54:05
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . We are currently on TFS 2017.3.1 On Prem. We have 1 very large collection and another smaller collection. We would like to move the smaller collection into the larger. We use everything in TFS, code Git and Source Control, work items, builds, releases... Are there any tools

Where should I store an encryption key for php?

若如初见. 提交于 2019-12-29 07:49:08
问题 I'm writing a php application that accepts sensitive customer data, and so I need to encrypt it before storing it in a mysql database. I'm going to use mysql's built-in AES functionality to do column-level encryption. I want to avoid storing the encryption key on the server, and so i'm going to provide a web-page for an administrator to log-in, and enter the encryption key. I want to store this key in memory while the application is running, but never permanently to disk. What is the best way

Cannot turn off persistent tracking cookies in CFMX 8

让人想犯罪 __ 提交于 2019-12-24 02:11:57
问题 CFMX 8 Enterprise I have turned on the "Use J2EE session variables" setting under Memory Variables because security requirements state that persistent cookies cannot be used. I understood that turning this setting on will tell CF to only create and use a "JSESSIONID" session cookie. However, my server still appears to be creating and using the old-style "CFID" and "CFTOKEN" cookies with expiration dates thirty years hence. Now, obviously, I can do the old trick of manipulating CFID and

VBScript/IIS - How do I automatically set ASP.NET version for a particular website

吃可爱长大的小学妹 提交于 2019-12-23 22:18:46
问题 I need to script the creation of app pools and websites on IIS 6.0. I have been able to create these using adsutil.vbs and iisweb.vbs, but don't know how to set the version of ASP.NET for the sites I have just created to 2.0.50727.0. Ideally I would like to adsutil.vbs to update the metabase. How do I do this? 回答1: @Chris beat me to the punch on the ADSI way You can do this using the aspnet_regiis.exe tool. There is one of these tools per version of ASP.NET installed on the machine. You could

COMException when trying to get application pools using ServerManager

妖精的绣舞 提交于 2019-12-22 08:42:24
问题 When I try to get the list of IIS application pools from a remote server using the following code List<ApplicationPool> appPools; using (ServerManager serverManager = ServerManager.OpenRemote("XXX")) { appPools = serverManager.ApplicationPools.ToList(); } I get an exception: System.Runtime.InteropServices.COMException (0x800706BA): Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine XXX failed due to the following error:

How can i check if MySQL and Tomcat are running?

余生长醉 提交于 2019-12-21 12:30:34
问题 I've created a Java application that is split in different subcomponents, each of those runs on a separate Tomcat instance. Also, some components use a MySQL db through Hibernate. I'm now creating an administration console where it's reported the status of all my Tomcat instances and of MySQL. I don't need detailed information, but knowing if they are running or not it's enough. What could be the best solution to do that? Thanks 回答1: Most straightforward way would be to just connect the

Rails application settings?

前提是你 提交于 2019-12-18 15:30:37
问题 I am working on a Rails application that has user authentication which provides an administrators account. Within the administrators account I have made a page for sitewide settings. I was wondering what the norm is for creating these settings. Say for example I would like one of the settings to be to change the name of the application name, or change a colour of the header. What I am looking for is for someone to explain the basic process/method - not necessarily specific code - although

Subversion: Expected format '3' of repository; found format '5'

岁酱吖の 提交于 2019-12-18 07:14:19
问题 Well I've gotten myself in a pickle I did the subversion 1 click setup and it worked great. However, in setting up my repository I accidentally committed a file that I shouldn't have. Rather than jumping through the hoops of purging a file I deleted the repository and recreated it using "svnadmin create" as recommended to me. Now however I am recieving the notorious Expected format '3' of repository; found format '5' error when I try to either import to the repository, or just even browse to