[[["์ดํดํ๊ธฐ ์ฌ์","easyToUnderstand","thumb-up"],["๋ฌธ์ ๊ฐ ํด๊ฒฐ๋จ","solvedMyProblem","thumb-up"],["๊ธฐํ","otherUp","thumb-up"]],[["์ดํดํ๊ธฐ ์ด๋ ค์","hardToUnderstand","thumb-down"],["์๋ชป๋ ์ ๋ณด ๋๋ ์ํ ์ฝ๋","incorrectInformationOrSampleCode","thumb-down"],["ํ์ํ ์ ๋ณด/์ํ์ด ์์","missingTheInformationSamplesINeed","thumb-down"],["๋ฒ์ญ ๋ฌธ์ ","translationIssue","thumb-down"],["๊ธฐํ","otherDown","thumb-down"]],["์ต์ข ์ ๋ฐ์ดํธ: 2024-12-21(UTC)"],[],[],null,["# Disable or reset Cloud Shell\n\nThis page describes how to disable Cloud Shell for managed user accounts\nand how to reset Cloud Shell.\n\nDisable Cloud Shell for managed user accounts\n---------------------------------------------\n\nTo disable Cloud Shell for\n[Google Workspace](https://support.google.com/a/answer/4352075) and\n[Cloud Identity](https://support.google.com/a/answer/7319251)\nmanaged user accounts, go to the\nGoogle Admin console and then navigate to\n**Apps** \\\u003e **Additional Google services** \\\u003e **Google Cloud Platform** \\\u003e\n**Cloud Shell Settings**\nand disable **Cloud Shell Access Settings**.\n\nTo disable Cloud Shell for specific users, you'll need to use access\ngroups: add individual users to the group and turn off the group's\nCloud Shell access setting. For more information, see\n[Controlling who uses Google Cloud in your organization guide](https://support.google.com/a/answer/9197205).\n\nReset Cloud Shell\n-----------------\n\nTo reset Cloud Shell and restore your Cloud Shell home\ndirectory to a clean state, follow these steps.\n| **Note:** Before resetting your Cloud Shell home directory, consider using [Safe mode](/shell/docs/how-cloud-shell-works#safe_mode) to sign in as root and fix issues with your files.\n\nTo restore your Cloud Shell home directory to a clean state:\n\n1. Check for personal files in the home directory and note that the next step\n deletes these files:\n\n ```sh\n ls -a $HOME\n ```\n2. Remove all files from your home directory:\n\n **Important:** This will permanently delete all files in your home directory. \n\n ```sh\n sudo rm -rf $HOME\n ```\n3. In the Cloud Shell menu, click\n more_vert **More** and then click\n power_settings_new **Restart** .\n If prompted, click **Restart** in the confirmation dialog.\n\n This provisions a new VM and restores the home directory to its default state."]]