windows-server-2008-r2

Task scheduler cannot open batch file when set to run whether user is logged on or not

大憨熊 提交于 2019-12-02 23:05:57
OS: Windows Server 2008 R2 Enterprise I am unable to get the Task Scheduler to run .bat files while I am logged off. I have a a production .bat file I want to use, but for my troubleshooting purposes I am using C:\Users\Administrator\Desktop\test.bat test.bat is very simple. All it contains is: taskkill /im notepad.exe It runs successfully on its own. If I have Notepad open and I double-click test.bat then the cmd window flashes and Notepad dies. The .bat file is not the problem. The task I created in Task Scheduler is "Test taskkill" (without the quotes). I can see its location in Windows

Missing IUSR account on Windows Server 2008 R2 / IIS7.5

只愿长相守 提交于 2019-12-02 22:47:28
I've been given the job of installing PHP5.4 on this machine. One of the manual installation steps is to configure the IUSR account to have specific permissions. The problem is, I see the IIS_IUSRS group, but no IUSR account. The only users listed are the Admin user, a Guest account, and a user for the security software. I'm not really the Windows server type, more of a *NIX guy - so this is getting a little frustrating. I've searched everywhere and haven't found a suitable answer, but I have learned a lot about IIS7.5 - so it hasn't been a total waste of time. I've tried several

MSI Error “The computer must be trusted for delegation” caused by KB2918614

烈酒焚心 提交于 2019-12-02 22:25:09
We have an MSI based installer that recently stopped working on a Windows 2008 R2 environment. The installer is copied over to the target computer using the \\servername\c$\ admin UNC shares and then is remotely executed using the create method on the WMI Win32_Process class . The remote execution now fails with the following error message in the Event Viewer: The description for Event ID 10837 from source MsiInstaller cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on

Azure HTTP request timeout workaround

☆樱花仙子☆ 提交于 2019-12-02 21:46:11
问题 We currently have an application hosted on a Azure VM instance. This application sometimes processes long-running and idle HTTP requests. This is causing an issue because Azure will close all connections that have been idle for longer than a few minutes . I've seen some suggestions about setting a lower TCP keepalive rate. I've tried setting the this rate to around 45 seconds but my HTTP requests are still being closed. Any suggestions? Our VM is running Server 2008 R2. 回答1: As a simple

What happens when I call the ␇ character in MATLAB

邮差的信 提交于 2019-12-02 10:44:37
问题 Whilst attempting to answer the Play a sound any sound question, I ran into the ␇ character. However, when trying to call this in MATLAB, I noticed something strange: Nothing happened. Using R2012b, I copied it from the browser into MATLAB. Here are some observations: When pasting the character, a red colored square is displayed When hitting enter, no error was given. Adding zero to it ␇ +0 also does nothing. Using it in a string seems possible, but gives a strange result: '␇'+0 = 26 Calling

What happens when I call the ␇ character in MATLAB

别说谁变了你拦得住时间么 提交于 2019-12-02 04:22:33
Whilst attempting to answer the Play a sound any sound question , I ran into the ␇ character. However, when trying to call this in MATLAB, I noticed something strange: Nothing happened. Using R2012b, I copied it from the browser into MATLAB. Here are some observations: When pasting the character, a red colored square is displayed When hitting enter, no error was given. Adding zero to it ␇ +0 also does nothing. Using it in a string seems possible, but gives a strange result: '␇'+0 = 26 Calling it in a function does something strange, try mean(␇) and your command never seems to end (except with

Command Line FOR /F Fails

爱⌒轻易说出口 提交于 2019-12-02 04:18:19
问题 I have a DOS build script which works on one Windows Server 2008 R2 but not another. To see the symptoms on the broken machine entering either of the following at the command line: for /f %X in ('dir /b *.txt') do @echo %X for /f "usebackq" %X in (`dir /b *.txt`) do @echo %X gives: "'dir /b *.txt' is not recognised as an internal or external command." while e.g. for %X in (*.txt) do @echo %X works fine, so the /f is not being obeyed properly. I don't believe this is the Command Extensions

Windows Server 2008 r2 + IIS7: .mp4 files can not be played

那年仲夏 提交于 2019-12-02 03:00:58
I have the strange trouble.Folder of web application in my server (IIS7.5, Windows Server 2008 R2). Web application has Video player. <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <video src='<%# ResolveUrl(GetVideoHandler(Eval("id"))) %>' width="900" height="400" controls="" preload=""></video> </ItemTemplate> </asp:Repeater> It can play .mp4 on my local System, but it don't play on live server when i accessing a video on other system.i have a Value gettong in ResolveUrl(GetVideoHandler(Eval("id"))) VideoFolder/VideoName.mp4 for playing video. Its working fine on my loaclHost

Command Line FOR /F Fails

断了今生、忘了曾经 提交于 2019-12-02 02:38:35
I have a DOS build script which works on one Windows Server 2008 R2 but not another. To see the symptoms on the broken machine entering either of the following at the command line: for /f %X in ('dir /b *.txt') do @echo %X for /f "usebackq" %X in (`dir /b *.txt`) do @echo %X gives: "'dir /b *.txt' is not recognised as an internal or external command." while e.g. for %X in (*.txt) do @echo %X works fine, so the /f is not being obeyed properly. I don't believe this is the Command Extensions themselves (starting cmd /x shows the same behaviour; running them inside cmd /y on the problem server

Mongodb hotfix KB2731284

烈酒焚心 提交于 2019-12-01 21:48:11
I installed MongoDb on a windows server 2008 R2 and the hotfix KB2731284 is not installed, but I cannot restart the server easily. In the hotfix description, I got this message "You run an application that uses the FlushViewOfFile() function to clean up memory-mapped files from the paged memory pool." (see https://support.microsoft.com/en-us/kb/2731284 ) My question is, when the funtion FlushViewOfFile() is called? My application is just writing in a collection and get data from it. Do I risk to get some wrong behaviors? I think you can run MongoDb without applying the Hotfix, but I would not