September 19, 2012

Turn off "Internet Explorer Enhanced Security Configuration" on Windows 2008 Server or Windows 2003 Server


On Windows Server 2008
1.  Go to Server Manager
2.  Click the top item in the tree labeled "Server Manager"
3.  On the page that appears, go to "Security Information"
4.  Look for "Configure IE ESC" on the right and disable the feature
5.  Close all Internet Explorer browsers.
6.  Open a new browser to attempt the download again.

July 6, 2012

public folder in Exchange

  1. Start ADSI Edit. In the CN=Configuration container, locate the following container:
    CN=Services,CN=Microsoft Exchange,CN=ORGANIZATION,CN=Administrative Groups,CN=administrative_group,CN=Folder Hierarchies,CN=Public Folders
    Note In this container, ORGANIZATION is the name of the Exchange Server organization and administrative_group is the name of your administrative group.
  2. Right-click CN=Public Folders, and then click Properties.
  3. Click the Security tab.
  4. Make sure that the Allow inheritable permissions from parent to propagate to this object check box is selected.
  5. Make sure that the Everyone group has the following Allow permissions:
    • Create named properties in the information store
    • Create public folder
    • Create top level public folder
    If the Allow inheritable permissions from parent to propagate to this object check box is selected, the Everyone group should already have these permissions. Make sure that the Deny check boxes are not selected.


http://support.microsoft.com/kb/313866

June 2, 2012

Google

Access Google App for registration

 https://www.google.com/a/cpanel/standard/

Access Email on Google Domain

http://mail.google.com/a/domain.com

Zyxel CLI save my life

To remove mistake put secureip on remote management.
P-660HW-T> sys server secureip web 0.0.0.0
P-660HW-T> sys server save sys
server: save ok
P-660HW-T> sys server disp

Script Create TCP/IP Port printer

strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNewPort = objWMIService.Get _ ("Win32_TCPIPPrinterPort").SpawnInstance_ objNewPort.Name = "IP_10.10.10.113" objNewPort.Protocol = 1 objNewPort.HostAddress = "10.10.10.113" objNewPort.PortNumber = "9100" objNewPort.SNMPEnabled = False objNewPort.Put_

May 8, 2012

SBS Update code

--------------------------- Windows Small Business Server 2011 Standard Health Alert --------------------------- An update for Microsoft SharePoint Foundation 2010 was installed on your Small Business Server. You must now complete the installation process by running the PSConfig utility to update the SharePoint databases. If you do not run PSConfig, some features of the server may not function correctly. For information about how to run PSConfig, see Knowledge Base article 2580174 at http://go.microsoft.com/fwlink/?LinkId=226610. If you have already run PSConfig, you can ignore this message. --------------------------- OK --------------------------- Solution: 1. Open an Administrative command prompt. 2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN 3. Run .\PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures Back to the top Suggestion [3,General]: The command PSConfig.exe was not found, but does exist in the current location. Windows PowerShe ll doesn't load commands from the current location by default. If you trust this command, instead type ".\PSConfig.exe". See "get-help about_Command_Precedence" for more details. PS C:\program files\common files\Microsoft Shared\Web Server Extensions\14\BIN> .\PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures SharePoint Products Configuration Wizard version 14.0.6009.1000. Copyright (C) Microsoft Corporation 2010. All rights re served. Performing configuration task 1 of 6 Initializing SharePoint Products upgrade... Waiting to get a lock to upgrade the farm. Successfully initialized SharePoint Products upgrade. Performing configuration task 2 of 6 Initiating the upgrade sequence... Successfully initiated the upgrade sequence. Performing configuration task 3 of 6 Registering SharePoint features... Successfully installed feature C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features \ReportServerStapling\Feature.xml. Successfully registered SharePoint features. Performing configuration task 4 of 6 Installing the application content files... Installing the SharePoint Central Administration Web Application content files... Installing the SharePoint Web Application content files... Successfully installed the application content files. Performing configuration task 5 of 6 Upgrading SharePoint Products... 0.00%

May 4, 2012

robocopy my use

robocopy D:\test2 F:\backup /E /COPY:DAT /R:0 /LOG:"F:\log.txt" /FP

April 17, 2012

Hotfix for window 2008 , cannot install hyper V

http://support.microsoft.com/kb/2517374


Consider the following scenario:

You have an Intel CPU that supports the Advanced Vector Extensions (AVX) feature on a computer that is running Windows Server 2008 R2.

Note Intel introduces support for the AVX feature in the Sandy Bridge processor family.
You install the Hyper-V server role on the computer.
You try to start a virtual machine after you create the virtual machine on the computer.

In this scenario, you cannot start the virtual machine. Additionally, you receive an error message that resembles one of the following error messages:
An error occurred while attempting to start the selected virtual machine(s).
could not initialize

could not initialize. (Virtual machine ID )
Also, an Event 3040 is logged in the Hyper-V-Worker node under Applications and Services Logs that contains an error message that resembles the following:
Failed to set/change partition propert

April 4, 2012

Volume Shadow Copy

' Created by: Shawn Brink
' http://www.sevenforums.com
' Tutorial: http://www.sevenforums.com/tutorials/494-system-restore-point-shortcut.html


If WScript.Arguments.Count = 0 Then
Set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "wscript.exe", Chr(34) & WScript.ScriptFullName & Chr(34) & " Run", , "runas", 1
Else
GetObject("winmgmts:\\.\root\default:Systemrestore").CreateRestorePoint "Instant Restore Point", 0, 100
End If


Download for window xp
http://download.microsoft.com/download/9/4/c/94c588cf-8176-4bdb-9d55-2597c76043c6/setup.exe

February 26, 2012

UBUNTU

Fix share error testparm" (No such file or directory)

sudo cp /usr/bin/testparm.samba3 /usr/bin/testparm

sudo cp /usr/bin/net.samba3 /usr/bin/net

sudo chmod +x /usr/bin/testparm /usr/bin/net


Backup tool

https://help.ubuntu.com/community/BackupYourSystem/SimpleBackupSuite

Ubuntu access to WIN7

1. Enter “gpedit.msc” in the Start Search box.
2. Open “Computer Configuration”/Windows Settings/Security Settings/Local Policies/Security Settings.
3. In the right pane, enable the following policies:

Network access: Allow anonymous SID/name translation
Network access: Let Everyone permissions apply to anonymous users

Also please disable the following policies.

Network access: Restrict anonymous access to Named Pipes and Shares
Network access: Do not allow anonymous enumeration of SAM accounts
Network access: Do not allow anonymous enumeration of SAM accounts and shares

Change the following policy:
Network security: LAN Manager authentication level

Change the value to “Send LM & NTLM - use NTLMv2 session security if negotiated”.

If the issue persists, change the Kerberos encryption type.

1. Open gpedit.msc.
2. Find the policy

Windows Settings -> Security Settings -> Local Policies -> Security Options ->Network Security: Configure encryption types allowed for Kerberos

3. Configure the policy. If it is not configured, actually both DES cipher suites are disabled. enable all the suits.

----------

Active Internet Connections

$ netstat -nat

Open port

$ sudo netstat -tulp

$sudo netstat -tulpn

Stat of network adapter

$sudo netstat -i

February 15, 2012

Window 7

Windows 7 Professional x64 (64-bit)

English: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65805/X15-65805.iso

Windows 7 Professional x86 (32-bit)
English: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65804/X15-65804.iso

Windows 7 Home Premium x64 (64-bit)

English: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65733/X15-65733.iso

Windows 7 Home Premium x86 (32-bit)

English: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65732/X15-65732.iso

Windows 7 Enterprise [English 60 Days Trial] – Source (http://www.mydigitallife.info/2009/10/04/windows-7-enterprise-trial-32-bit-and-64-bit-iso-direct-download-links/)]


32-bit (x86): 7600.16385.090713-1255_x86fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENEVAL_EN_DVD.iso (http://wb.dlservice.microsoft.com/download/release/Win7/3/b/a/3bac7d87-8ad2-4b7a-87b3-def36aee35fa/7600.16385.090713-1255_x86fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENEVAL_EN_DVD.iso)
64-bit (x64): 7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso (http://wb.dlservice.microsoft.com/download/release/Win7/3/b/a/3bac7d87-8ad2-4b7a-87b3-def36aee35fa/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso)



(http://wb.dlservice.microsoft.com/download/release/Win7/3/b/a/3bac7d87-8ad2-4b7a-87b3-def36aee35fa/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso)
Windows 7 Ultimate x64 (64-bit)

[Unofficial] English: http://91.121.99.184/paolo/win7-64bit.iso

(http://91.121.99.184/paolo/win7-64bit.iso)
Windows 7 Ultimate x86 (32-bit)

[Unofficial] English: http://91.121.99.184/paolo/win7.iso


-->> check version by typing follow the command on dos mode dism /get-wiminfo /wimfile:g:\sources\boot.wim


Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Details for image : i:\sources\boot.wim

Index : 1
Name : Microsoft Windows PE (x64)
Description : Microsoft Windows PE (x64)
Size : 974,874,943 bytes

Index : 2
Name : Microsoft Windows Setup (x64)
Description : Microsoft Windows Setup (x64)
Size : 1,056,354,599 bytes

Version: 6.1.7600.16385

Details for image : g:\sources\boot.wim

Index : 1
Name : Microsoft Windows PE (x86)
Description : Microsoft Windows PE (x86)
Size : 806,390,831 bytes

Index : 2
Name : Microsoft Windows Setup (x86)
Description : Microsoft Windows Setup (x86)
Size : 881,382,947 bytes

February 12, 2012

Fix problem on sbs 2011

dcdiag /test:dns
NLTEST /DSREGDNS
dcdiag /fix
nltest.exe /dsregdns


2008 cannot do this.

chnage owner on register to administrator group frist
don't change anything on trust installaer account
and it's done.
go to the dcom service
change permission and grant it for account require to local activattion.
error 10016


access dcomcnfg (runas) change IIS WAMREG and enable Local Activation
http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx

http://blogs.msdn.com/b/emeadaxsupport/archive/2010/01/26/unable-to-edit-the-dcom-settings-for-iis-wamreg-admin-service-on-a-

windows-server-2008-r2-when-trying-to-configure-kerberos-authentication-for-role-centers.aspx

add permission for domain\spfarm on dcom

sbs 2011 common errror
http://support.microsoft.com/kb/2483007

January 28, 2012

Shell command on Windows

Windows 7 Only
shell:Libraries
shell:MusicLibrary
shell:VideosLibrary
shell:OtherUsersFolder
shell:Device Metadata Store
shell:PublicSuggestedLocations
shell:DocumentsLibrary
shell:User Pinned
shell:UsersLibrariesFolder
shell:PicturesLibrary
shell:ImplicitAppShortcuts
shell:Ringtones
shell:CommonRingtones

Windows Vista & 7
shell:Common Programs
shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SyncSetupFolder
shell:DpapiKeys
shell:SamplePlaylists
shell:Favorites
shell:My Video
shell:SearchHomeFolder
shell:System
shell:CommonVideo
shell:SyncResultsFolder
shell:LocalizedResourcesDir
shell:Cookies
shell:Original Images
shell:CommonMusic
shell:My Pictures
shell:Cache
shell:Downloads
shell:CommonDownloads
shell:AppData
shell:SyncCenterFolder
shell:My Music
shell:ConflictFolder
shell:SavedGames
shell:InternetFolder
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:TreePropertiesFolder
shell:Profile
shell:Start Menu
shell:Common AppData
shell:PhotoAlbums
shell:ConnectionsFolder
shell:Administrative Tools
shell:PrintersFolder
shell:Default Gadgets
shell:ProgramFilesX86
shell:Searches
shell:Common Startup
shell:ControlPanelFolder
shell:SampleVideos
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:CredentialManager
shell:PrintHood
shell:MAPIFolder
shell:CD Burning
shell:AppUpdatesFolder
shell:Common Start Menu
shell:LocalAppDataLow
shell:Templates
shell:Gadgets
shell:Programs
shell:Recent
shell:SampleMusic
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:CryptoKeys
shell:Common Templates
shell:Startup
shell:Links
shell:OEM Links
shell:SamplePictures
shell:Common Desktop
shell:NetHood
shell:Games
shell:Common Administrative Tools
shell:NetworkPlacesFolder
shell:SystemX86
shell:History
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:Common Documents
shell:CSCFolder
shell:Local AppData
shell:Windows
shell:UsersFilesFolder
shell:ProgramFilesCommon
shell:Fonts
shell:Personal

Windows 7 Shortcuts
I compiled the following list with an early Alpha build of Windows 7. It is possible that some of these have changed with newer versions. If you find one that is wrong please let me know so I can correct it.

Wireless Networks pop-up
rundll32.exe van.dll,RunVAN

Advanced Restore
sdclt.exe /restorewizardadmin

Restore Files
sdclt.exe /restorewizard

Backup Location & Settings
sdclt.exe /configure

Add Network Location (wizard)
rundll32.exe shwebsvc.dll,AddNetPlaceRunDll

Indexing Options
control.exe srchadmin.dll

Notification Cache
rundll32.exe shell32.dll,Options_RunDLL 5

Aero (Transparency) Off
Rundll32.exe DwmApi #104

Aero (Transparency) On
Rundll32.exe DwmApi #102

Welcome Center
rundll32.exe oobefldr.dll,ShowWelcomeCenter

Add/Remove Programs
RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Content Advisor
RunDll32.exe msrating.dll,RatingSetupUI

Control Panel
RunDll32.exe shell32.dll,Control_RunDLL

Date and Time Properties
RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl

Display Settings
RunDll32.exe shell32.dll,Control_RunDLL access.cpl,,3

Device Manager
RunDll32.exe devmgr.dll DeviceManager_Execute

Folder Options – File Types
RunDll32.exe shell32.dll,Control_Options 2

Folder Options – General
RunDll32.exe shell32.dll,Options_RunDLL 0

Folder Options – Search
RunDll32.exe shell32.dll,Options_RunDLL 2

Folder Options – View
RunDll32.exe shell32.dll,Options_RunDLL 7

Forgotten Password Wizard
RunDll32.exe keymgr.dll,PRShowSaveWizardExW

Hibernate
RunDll32.exe powrprof.dll,SetSuspendState

Keyboard Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1

Lock Screen
RunDll32.exe user32.dll,LockWorkStation

Mouse Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @0

Map Network Drive
RunDll32.exe shell32.dll,SHHelpShortcuts_RunDLL Connect

Network Connections
RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl

Power Options
RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl

Regional Settings
RunDll32.exe shell32.dll,Control_RunDLL intl.cpl,,3

Stored Usernames and Passwords
RunDll32.exe keymgr.dll,KRShowKeyMgr

System Properties: Advanced
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4

System Properties: Automatic Updates
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5

Taskbar Properties
RunDll32.exe shell32.dll,Options_RunDLL 1

User Accounts
RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl

Windows Security Center
RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl

Windows – About
RunDll32.exe SHELL32.DLL,ShellAboutW

Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

Windows Firewall
RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl

Wireless Network Setup
RunDll32.exe shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW

Open Control Panel (All Items)
explorer.exe shell:::{21ec2020-3aea-1069-a2dd-08002b30309d}

Manage Wireless Networks
explorer.exe shell:::{1fa9085f-25a2-489b-85d4-86326eedcd87}

Sound Control Playback Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl

Sound Control Sounds Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,2

Sound Control Recording Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,1

Add/Remove Programs
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl

Add/Remove Windows Components
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2

Set Program Access and Computer Defaults
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3

People Near Me
rundll32.exe shell32.dll,Control_RunDLL collab.cpl

People Near Me Sign In Tab
rundll32.exe shell32.dll,Control_RunDLL collab.cpl,,1

Screen Resolution
rundll32.exe shell32.dll,Control_RunDLL desk.cpl

Personalization
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2

Screen Saver
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1

Windows Firewall
rundll32.exe shell32.dll,Control_RunDLL firewall.cpl

Device Manager
rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl

Power Options
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl

Power Options Change Plan Settings
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl,,1

System Properties
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl

System Properties Hardware Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2

System Properties Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3

System Properties System Protection Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4

System Properties Remote Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5

Pen and Touch Tablet PC Settings
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl

Pen and Touch Tablet PC Settings Flicks Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,1

Pen and Touch Tablet PC Settings Handwriting Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,2

Phone and Modem Options
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl

Phone and Modem Options Modems Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,1

Phone and Modems Options Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,2

Date and Time
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl

Date and Time Additional Clocks
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1

Action Center
rundll32.exe shell32.dll,Control_RunDLL wscui.cpl

Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
Internet Explorer Specific Commands

Delete Temporary Internet Files:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Delete Cookies:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

Delete History:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Delete Form Data:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

Delete Passwords:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete All + files and settings stored by Add-ons:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Miscellaneous Variables

Windows Directory
%WINDIR%
%SYSTEMROOT%

Hard Drive That Contains OS
%HOMEDRIVE%

Users Home Directory
%HOMEPATH%
%USERPROFILE%

Default Temporary Directory
%TEMP%
%TMP%

Program Files
%PROGRAMFILES%

Current Users Application Data Directory
%APPDATA%