apache crashes when php_mysql.dll is loaded
I’m trying to get php_mysql to work. I’m on a windows 7 box, with php When I have ;extension=php_mysql.dll commented out like that, apache works, php works, and of course mysql in the background is working, but I cannot use mysql with php. (My objective is to install a phpBB3 forum, and it doesn’t list mysql as available.) Now something I notice is that while php works in apache (that is, it serves up php [...]
Continue Reading »RDP Connection to Windows 7 stays really slow
I have an Issue with connecting to Windows 7 via RDP. I can open an RDP Session, but regardless of any settings, the responce times are really long. This in particulary is the case when opening a web page in a browser. I’ve tried IE, Firefox and Google Chrome. I also use RDP connection to a Windows 2008 Server from the same client machine, and the speed is very normal with all features turned on. [...]
Continue Reading »How do I (robustly) remotely execute tasks on Windows workstations in a domain?
I’m not even sure if “robustly” is a word. Anyway. Context: We have a few hundred Windows 7 workstations on a LAN. We use AD/GPO management pretty heavily, but there are a lot of periodic and/or manual maintenance tasks we need to do that can’t be done via GPO/scheduled task. For example, say I want to execute program X (which runs silently, in the background, and doesn’t bother the user) on workstation Y, or say [...]
Continue Reading »Windows Command-Line Utilities Started Prompting for Password
Recently my computer started prompting for the password of my domain account (that I am logged on as) when running command-line tools such as tasklist or taskkill on remote domain computers. On other domain workstations, it does not ask for a password when running these utilities. For example: taskkill /s DomainComputer1 /im process.exe /f What policy or setting might have changed to do this? I know these are probably not related, but I checked settings [...]
Continue Reading »Running Linux Script from Windows in backgound
I’m using following script from my windows machine to run on linux and do backup. @ECHO off :: run remote command plink.exe username@myserver /home/username/do-backup.sh Problem with this script is that, i have to keep my session live. as backup takes 30 minutes or so , so I want to know if there is any way I run this script and after that backup command keeps working even if i turn off my system. or you [...]
Continue Reading »Launch Linux Script remotely from Windows
I have an rsync script that runs on one Linux server to synchronize files with another Linux server. Is there a way to launch a script on one of the Linux machines without actually opening an interactive ssh session to the server? Asked by Kashif You should do it via a SSH command. You just need to setup plink.exe . You can download it at: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Then, from a batch file like this one, exectute [...]
Continue Reading »How do I encrypt SQL Server traffic with IPSEC?
I’ve found all sorts of documentation on what IPSEC is and how to (in very non-specific ways) configure it, but I can’t seem to configure a Windows Firewall With Advanced Security rule that both A) requires all SQL Server traffic to be encrypted, and B) works. As an exercise, I created an inbound rule that allows all traffic the default MSSQLSERVER service when it is connected to the domain, and tested that I can connect [...]
Continue Reading »C#/SQL Server: Login failed when connecting from remote machine
I’ve got an SQL Server 2008 Express set up on one machine and am trying to connect with my C# app to the server from another machine (both Win 7). The server machine has a user account for me in the system. The SQL Server is configured to use Windows Authentication. Firewall on the server machine has inbound rules to accept ports 1433 for TCP and 1434 for UDP and also accept the server’s exe. [...]
Continue Reading »Problems using local printer via RDP on windows 2003 sever
The client is windows 7 machine, it have local printer attached. Necessary check-boxes are checked (at “share local resources” in remote desktop connection configuration windows), but the printer not appearing in “printers and faxes”. Questions: Do I need to install drivers for this printer? What drivers should I install? For server, client or both? If it willn’t work natively, is it possible to use this printer using any 3-rd party programs (both computers server and [...]
Continue Reading »Remote Desktop connection to Windows 7, Network Level Authentication issue?
We’re in the process of incrementally upgrading our PCs to Windows 7, and several times now have been unable to open an RDP connection to the upgraded machine to remotely administer them. At some point we realised that Network Level Authentication was the culprit, and subsequently disabled it in the images we’ve deployed since. This morning I had another machine that I could not connect to, having tried the following: Remote desktop via our RDS [...]
Continue Reading »


