Saturday, February 4, 2012

Fortigate Mac based user name creation

go to CLI window

type the following
creation:

Config system dhcp reserved_address
show
edit nameoftheuser
set ip 195.168.6.85
set mac 00:01:02:03:04
set type regular
end

Deletion:

config system dhcp reserved_address
delete nameoftheuser
end

How to Use Network Shortcuts in IE via Group Policy

open Group policy management Console
Go to User configuration/Policies/Windows Settings/Internet Explorer Maintenance/URL/favorites and links

add the link file:////fileservername/filename.bat
then close the Group Policy Management console

go to run type cmd and use the command "gpupdate /force"

Failed To Initialize Common Updater Subsystem. Make Sure The Mcafee Framework Service is Running

1. Open regedit, and locate [HKEY_CLASSES_ROOT\Interface\{0000000C-0000-0000-C000-000000000046}] If it doesn't exist then create it.
2. Double-Click the default value, and type IStream as the value.
3. Locate [HKEY_CLASSES_ROOT\Interface\{0000000C-0000-0000-C000-000000000046}\NumMethods] If it doesn't exist then create it.
4. Double-Click the default value, and type 14 as the value.
5. Locate [HKEY_CLASSES_ROOT\Interface\{0000000C-0000-0000-C000-000000000046}\ProxyStubClsid32] If it doesn't exist then create it.
6. Double-Click the default value, and type {00000320-0000-0000-C000-000000000046} as the value.
7. Close regedit and try updating again.

How to assign local admin rights to domain user


To use Group Policy to grant local administrative privileges to a domain account, complete the following steps:
  1. On the domain controller, go to Administrative Tools >Active Directory Users and Computers (you must be running with Domain Administrator privileges).
  2. Right-click on the Organizational Unit (OU) upon which you want to apply the Group Policy. Click Properties.
  3. The Group Policy Properties panel is displayed. Select the Group Policy tab and click New to create a new Group Policy.
  4. Designate a name for the new Group Policy. Select the new Group Policy and click Edit.
  5. The Group Policy Object Editor panel is displayed. Go toNew Group Policy Object Computer Configuration >Windows Settings > Security Settings > Restricted Groups. Right-click on Restricted Groups. Click Add Group.
  6. For example, name the new group "Administrators." Under "Properties", add the user "Administrator","Domain Admin" and the domain accounts or groups upon which you want the Group Policy in effect for. For example, you can add "yourdomain\Local Administrator group". Click OK.
  7. Add these user rights to the domain account:
    • Act as part of the operating system
    • Log on as a service
    In the Group Policy Object Editor, go to New Group Policy Object Computer Configuration > Windows Settings >Security Settings > Local Policies > User Rights Assignments. In the right pane, select "Log on as a service" and double-click. Add the domain user for whom you are granting the user right for and click OK. Repeat this step for "Act as part of the operating system."
  8. The group policy is now enforced for the Organizational Unit to include the domain accounts and groups specified under the local Administrators group on each computer in the Organizational Unit. In addition, the domain user has been granted the necessary rights. To verify this, log into a domain computer and open the Computer Management console. Select Groups, double-click on the Administrators group, and verify the membership of the domain users.