There are three ways (other than disabling it) by which you can bypass eh UAC prompt for particular applications:
- Task Scheduler
- Elevate Me
- Tweak UAC
There are three ways (other than disabling it) by which you can bypass eh UAC prompt for particular applications:
Create UAC White List (Windows Vista/7)
HVRemote (Hyper-V Remote Management Configuration Utility)
Open a network share with different credential
runas /u:domain\username "explorer \\server\share, /separate"
running the application in user profile by different credential
runas.exe /noprofile /user:administrator cmd
Opening Explorer shell with admin privileges on XP
Quick Run command to Open My Computer
1. Press Win + R keys to open Run box (or Click Start > Run).
2. Type "…" and press Enter key.
Open My Computer using keyboard with quick run command
VMware savings-calculator
http://www.yougetsignal.com/tools/open-ports/
*The open port checker is a tool you can use to check your external IP address and detect open ports on your connection. This tool is useful for finding out if your port forwarding is setup correctly or if your server applications are being blocked by a firewall.
open port checker (local + remote)
The tradelink internet network connection setting by default is using a Windows dial up/PPPoE ..... connection
When a user to try to connect to trandlink in a corp. network (e.g. be hide firewall), they will got the following error. It is because the tradelink try to use the network connection e.g. PPPoE, dial up …… to connect the internet.
The solution is use the administrator account login the tradelink system, go to “admin” -> “system parameter” -> “system” - > “Internet connection” -> select “Use leased line connection”
But for the terminal server environment, there are some different:
It depends on the installation method of the tradelink (e.g. in user mode/in admin mode during the install and the user account of the terminal service). It will make the tradelink use the “Wini.ini” in different localtion
The following is the location of “Win.ini”
e.g. C:\Documents and Settings\Administrator\WINDOWS (For Multiple user environments)
e.g. C:\Windows (For local login only)
e.g. User home folder H:\Windows (If User domain account have home folder setup)
The following is the tradelink configuration in the “Win.ini”
[SEDIF_Schedule]
ConnectControl=ON
CONNECTMIN=60
ActionAfterConnect=Both Send and Receive
ConnectType=CETS
[TRADELINK_CONNECTION]
RASProfile=
Leaseline=1 [The “1” = “Use leased line connection”]
UseProxy=0
ProxyAddr=
[IDAPI]
DLLPATH=C:\VALUNET\IDAPI
Tradelink on Terminal Server
"C:\Program Files\Windows Resource Kits\Tools\INSTSRV.EXE" SpamAssassin "C:\Program Files\Windows Resource Kits\Tools\SRVANY.EXE"
"c:\sa\spamd.exe -l -s c:\sa\spamd.log --round-robin"
完整的免費Email 伺服器方案--hMailServer 4.4中文 + 防毒 + WebMail 完整 Windows 應用方案
http://twg.idv.tw/dv_rss_xhtml_229_91179_8.html
SquirrelMail
http://www.squirrelmail.org/download.php
WampServer 2
ClamWin Free Antivirus is a free software project
http://www.clamwin.com/content/view/18/46/
hmailserver installation and configuration information
(Freeware) Apache, MySQL, PHP on Windows
ChromePlus has all the functionalities that Google Chrome has. More, ChromePlus added some useful features such as Mouse gesture, Super drag, IE tab, etc. Meanwhile, ChromePlus is free with no function limitation and you can use ChromePlus to surf the internet in any case.
(Freeware) ChromePlus
Using Netsh with Windows Firewall
GPO of Windows firewall allow Remote Administration exception
Enabling Windows Firewall
Click Start, Run and type:
Netsh firewall set opmode enable
Disabling Windows Firewall
Click Start, Run and type:
Netsh firewall set opmode disable
http://www.winhelponline.com/blog/enable-and-disable-windows-firewall-quickly-using-command-line/
Enable and Disable Windows Firewall Quickly Using Command-Line (From http://www.winhelponline.com/blog/enable-and-disable-windows-firewall-quickly-using-command-line/)
/reg | Registers ShellRunas shell context-menu entry |
/regnetonly | Registers Shell /netonly context-menu entry Note: a command prompt will flash when the program starts |
/unreg | Unregisters ShellRunas shell context-menu entry |
/quiet | Register or unregisters ShellRunas shell context-menu entry without result dialog |
/netonly | Use if specified credentials are for remote access only |
<program> | Runs program with specified credentials and parameters |
找回Vista及Server 2008的RunAs 功能
(Freeware) VHD Attach – Attach and detach VHDs in Windows Explorer
create a custom default user profile
Copy User Profiles in Windows XP
http://www.petri.co.il/copy_user_profiles_in_windows_xp.htm
Copy User Profiles in Windows XP
How do I Find Out Linux CPU Utilization?
Keyboard Shortcuts
And here is a list of useful new keyboard shortcuts:
Alt+P
Display/ hide the Explorer preview pane
Windows key+G
Display gadgets in front of other windows
Windows key++ (plus key)
Zoom in, where appropriate
Windows key+- (minus key)
Zoom out, where appropriate
Windows key+Up
Maximise the current window
Windows key+Down
Minimise the current window
Windows key+Left
Snap to
http://www.edmartechguide.com/2009/04/windows-7-optimization-tips.html
Some Windows 7 hot key
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"LogonPrompt"="This is XXX Workstation: hostname"
"Welcome"=" - This is XXX Workstation: hostname"
display message on Window XP login GINA
Executive Summary:
When you're configuring a new Microsoft Windows server that has multiple network interface cards (NICs), it's important that you disable any NICs that aren't plugged in to the network. If you don't disable an unused NIC, problems can arise on domain controllers (DCs) running Domain Name System (DNS). The DNS server problems can impede the performance of client computers.
For more information:
http://windowsitpro.com/article/articleid/96610/beware-of-unused-nics.html
Beware of Unused NICs (From: http://windowsitpro.com/article/articleid/96610/beware-of-unused-nics.html)
English office 可提供細明體或新細明體等中文字型
|
Registry Settings
System Key: [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}]
Data Type: REG_EXPAND_SZ (Expanded String Value)
http://www.pctools.com/guides/registry/detail/370/
Show User and Computer Name on Desktop (From: http://www.pctools.com/guides/registry/detail/370/ )
Remote Script
Utility lets you execute commands and scripts on the remote machine.
Utility lets you execute commands and scripts on the remote machine
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_22575735.html
Hardware inventory during the user login and write to a excel (From:http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_22575735.html)
VBScript
' Name : Login.vbs
' Version : 3.2, 04/15/2004
' Author : J. Jason Bergh
' INITIALIZATION
' Declare Variables
Option Explicit
Dim objNetDrive ' Network Drive Object
Dim objNetDriveEnum ' Network Drive Enumeration Object
Dim objWMIService ' WMI Service Object
Dim strComputer ' WMI Computer Namspace String
Dim colItems ' WMI Item Collection (Win32_OperatingSystem)
Dim colComputers ' WMI Computer Collection (Win32_ComputerSystem)
Dim objItem ' WMI Item Object
Dim objComputer ' WMI Computer Object
Dim strError ' Event Log Error String
Dim strSuccess ' Event Log Success String
Dim strEventLog ' Event Log Report String
Dim WshShl ' Windows Scripting Host Shell Object
Dim WshNet ' Windows Scripting Host Network Object
Dim i ' Counter
' Instantiate Variables
Set objNetDrive = CreateObject("WScript.Network")
Set WshShl = WScript.CreateObject("WScript.Shell")
Set WshNet = WScript.CreateObject("WScript.Network")
' Ignore Error Messages
On Error Resume Next
' Instantiate Event Log Report
strEventLog = "Login Script v.3.2 status as follows:"
' Determine OS Type and Role
OSTypeAndRole()
' Enumerate Network Drives
Set objNetDriveEnum = WshNet.EnumNetworkDrives
' Map Network Drives
NetworkMapDrive "V:", "\\GODZILLA\DOWNLOADS"
NetworkMapDrive "W:", "\\GODZILLA\DOCUMENTS"
NetworkMapDrive "X:", "\\GODZILLA\PICTURES"
NetworkMapDrive "Y:", "\\GODZILLA\MUSIC"
' Write Event To The Application Event Log
EventLog()
' End Script
' FUNCTIONS
Function OSTypeAndRole()
' Instantiate WMI
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem",,48)
' Query Target OS Type
For Each objItem In colItems
' Target is in the Windows NT family if OS Type 18
If objItem.OSType = 18 Then
' Query target and if the target's role is a Domain Controller (Primary, Backup) the Login script will exit.
' Instantiate WMI
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colComputers = objWMIService.ExecQuery ("Select DomainRole from Win32_ComputerSystem")
' Query target role if target is in Windows NT family
For Each objComputer In colComputers
' Check target's role and terminate script if target is a Domain Controller (Domain Role > 3)
If objComputer.DomainRole > 3 Then
Wscript.Quit()
End If
Next
Else
' Operating System is not part of the Windows NT family, terminate the Login script
Wscript.Quit()
End If
Next
' Instantiate Error and Success string values
strError = "- Error determining operating system and role."
strSuccess = " - Windows NT family functioning as a member workstation / server."
' Check for errors
CheckError strError, strSuccess
End Function
Function NetworkMapDrive (Drive, Share)
' Enumerate and compare specified Drive Letter and UNC share point to mapped Drive Letters and UNC share points
For i = 0 to objNetDriveEnum.Count -1 Step 2
If LCase(Drive) = LCase(objNetDriveEnum.Item(i)) Then
If Not LCase(Share) = LCase(objNetDriveEnum.Item(i+1)) Then
' Remove Network Share Point
WshNet.RemoveNetworkDrive Drive, TRUE, TRUE
Else
' Drive mapped correctly, exit function
Exit Function
End If
End If
Next
' Map specified Drive Letter to specified UNC share point
WshNet.MapNetworkDrive Drive, Share, TRUE
' Instantiate Error and Success string values
strError = " - Error mapping drive " & Drive & " to " & Share & "."
strSuccess = " - Drive " & Drive & " mapped to " & Share & "."
' Check for errors
CheckError strError, strSuccess
End Function
Function CheckError (EventError, EventSuccess)
' Function status reported to Application Event Log string
' Check for errors
If Err > 0 Then
' Error occured, mark Event Log string accordingly
strEventLog = strEventLog & vbCR & EventError
Err.Clear
Else
' No errors, mark Event Log string complete for this function
strEventLog = strEventLog & vbCR & EventSuccess
End If
End Function
Function EventLog()
' Write Event to the Application Event Log
WshShl.LogEvent 0, strEventLog
End Function
http://gallery.technet.microsoft.com/ScriptCenter/en-us/5ff5f445-d28d-45d5-8db7-bc5998ca8fcd
Map Network Drives and Log the Results
The Microsoft Active Directory Topology Diagrammer reads an Active Directory configuration using ActiveX Data Objects (ADO), and then automatically generates a Visio diagram of your Active Directory and /or your Exchange 200x Server topology. The diagramms include domains, sites, servers, administrative groups, routing groups and connectors and can be changed manually in Visio if needed.
Microsoft Active Directory Topology Diagrammer