This isn’t going to be detailed…

Get PsExec from SysInternals (http://live.sysinternals.com/psexec.exe)

psexec remoteComputerName cmd /c netsh firewall set service RemoteAdmin

This runs the “netsh” command on the remote system to enable RemoteAdmin through firewall.  I ran into this problem when I couldn’t run the netsh from a 2003 box to control the XP remote system.  Strange.  No time to research it any further right now.

This is just craziness.  I suppose I should just reboot?  =]  This is on Windows 7 Professional 32bit SP1.  *scratches head*

 

Update [7/18/2011]

I found what the problem was — stupid me. I left verifier running on cmd.exe. Disabled it and voila, things work – as expected.

I spent a better part of Thursday doing a fresh install of Debian GNU/Linux along with MailScanner, SpamAssassin, ClamAV and Baruwa web interface for MailScanner.  I also have MailWatch 1.0.5 setup and installed side-by-side with Baruwa.

Below is the web interface to MailScanner (http://www.baruwa.org/) which allows for adding Users and Domains.

<!-- width=996Baruwa 1.1.0 Interface -->

Postfix version 2.7.1-1+squeeze1
MailScanner version 4.83.5
Baruwa version 1.1.0
ClamAV 0.97.1/13296/Thu Jul  7 22:28:42 2011
SpamAssassin version 3.3.1

I used quite a bit of information from http://www.spamtips.org/ to help with configuration/update/architecture of the antispam server.

In no particular order, the below are my favorite text editors for use in any version of Windows.

1. VIM (Windows, Mac, DOS, Amiga, Android etc., etc., Download)

Windows Graphical VIM (gVIM)

2. Notepad

Notepad

3. Textpad (http://www.textpad.com/)

Textpad

This one-liner (source):

I found this batch script/command on ServerFault *I think*. Very cool little one-liner trick.

@for %%e in (%PATHEXT%) do @for %%i in (%1%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i

Example usage:

C:\Users\Rich\Desktop>whereis cmd
C:\Windows\System32\cmd.exe

C:\Users\Rich\Desktop>whereis shutdown
C:\Windows\System32\shutdown.exe

C:\Users\Rich\Desktop>whereis putty

Update: July 21, 2011 So, I discovered: “where” built-in to Windows…

Description: Displays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable.

“where” exists in Windows Server 2003 but I also have it natively on Windows Vista and 7.  Not sure which other Windows releases it is included in.

 

s
search
c
compose new post
r
reply
e
edit
t
go to top
j
go to the next post or comment
k
go to the previous post or comment
o
toggle comment visibility
esc
cancel edit post or comment