{"id":2180,"date":"2020-09-23T21:00:52","date_gmt":"2020-09-23T19:00:52","guid":{"rendered":"https:\/\/www.mosi.at\/ikt\/?p=2180"},"modified":"2020-09-23T21:39:03","modified_gmt":"2020-09-23T19:39:03","slug":"mit-powershell-windows-10-trim-funktion-kontrollieren-aktivieren","status":"publish","type":"post","link":"https:\/\/www.mosi.at\/ikt\/2020\/09\/23\/mit-powershell-windows-10-trim-funktion-kontrollieren-aktivieren\/","title":{"rendered":"Mit Powershell: Windows 10: Trim-Funktion kontrollieren \/ (de)aktivieren"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>TRIM <\/strong>ist ein spezieller ATA-Befehl, mit dem das Betriebssystem einem Solid-State-Laufwerk (SSD) mitteilt, welche Datenbl\u00f6cke nicht mehr verwendet werden. Diese werden in der Folge intern gel\u00f6scht und werden so zum wieder beschreiben frei. F\u00fcr die Lebensdauer von SSDs ist  entscheidend, dass TRIM aktiv ist.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Kontrolle ob TRIM aktiv ist<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Powershell als Administrator starten und folgenden Befehl zur Ausf\u00fchrung bringen:<br><strong>fsutil behavior query DisableDeleteNotify<\/strong><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PS C:\\admin\\!PS1> fsutil behavior query DisableDeleteNotify                                                             NTFS DisableDeleteNotify = 0  (Deaktiviert)\nReFS DisableDeleteNotify = 0  (Deaktiviert)\nPS C:\\admin\\!PS1>  <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">0 bedeutet TRIM ist aktiv. Es ist nichts zu tun.<br>1 bedeutet TRIM ist inaktiv! TRIM sollte zur Verl\u00e4ngerung der Lebensdauer der SSDs aktiviert werden!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TRIM aktivieren<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Powershell als Administrator starten und folgenden Befehl zur Ausf\u00fchrung bringen:<br><strong>fsutil behavior set DisableDeleteNotify 0<\/strong><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PS C:\\admin\\!PS1> fsutil behavior set DisableDeleteNotify 0                                                             NTFS DisableDeleteNotify = 0  (Deaktiviert)\r\nPS C:\\admin\\!PS1>     <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">TRIM aktivieren f\u00fcr ReFS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Powershell als Administrator starten und folgenden Befehl zur Ausf\u00fchrung bringen:<br><strong>fsutil behavior set DisableDeleteNotify ReFS 0<\/strong><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PS C:\\admin\\!PS1> fsutil behavior set DisableDeleteNotify ReFS 0                                                        ReFS DisableDeleteNotify = 0  (Deaktiviert)\r\nPS C:\\admin\\!PS1>     <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">TRIM aktivieren f\u00fcr NTFS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Powershell als Administrator starten und folgenden Befehl zur Ausf\u00fchrung bringen:<br><strong>fsutil behavior set DisableDeleteNotify NTFS 0<\/strong><br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PS C:\\admin\\!PS1> fsutil behavior set DisableDeleteNotify NTFS 0                                                        NTFS DisableDeleteNotify = 0  (Deaktiviert)\r\nPS C:\\admin\\!PS1>     <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TRIM ist ein spezieller ATA-Befehl, mit dem das Betriebssystem einem Solid-State-Laufwerk (SSD) mitteilt, welche Datenbl\u00f6cke nicht mehr verwendet werden. Diese werden in der Folge intern gel\u00f6scht und werden so zum wieder beschreiben frei. F\u00fcr die Lebensdauer von SSDs ist entscheidend, dass TRIM aktiv ist. Kontrolle ob TRIM aktiv ist Eine Powershell als Administrator starten und [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1899,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_front_end_style_editor":"no","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","osp_disable_panel":"default","osh_disable_topbar_sticky":"default","osh_disable_header_sticky":"default","osh_sticky_header_style":"default","osh_sticky_header_effect":"","osh_custom_sticky_logo":0,"osh_custom_retina_sticky_logo":0,"osh_custom_sticky_logo_height":0,"osh_background_color":"","osh_links_color":"","osh_links_hover_color":"","osh_links_active_color":"","osh_links_bg_color":"","osh_links_hover_bg_color":"","osh_links_active_bg_color":"","osh_menu_social_links_color":"","osh_menu_social_hover_links_color":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[9,11,20,18,10,16,24,96],"tags":[],"class_list":["post-2180","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-__news","category-betriebssysteme","category-power-shell","category-scripts","category-software","category-windows","category-windows-10","category-windows-10-home","entry","has-media"],"_links":{"self":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/comments?post=2180"}],"version-history":[{"count":5,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2180\/revisions"}],"predecessor-version":[{"id":2186,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2180\/revisions\/2186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/media\/1899"}],"wp:attachment":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/media?parent=2180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/categories?post=2180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/tags?post=2180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}