@echo off REM place in C:\cygwin\rxvt.bat and put REM a shortcut on the desktop :-) REM NOX c:\cygwin\bin\rxvt -e /bin/bash -login REM WITH X REM DISPLAY="$DISPLAY.0" c:\cygwin\bin\rxvt -e /bin/bash -login REM DISPLAY="$DISPLAY.0" c:\cygwin\bin\rxvt -sr -sk -backspace ^? &
You will need a client (aka JXplorer)
server: kdc.my.microsoft.domain
protocol: ldap v3
base dn: DC=my,DC=microsoft,DC=domain
Level: User+passwd
User DN: CN=Joe Smith,CN=Users,DC=my,DC=microsoft,DC=domain
Passwd:
Problem: Acrobat Reader hangs when starting or reports that it can't create a temporary file. Accrobat reader creates a few of temp files for each file opened:
C:\Documents and Settings\They are all zero bites, but they are not always cleaned up in NT4/Win2K/Win2003/XP. After you have 65,535 of them, accrobat reader 6 will hang on opening, and 5 reports that it can't create a temp file. Deleting all the Acr*.tmp files solves the problem, but windows will hang if you try to delete all of them at one time. funny stuff.\Local Settings\Temp\Acr[0001-FFFF].tmp
To join a domain from cli: NETDOM /Domain:MYDOMAIN /user:adminuser /password:apassword MEMBER MYCOMPUTER /JOINDOMAIN
Disable last-accessed-time, regedit: HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisableLastAccessUpdate
Procedure to automate network switch on XP via batch files
1. Set network settings via network control panel for static IP on fake
subnet.
2. Save the config to a file by running:
netsh -c interface dump > c:\net_fixed.txt
3. Set network settings via network control panel for dhcp IP.
4. Save the config to a file by running:
netsh -c interface dump > c:\net_dhcp.txt
To load a settings file for one of the networks above:
netsh -f c:\net_.txt
5. Create bat scripts on desktop, so you can switch network config by
clicking:
i.e. dhcpnet.bat
@echo off
c:
netsh -f c:\net_dhcp.txt
i.e. fakenet.bat
@echo off
c:
netsh -f c:\net_fixed.txt
C:\Windows\System32\wpa.dbl
C:\Windows\System32\wpa.bak
md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak
delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default
copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default