• Welcome to community.cognetic.com.
 

News:

Cognetic Awarded one of Houston's Largest Tech Companies

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - admin

#1
(HOW TO MANUALLY CHANGE WINDOWS UPDATE SOURCE)
How to change the source for windows updates.  Can be a windows update server on a domain, or from the internet.  You can tell the source by opening Windows Update and check the "You receive updates".
"Managed by your system administrator" = pulls from local Windows Update domain server.
"For Windows and other products from Microsoft Update" = pulls from Microsoft Update Servers on Internet.

(USE LOCAL DOMAIN UPDATE SERVERS)
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"UseWUServer"=dword:00000001


(USE MICROSOFT UPDATE SERVER ON THE INTERNET)
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"UseWUServer"=dword:00000000


NOTE: After making changes. Restart the "Windows Update" service (or reboot PC), for changes to take effect.
#2
1. Add these two lines to the file, immediately after the initial "<?php" line
update_option('siteurl','http://worpresssite.com');
update_option('home','http://wordpresssite.com');


2. Load the login or admin page. The site should update to the new URL in step 1.

3. IMPORTANT: Remove the lines you added.  Do NOT leave those lines in there. Remove them immediately after the site is up and running again
#3
------------------------------------------------------------
FOR APPLIANCES
------------------------------------------------------------

(PUTTY)
1. Connect to the CLI using an SSH client, such as Putty
the.earth.li/~sgtatham/putty/latest/x86/putty.exe
2. Login via [ snwlcli ] 1st, then login as admin and the admin password you setup.

(TO CLEANUP DATABASES THAT BECOME CORRUPT AND CAUSE 100% CPU UTILIZATION)
Also may get messages in System, Monitoring, View Alerts: "SonicWALL Email Security Gateway not responding to SMTP test", or "Thumbprint database files are stale". This also corrects "Email Security is on: = Red X" or "Email Security is Off".
PLEASE NOTE:This command requires or will reboot your appliance.
cleanupdcdatabase

(TO CORRECT AUDIT LOGS OR JUNK BOX NOT SHOWING CURRENT DATA OR DATES)
rebuildsearchdb

(TO FIX OR CORRECT HTML USER INTERFACE NOT WORKING)
rebuildwebroot




-----------------------------------------------------------------------
FOR SOFTWARE AND APPLIANCE
-----------------------------------------------------------------------

(HTML DIAG SCREEN - MUCH MUCH EASIER!)
For appliances running "Email Security Firmware Version 7.3.4.5721" and above, you can use the /diag html page, to see all and run commands from an HTML page.
1. Login to the ES ad admin, and change the ending URL to /diag or /diag.html.
For Example: https://mail.company.com/diag.html
#4
Microsoft / Windows Password Recovery Disk
January 26, 2012, 01:49:22 AM
#5
Other / TCP/IP Subnet
January 26, 2012, 01:48:18 AM
(SUBNET CALCULATOR)
https://www.calculator.net/ip-subnet-calculator.html

(CLASS C SUBNET)
Bits   Mask                     Usable Hosts
/24   255.255.255.000    254
/25   255.255.255.128    126
/26   255.255.255.192    62
/27   255.255.255.224    30
/28   255.255.255.240    14
/29   255.255.255.248    6
/30   255.255.255.252    1

(CLASS B SUBNET)
Bits  Mask                  Usable Hosts
/16  255.255.0.0        65,534
/17  255.255.128.0    32,766
/18  255.255.192.0    16,382
/19  255.255.224.0    8,190
/20  255.255.240.0    4,094
/21  255.255.248.0    2,046
/22  255.255.252.0    1,022
/23  255.255.254.0    510

(CLASS A SUBNET)
Bits  Mask              Usable Hosts
/8    255.0.0.0       16,777,214
/9    255.128.0.0    8,388,606
/10  255.192.0.0    4,194,302
/11  255.224.0.0    2,097,150
/12  255.240.0.0    1,048,574
/13  255.248.0.0    524,286
/14  255.252.0.0    262,142
/15  255.254.0.0    131,070
#6
(TO GRANT A USER FULL ACCESS TO ANOTHER MAILBOX)
add-MailboxPermission -Identity "Mailbox" -User "Trusted User" -AccessRight FullAccess -InheritanceType All -Automapping $false
or
add-MailboxPermission -Identity "Mailbox" -User "Trusted User" -AccessRights FullAccess

(REMOVE A USER FULL ACCESS FROM ANOTHER MAILBOX)
Remove-MailboxPermission -Identity "Mailbox" -User "Trusted User" -AccessRight FullAccess -InheritanceType All

(TO ADD EXCHANGE 2007 /2010 OWA to IIS WEBS)
New-OWAVirtualDirectory -OWAVersion "Exchange2007" -Name "owa" -Website "sunshinekids.org"

(TO REMOVE EXCHANGE 2007 /2010 OWA from IIS WEBS)
Remove-OwaVirtualDirectory -identity "owa (Default Web site)"

(TO SET EXCHANGE 2007 SERVER PERMISSIONS FOR A SERVICE ACCOUNT)
get-mailboxserver "<mail_server_name>" | add-exchangeadministrator "BESAdmin" –role ViewOnlyAdmin

get-mailboxserver "<mail_server_name>" | add-adpermission –user "BESAdmin" –accessrights ExtendedRight –extendedrights Send-As, Receive-As, ms-Exch-Store-Admin
#7
Dell / How to Get Dell Service Tags from Command Prompt
January 26, 2012, 01:41:19 AM
(GET SERVICE TAG)
wmic bios get serialnumber

(GET SERVICE TAG, MODEL, AND MANUFACTURER)
wmic csproduct get vendor,name,identifyingnumber