This blog will give the solution and fix for Active Directory and Messaging administrators

  • A directory is a hierarchical structure that stores information about objects on the network. Active Directory Domain Services (AD DS), stores information about objects on the network like user accounts, such as names, passwords, phone numbers, and so on, and enables other authorized users on the same network to access this information. Active Directory uses a structured data store as the basis for a logical, hierarchical organization of directory information.

  • Microsoft 365 is a cloud-based services designed to help meet your organization's needs for robust security, reliability, and user productivity.

  • Microsoft Learning

    Learn technical skills with Microsoft role based certifications, find the right training and certification opportunities to aid in your career growth and success.

  • Microsoft Exchange Online is a hosted messaging solution that delivers the capabilities of Microsoft Exchange Server as a cloud-based service. It gives users access to email, calendar, contacts, and tasks from PCs, the web, and mobile devices. It integrates fully with Active Directory, enabling administrators to use group policies, as well as other administration tools, to manage Exchange Online features across their environment

  • Powershell

    A comprehensive command line interface and scripting language for Windows. Introduced in 2006, PowerShell is a major upgrade from the Windows command line, which uses DOS commands. PowerShell supports common programming structures such as "if-then-else" and "while," it is generally less complicated than Microsoft's VBScript and JScript languages.

Registry key to disable USB Storage Device


Pen drive Write Protect Using registry Value

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\control\StorageDevicePolicies
Value Name : WriteProtect
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)

****************************************************************
Usb Storage Device Enable or Disable
Disable USB
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBsTOR

Value Name : Start
Value Type : Dword Value
Value Data : 4


Enable USB
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBsTOR
Value Name : Start
Value Type : Dword Value
Value Data : 3

****************************************************************
Share:

Registry key to Hide and Restrict Computer Drives


Hide & Restrict Computer Drives

Drive restrictions for User Accounts
Restrict Drives
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value Name : NoViewOnDrive
Value Type : Binary Value
Value Data: 01 00 00 00


Hide Drives
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value Name : NoDrives
Value Type : Binary Value
Value Data: 01 00 00 00


Drive Restrictions for Computer
Restrict Drives
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value Name : NoViewOnDrive
Value Type : Binary Value
Value Data: 01 00 00 00


Hide Drives
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value Name : NoDrives
Value Type : Binary Value
Value Data : 01 00 00 00

Drives using hexa decimal values A=1, B=2, C=4, D=8
****************************************************************
Share:

Disable Internet Explorer Internet Options via registry


Internet Explorer Internet Options Restrictions

For User Account
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel

For Computer
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel

Remove General Tab from Internet Options
Value Name : GeneralTab
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Security Tab from Internet Options
Value Name : SecurityTab
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Content Tab from Internet Options
Value Name : ContentTab
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Connection Tab from Internet Options
Value Name : ConnectionsTab
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Program Tab from Internet Options
Value Name : ProgramsTab
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove privacy Tab from Internet Options
Value Name : PrivacyTab
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Advance Tab from Internet Options
Value Name : AdvancedTab
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)

===============================
Share:

Registry key to restrict Add or Remove Programs (Control Panel Applet)


Add or Remove Programs Restrictions (Control Panel Applet)

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall

Restrict Add Remove Programs in Control Panel
Value Name : NoAddRemovePrograms
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Change or Remove porgrams page
Value Name : NoRemovePage
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Add programs page
Value Name : NoAddPage
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Add/Remove Windows Components page
Value Name : NoWindowsSetupPage
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Add a Program from Cd-rom or floppy disk page
Value Name : NoAddFromCDorFloppy
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Add program from Internet
Value Name : NoAddFromInternet
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Add Program from Network
Value Name : NoAddFromNetwork
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove choose program page
Value Name : NoChooseProgramsPage
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)

****************************************************************
Share:

Start Menu Restrictions for User and computer via registry



Start Menu Restrictions for User
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Start Menu Restrictions for Computer
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer     

Remove Recent Documents menu form startmenu
Value Name : NoRecentDocsMenu
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Clear Recent Documents on Exit
Value Name : ClearRecentDocsOnExit
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Recent Documents History
Value Name : NoRecentDocsHistory
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Windows XP Style Starmenu
Value Name : NoSimpleStartMenu
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Startmenu Common Groups
Value Name : NoCommonGroups
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Mydocuments on startmenu
Value Name : NoSMMyDocs
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Mymusic on startmenu
Value Name : NoStartMenuMyMusic
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Mypictures on Startmenu
Value Name : NoSMMyPictures
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove My Favorites on startmenu
Value Name : NoFavoritesMenu
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove My Network places on startmenu
Value Name :NoStartMenuNetworkPlace
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Network Connections from startmenu - settings
Value Name : NoNetworkConnections
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Help form startmenu
Value Name : NoSMHelp
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Run from startmenu
Value Name : NoRun
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Find form startmenu
Value Name : NoFind
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Logoff from startmenu
Value Name : StartMenuLogoff
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Restrict Taskbar properties
Value Name : NoSetTaskbar
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove user name in startmenu
Value Name : NoUserNameInStartMenu
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Installed programs form startmenu (only from startmenu link)
Value Name : NoStartMenuMorePrograms
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)


Remove Startmenu
Value Name : NoClose
Value Type : Dword Value
Value Data: 1 (value data: 0 to reset)

****************************************************************
Share:

Enable or Disable Registry Editor (regedit.exe)


Enable or Disable Registry Editor

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Value Name : DisableRegistryTools
Value Type : Dword Value
Value Data: 1 (disable) 0(enable)

****************************************************************
Share:

Enable or Disable Command prompt via registry editor


Enable or Disable Command prompt

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Value Name : DisableCMD
Value Type : Dword Value
Value Data: 1 (disable) 0 (enable)

****************************************************************
Share:

Enable or Disable Task Manager via registry editor


Enable or Disable Task Manager

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Value Name : DisableTaskMgr
Value Type : Dword Value
Value Data: 1 (disable) 0 (enable)

****************************************************************
Share:

Disable Computer Management via registry editor


Restrict Computer Management
HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC\{58221C67-EA27-11CF-ADCF-00AA00A80033}
Value Name : Restrict_Run
Value Type : String Value
Value Data: 1
****************************************************************
Share:

Hide Control Panel Applets via registry editor


Hide Control Panel Applets

(This setting only hide this options in control panel)

Goto Start - Run - regedit
expand this key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and create "DisallowCpl" (dword value) and give the value "1", after create a sub key name "DisallowCpl" in "Explorer" key then open DisallowCpl key create string value name "1" value date "access.cpl". If you want hide more applets give the sequence numbers for value name and give the applets cpl in value data.

For example you want to hide Add Hardware and Add or Remove Programs

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Value Name : DisallowCpl
Value Type : Dword value
Value Data : 1

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl
Value Name : 1
Value Type : String Value
Value Data: hdwwiz.cpl

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowCpl
Value Name : 2
Value Type : String Value
Value Data: appwiz.cpl

Some Control Panel applets shortcuts

Accessibility Option - access.cpl
Add Hardware - hdwwiz.cpl
Add Remove Programs - appwiz.cpl
Adobe Gamma - Adobe Gamma.cpl
Automatic Updates - wuaucpl.cpl
Bluetooth Configuration - btcpl.cpl
Time & date - timedate.cpl
Display - desk.cpl
Game Controllers - joy.cpl
Internet Options - inetcpl.cpl
Mouse Properties - main.cpl
Network Setup Wizard - netsetup.cpl
Phone and Modem Options - telephon.cpl
Power Options - powercfg.cpl
Regional and Language Options - intl.cpl
Sounds and Audio Device Properties - mmsys.cpl
System properties - sysdm.cpl
User Accounts - nusrmgr.cpl
Windows Firewall - firewall.cpl

****************************************************************
Share:

Search This Blog

Recent Posts