Searching For Text Inside of a File
First, go to your control panel and open the indexing options.
Now click on advanced and then file types in the new window. Find the extension of the file you would like to search the contents of and then click on the index properties and file contents radio button at the bottom of the window.The filter description column should automatically changed to whatever filter is used to open that filetype by default. If the filetype you are looking for is not in the list it means you do not have a program set as the default handler for that filetype. You can add the extension to the list and by default Windows Search will use a plain text filter to search the file contents. If you search for text inside one of the new filetypes it should now show up in your search results, once the index is doing being rebuilt. If you’d like to always search within file contents for a specific folder, navigate to the folder you want search contents for and click organize then folder and search options. Click on the search tab and then click the always search file names and contents radio button. The index will need to be rebuilt again and once it’s done your searches will automatically look in file content.Detailed information about all M.2 SSD form factors, including a large list of compatible Ultrabooks, notebooks and desktop systems.
This post is an attempt to dispel any confusion around the new M.2 SSD format, and has been developed as a resource for RamCity staff, customers and anyone else with an interest. A special mention needs to go Kent Smith of LSI. Thisblog post he wrote helped clarify some of the finer points contained here.
Installing Windows on the Samsung XP941 PCIe M.2 SSD
One of the most common questions we get is how to get Windows installed onto the Samsung XP941. Put simply, it can't be installed from the Windows DVD, but it is possible with these instructions.
M.2 SSD Form Factors
M.2 form factors vary in length and width, with the chips usually populating just one side of the circuit board to keep the drive profile extremely low (less then 3mm). Commercially available M.2 SSD drive lengths include 30mm, 42mm, 60mm, 80mm, and 110mm. These measurements are commonly expressed like '2242' (meaning 22mm wide, 42mm long), or '2280', meaning 22mm wide, and 80mm long.
It's all about the keys
A 'key' defines both the socket (female) and the plug-in card connector (male). In the context of an M.2 SSD, the key prevents the insertion of a connector into an incompatible socket to ensure the proper mating of the two. Currently the M.2 specification for SSDs uses just 2 out of 11 defined key configurations, with seven for use sometime in the future, and 2 used for other devices such as WLAN and Bluetooth adapters like the Intel 7260NGW wireless adapter.
An M.2 SSD socket can only have one type of key, but an M.2 SSD drive can have keyways cut for multiple keys if it supports those socket types. Key ID B (pins 12-19) gives PCIe SSDs up to two lanes (PCIe x2) of connectivity and key ID M (pins 59-66) provides PCIe SSDs with up to four lanes (PCIe x4) of connectivity and correspondingly higher performance. Note also that both B and M keys can accommodate SATA devices. All of the key patterns are different from one another so that the card has to be the right way up and cannot be inserted incorrectly.
Not all keys are the same
The rest of the information here will help you identify the type of M.2 key deployed in your system. However, since 'B' and 'M' type keys can support either PCIe or SATA signalling, knowing the key alone is not sufficient information to determine the correct M.2 SSD upgrade path for your system. You'll need to carefully study your system specifications manual to see if the socket is SATA or PCIe. Fortunately the limited number of M.2 SSD drives available does narrow the choices down somewhat. Further down we also have a list of known systems and the associated compatible M.2 SSD type it needs.
M.2 SSD Sockets
The table below shows the different types of M.2 SSD sockets found in M.2 compatible systems and motherboards:
M.2 (NGFF) Socket |
Socket for 'B' Key Edge Connector |
Socket for 'M' Key Edge Connector |
6 contacts wide | 5 contacts wide | |
Pin Position |
Pins 12-19
|
Pins 59-66
|
Supported Drive Type |
PCIe x2 / SATA
|
PCIe x4 / SATA
|
Typical Application |
PCIe x2 M.2 / SATA M.2
|
PCIe x4 M.2
|
M.2 SSD Drive Edge Connectors
The table below shows the different types of edge connectors deployed on different models of M.2 SSD Drives
M.2 (NGFF) Edge Connector |
'B' Key SSD Edge Connector |
'M' Key SSD Edge Connector |
'M' & 'B' Key SSD Edge Connector |
6 contacts wide | 5 contacts wide | 6 contacts wide5 contacts wide |
|
Pin Position |
Pins 12-19
|
Pins 59-66
|
Pins 59-66 (M) & Pins 12-19 (B)
|
Supported Drive Type |
PCIe x2 / SATA
|
PCIe x4 / SATA
|
PCIe x2 / PCIe x4 / SATA
|
Typical Application |
PCIe x2 M.2
|
PCIe x4 M.2
|
SATA M.2
|
M.2 SSD Models |
None that we know of
|
Samsung XP941 (PCIe x4)
|
MyDigitalSSD SuperCache 2 M.2 (SATA)
Crucial M500/M550 M.2 (SATA) Plextor M6e M.2 (PCIe x2) |
So which M.2 SSD Drive do I need?
If you are planning to upgrade your system with a larger or brand new M.2 SSD, you are going to need to figure out several things:
- Whether your system supports M.2 SATA or M.2 PCIe
- If it is M.2 PCIe, whether it's PCIe x2 or PCIe x4
- The type of key supported by the socket
- The maximum length of SSD drive supported (from 42mm up to 110mm)
Using the above tables and your system manual, you should be able to figure out which kind of drive you have now and the appropriate upgrade path. The information below can help narrow down the choices for you.
In the smaller capacities (128GB and under), the M.2 SATA 2242 is more common. In larger capacities, due to the additional surface area needed to fit more NAND chips, the M.2 SATA 2280 or M.2 PCIe x4 2280 drives are the norm. We've not yet seen a PCIe x2 M.2 drive in the wild as yet, except for Plextor M6e. However, this drive sells with an included PCIe adapter card to allow installation into a standard PCIe socket in a desktop PC (update 20/5/14 - 'bare' M6e M.2 SSD's expected to be available for sale in 3-4 weeks time). In theory, you could remove the M.2 SSD from the adapter card, but this would void your warranty from Plextor.
The picture below shows the edge connectors of two different types of currently available M.2 SSD Drives.
The one on the left is the Samsung XP941. It has a single 'M' key and is PCIe x4 based. The one on the right with two notches has both an 'M' key and a 'B' key and is SATA based (like the MyDigitalSSD SC2 or the Crucial M500 M.2).
Check the card length
Before purchasing an M.2 SSD, you should also check the length of the existing drive, as not all are created equal. TheMyDigitalSSD SC2 128GB M.2 SATA SSD is a '2242' drive, so it's 22mm wide, and 42mm long. That's the maximum length that M.2-capable motherboards like the ASUS Maximus Extreme VI can handle, and it fits a lot of laptops/netbooks as well. SATA based M.2 drives can also be installed in any desktop machine with a free PCIe slot (and a spare SATA port on the motherboard) using a SATA M.2 to PCIe adapter.
The Samsung XP941 PCIe M.2 SSD, apart from being PCIe x4 based, is a '2280' drive, so it's 22mm wide, but 80mm long. Currently it's only supported natively (and bootable) in a few different laptop models, as well as a growing number of Z97 and X99 chipset based motherboards (the first being the ASRock Z97 Extreme 6 motherboard), all 2006-2012 model Mac Pro towers, or you can install it in any desktop with a free PCIe slot using a PCIe M.2 to standard PCIe adapter (there is limited support for booting windows desktops using the PCIe adapter currently, but it works in all Mac Pro models).
M.2 SSD Compatible systems and motherboards
The following is a list of some of the most popular M.2 compatible models being used today. Please add your questions and comments at the bottom of the page and help us grow and maintain this list.
PCIe 80mm M.2 NGFF compatible systems (2280)
- Sony Vaio Pro 13 (requires PCIe x4 M.2 - Samsung XP941, and is bootable)
- 2006-2012 model Mac Pro Tower (only confirmed tested with the Samsung XP941, requires a PCIe M.2 to standard PCIe adapter, OSX Leopard or higher, and is bootable). Also compatible and bootable with Plextor M6e (which is an M.2 SSD, but permanently fixed to a standard PCIe adapter).
- HP Zbook 17 G2. Can be upgraded with the Samsung XP941 as confirmed by this Amazon review
- Lenovo Carbon X1 G3. Uses the new Samsung SM951, which is very much like the XP941, only PCIe 3.0. This machine also works with the XP941.
- HP EliteDesk 800 Desktop Mini G1 - tested and booting the XP941
- Clevo P650SE - tested and booting
- Intel NUC NUC5i5RYK (works and boots with XP941)
- Asus G771 (works and boots with XP941)
PCIe 80mm M.2 NGFF compatible motherboards (2280)
- Note, all below motherboards and others with a free PCIe 2.0 x2 or higher slot will work and boot with both thePlextor M6e PCIe SSD (which is an M.2 SSD permanently fixed to a standard PCIe adapter) or the Mushkin Scorpion Deluxe PCIe SSD.
- ASRock AMD Fatal1ty 990FX Killer Motherboard (supports PCIe 2.0 x2 / SATA M.2 and will work with theSamsung XP941 x4 SSD, but doesn't boot.)
- ASRock X99 Extreme6 and Deluxe
- ASRock Z97 Extreme6 (compatible with XP941 14/5/14, and boots)
- ASRock X99 Extreme 4 (bootable with XP941 according to an ASRock rep)
- ASRock X99m Killer Micro ATX. Fully supports XP941 according to this happy forum user.
- ASUS H97M-E Motherboard. Confirmed bootable with the Samsung XP941. Thanks to 'Tatarik' for confirming this.
- ASUS Maximus VI Impact Motherboard (supports PCIe 2.0 x1 / SATA M.2 - NO XP941) ***
- ASUS Maximus VII Gene Motherboard (M.2 socket disabled if a PCIe 2.0 x4 device is installed. Only 2-lane PCIe. Will boot and run XP941)
- ASUS Maximus VII Hero Motherboard (update 5/6/14 - At Computex 2014 in Taiwan, I spoke with ASUS representatives who said that all Z97 chipset motherboards with the dual PCIe/SATA-based M.2 socket will boot the Samsung XP941, but because the socket is only 2-lane, will max out at about 800MB/s.)
- ASUS Maximus VII Impact. Reported on this forum post to be compatible and bootable with the Samsung XP941.
- ASUS Maximus VII Ranger Z97 Motherboard. Reported by one of our customers to be bootable with the Samsung XP941 when installed in the Lycom DT-120 adapter. Requirements are to disable CSM and load intel raid drivers during the Windows installation.
- ASUS Z97 Deluxe Motherboard (see notes in the ASUS document here regarding booting the XP941 and other PCIe M.2 SSD's, and the excellent instructions here.)
- ASUS Z97 Pro Motherboard. The XP941 will boot in this motherboard in UEFI mode. Whilst ASUS is working on a BIOS patch to support legacy booting with the XP941, see the ASUS document and instructions above for the Z97 Deluxe for more information. Note, it seems the storage configuration settings relating to M.2 need to be set specifically to [M.2] and not just to [AUTO], in order to be able to boot the Samsung XP941.
- ASUS X99 Rampage V Extreme. This beastly motherboard fully supports the XP941 and allows 2x GPU's to run in SLI mode as well. See this forum post for details. Note, it seems the storage configuration settings relating to M.2 need to be set specifically to [M.2] and not just to [AUTO] to boot the Samsung XP941.
- EVGA X99 Classic and Micro model motherboards. Note, to install the XP941, you need to set the bios to UEFI boot rather than legacy.
- Gigabyte GA-Z97-D3H Motherboard. Samsung XP941 is bootable with these settings.
- Gigabyte Z97X-UD5H Motherboard (supports PCIe 2.0 x2, no data available yet on XP941 compatibility.
- MSI Z97 Gaming 7 Motherboard (has dual SATA/PCIe M.2 socket. No data available yet on compatibility of XP941 as of 20/5/14.
- MSI Z97 XPower AC Motherboard (has dual SATA/PCIe M.2 socket. Unknown if XP941 works.)
- MSI X99 motherboards. Update 22/9/14: Some users report the XP941 can boot in this board with the latest beta bios and by disabling XMP settings. See this forum post for more details.
- Other motherboards with a free PCIe slot using a M.2 to PCIe adapter will work with the Samsung XP941 (not usually bootable, but can use the drive as additional high speed storage). Most above motherboards and others with a free PCIe 2.0 x2 or higher slot will work and boot with both the Plextor M6e PCIe SSD (which is an M.2 SSD permanently fixed to a standard PCIe adapter) or the Mushkin Scorpion Deluxe PCIe SSD.
SATA 80mm M.2 NGFF compatible systems (2280)
- Samsung ATIV 9 Plus Ultrabook (e.g. model NP940X3G, NP930X5J)
- Lenovo ThinkPad X1 Carbon Gen 2 (new model released early 2014)
- Razer Blade 14 (2014 model)
- MSI GS60 Ghost Pro 3K and the GS70 Stealth Pro
- Sony Vaio Pro 11
- HP Folio 1040 G1
SATA 80mm M.2 NGFF compatible motherboards (2280)
- ASUS Maximus VI Impact Motherboard (has a dual PCIe 2.0 x1 M.2 / SATA M.2 socket)
- Other motherboards with a free PCIe slot using a SATA M.2 to PCIe adapter (Bootable)
SATA 60mm M.2 NGFF compatible systems (2260)
- ASUS Zenbook Touch UX31LA
- SONY Vaio Flip 13
SATA 42mm M.2 NGFF compatible systems (2242)
- Acer Chromebook: C720
- ASUS ROG: G750JH, G750JX
- HP Chromebook 14
- HP EliteBook: 820 G1, 840 G1, 850 G1
- HP ProBook: 430 G1, 640 G1, 650 G1
- Lenovo: G410, G510, G710, V4400u
- Lenovo IdeaPad: L440, L540, U330, U430, Y410p, Y510p*
- Lenovo ThinkPad: E431, E531, S531, S540, T431s, T440P, T440s, T540, T540p, W540, X240
- Lenovo ThinkPad Edge: E531, E540
- Lenovo ThinkPad Yoga
- SONY VAIO PRO 13 Series **
- SONY VAIO DUO 13 Series
* Some Lenovo IdeaPad models may ship without an M.2 connector, please check that your device has an M.2 connection before placing your order.
** Check your existing M.2 drive in the Sony Vaio Pro. If it's a Samsung XP941 model, then you have a PCIe based M.2 drive. See the picture at the top of the page for further information about PCIe vs SATA based M.2 SSD's.
*** This system supports only a PCIe x2 M.2 SSD, and likely will not work with a PCIe x4 M.2 SSD. It definitely doesn't work with the Samsung XP941.
SATA 42mm M.2 NGFF compatible PC Motherboards (2242)
- Asus Maximus Extreme VI (use to create a Hybrid-SSD-like cache for an existing drive or RAID array using Intel Smart Response Technology (SRT))
- Asus Maximus VI Formula
- ASUS Maximus VI Impact Motherboard (has a dual PCIe 2.0 / SATA M.2 socket)
- ASRock AMD Fatal1ty 990FX Motherboard (has dual function SATA/PCie M.2 slots)
- Any other motherboard with a free PCIe slot using an M.2 to PCIe adapter
The following is my How-To on Access-Based Enumeration.
The domain: marvel.local
The server: deadpool
(Shared Folder) - \\deadpool\userdata
\\deadpool\userdata\Beast
\\deadpool\userdata\Cyclops
\\deadpool\userdata\Havok
1. |
Create a top-level folder that you will shareCreate a folder that you will share. |
|
---|---|---|
2. |
Create Sub-foldersCreate additional folders under the folder that will eventually be shared. My example folders: Beast, Cyclops, Havok |
|
3. |
Share out userdata folderGo to the properties of the userdata folder. |
|
4. |
Disable Inheritance/Remove default permissionsGo to Properties of userdata |
|
5. |
Add "List folder / Read Data" permission to Shared folder ONLYWhile still in the permissions tab click "Add" |
|
6. |
Create Security GroupsAt this point create security groups that will be delegated Read/Write access to each folder.
|
|
7. |
Delegate access to foldersMy example: Cyclops Go to the properties of the folder |
|
8. |
Add user to Security GroupAt this point add a user to the security group that was granted modify access in previous step. |
|
9. |
Turn on Access Based EnumerationOpen Server Manager |
|
10. |
Test Access-based enumeration by logging inLogin as account and access the share. You should only see the folders that you have rights to read (through membership to a security group that has been granted rights to that particular folder) |
Conclusion
Access-based enumeration is about NTFS permissions that the Share actually cares about.
1. Core Leg Lift
Office work often resembles Sir Isaac Newton's First Law of Motion: An object at rest will remain at rest until acted upon by an external force. Though her work as a columnist requires her to spend hours at the computer, Yeager employs a number of subtle exercises to keep her muscles, and particularly her abdominals, engaged. "We need those little bursts of activity (throughout the day)," she said [source:Yeager].
One of Yeager's favorite office exercises is the core leg lift, which works the deep abdominal muscles, the quadriceps and the hip flexors. To try it:
- Sit up tall in your seat. Contract your abs and lift one foot off the floor about six inches, so the knee comes straight up with the foot directly underneath (maintaining a 90-degree bend in the knee).
- Hold for 10 seconds and slowly lower it while relaxing your abs.
- Repeat with the opposite leg.
- Alternate throughout the exercise.
2. Chair Suitcase
April Bowling, a Level 1 certified coach with USA Triathlon and owner of TriLife Coaching, knows a strong core improves performance in all three disciplines of swimming, cycling andrunning, in addition to overall fitness. The chair suitcase, she says, targets all the main abdominal muscles except the obliques. You'll need to:
- Sit on the edge of the chair seat and lean back until your upper back touches the back of the chair. Tuck your tailbone under, and hold onto the arms of the chair for support.
- Bring your knees up -- with your shins parallel to the floor -- so that your torso and thighs make an "open suitcase."
- Close the "suitcase" by bringing your chest and knees toward one another.
- Open and close for 10 to 20 repetitions, two to three sets.
The sole caveat, she says, is to maintain good posture and keep your back straight, supporting your upper body on the arm rests.
"You never want to arch your back," Bowling said. "As soon as your back begins to arch, it means you need to take a break and rest"
3. The Plank
According to Boston-based strength and conditioning coach Mike Boyle, who has worked with athletes ranging from national collegiate champions to Hollywood celebrities, the key to safe abdominal exercises is minimizing flexion.
"Sit-ups and crunches are not something you should be doing," he said [source: Boyle]. "They're probably contributing to more back issues than helping."
Instead, Boyle recommends doing planks, which require holding a static position on your elbows:
- On the floor, get into a position where you're on your toes and on your elbows, as if you're going to do a push-up from your elbows.
- Simply hold that position.
- Start with 10 seconds, and then gradually increase duration, being mindful of maintaining good form (primarily a straight back and straight legs).
To work your obliques, do a side plank. Start on your right side, on your right elbow, with your feet on the ground, holding steady, keeping the spine straight. Then switch to the left side.
Ready to ride your bike? Don't worry -- you're still not leaving your desk.
4. Seated Bicycle Pedal
The late, great Jack LaLanne, who passed away in January 2011 at the age of 96, was the original television fitness guru, and he enjoyed simple exercises that got big results. "You've got 640 muscles," LaLanne said in a 2008 interview [source:LaLanne]. "They all need a share of work."
For LaLanne, core strength set the tone for the rest of the body. Though a tireless advocate of weight training and swimming, LaLanne also was a big believer in isometrics, or using the body's own weight to provide resistance. One of his favorite exercises was the seated bicycle pedal:
- Sitting in your chair, scoot down to the edge of the seat.
- Support your upper body on the armrests.
- Pretend you're riding a bicycle, bringing each knee near the chest, keeping the abdominal muscles contracted.
- Concentrate on "pedaling" in smooth circles.
Variety, LaLanne said, was the key to making this, or any exercise, enjoyable. "Every 30 days, I do something different," he said. "So, for 30 days, I'll do everything real fast. The next 30 days, I'll do everything real slow."
According to Bowling, the most important element to doing the Seated Bicycle Pedal safely is to keep your back straight. "Tuck the tailbone to prevent arching," she said
5. Desk Russian Twist
To incorporate more of your office furniture, Bowling likes thedesk Russian twist, which also targets all the major coremuscle groups, but primarily the obliques.
You'll need to:
- Sit on your desk with your knees over the edge.
- Lean back to a 45-degree angle, or as far as you can while maintaining a neutral spine (no arch).
- Rotate your torso and touch the desk beside your right hip with both hands.
- Repeat to the left.
- Begin with 8 to 10 repetitions to each side, two to three sets.
Proper technique, like most core exercises, is essential in the Russian Twist. If you can get to that 45-degree angle without arching your back, great. If not, don't. The moment your back begins to arch, you need to come forward to a point where you can hold that angle.
Want more than these five ways to work your abs? Keep reading for bonus coverage.
There's no time of year we love to sleep in more than winter. Colder temps, shorter days, and a later sunrise make it all too tempting to stay in bed and put off the start of your day.
You may notice yourself relying on coffee more than ever to shake off the morning grogginess. Yet you still may find yourself feeling lethargic. In fact an estimated 54 percent of American adults drink at least a cup of coffee a day. And get this -- a survey of over 7,000 adults by Le Meridien Hotels found more people would choose coffee over sex first thing in the morning!
While we can't deny we love the soothing, crisp aroma, and get the bulk of ourantioxidants from our daily java jolt, the caffeine could actually be making you feel pretty lousy. Though caffeine serves up an initial dose of alertness, too much caffeinecan cause sleep disturbances, irritability, and even anxiety. So if you're on the hunt for something to perk you up without causing jitters or if you need to cut your costly Starbucks habit, here are some quick, easy ways to wake up without the coffee.
This works to remove bluetooth devices that fail to remove:
Try setting up your Windows 8 system so that ghosted / hidden devices appear in Device Manager. http://www.mytechguide.org/12179/remove-hidden-devices-from-windows/ (or see below if link has died).
Then, go to Device Manager, find the problematic bluetooth device, right click and hit uninstall. Then go to Devices in Windows 8, hit the (-) sign to remove. That should complete uninstall.
Before pairing bluetooth device again, ensure that bluetooth driver in Device Manager is Enabled.
How to display hidden device (ghosted) drivers in Windows?
By now, you already know Windows’ Device Manager (by default) doesn’t display ghosted devices. To show hidden devices in Device Manager, follow the simple steps below.
1. Click on Start to open the Start Menu.
2. Right-click on Computer and select Properties. (You can also use the keyboard shortcut Windows Key + Pause Break to open System.)
3. From the System window that opens, find and click on Advanced system settings from the left-side panel. This will open the System Properties dialog box.
4. In the System Properties dialog box, click on Environment Variables button. This will open another dialog box.
5. Now under the User variables for <YourUsername> box, click on New.
6. Type devmgr_show_nonpresent_device in the Variable Name field. Type 1 in the Variable Value field.
>
7. When you open Device Manager (type devmgmt.msc in Start search box and hit Enter) and select View > Show hidden devices, all the ghosted devices will be shown with their icons faded away.
“Anxiety is a normal, predictable part of life,” said Tom Corboy, MFT, the founder and executive director of theOCD Center of Los Angeles, and co-author of the upcoming book The Mindfulness Workbook for OCD.
However, “people with an anxiety disorder are essentially phobic about the feeling state of anxiety.” And they’ll go to great lengths to avoid it.
Some people experience generalized anxiety disorder (GAD), excessive anxiety about real-life concerns, such as money, relationships, health and academics, he said.
Others struggle with society anxiety, and worry about being evaluated or embarrassing themselves, he said. People with obsessive-compulsive disorder (OCD) might become preoccupied with symmetry or potential contamination, he said.
“The bottom line is that people can experience anxiety, and anxiety disorders, related to just about anything.”
Some people may not struggle with a clinical disorder, but want to manage sporadic (yet intrusive) bouts of anxiety and stress.
Whether you have occasional anxiety or a diagnosable disorder, the good news is that you can take small, effective and straightforward steps every day to manage and minimize your anxiety.
Most of these steps contribute to a healthy and fulfilling life, overall. For instance, “making some basic lifestyle changes can do wonders for someone coping with elevated anxiety,” Corboy said. Below, you’ll find 15 small steps you can take today.
1. Take a deep breath.
“Deep diaphragmatic breathing triggers our relaxation response, switching from our fight-or-flight response of the sympathetic nervous system, to the relaxed, balanced response of our parasympathetic nervous system,” according to Marla Deibler, PsyD, a clinical psychologist, executive director of The Center for Emotional Health of Greater Philadelphia and Psych Central blogger.
She suggested the following exercise, which you can repeat several times: Inhale slowly to a count of four, starting at your belly and then moving into your chest. Gently hold your breath for four counts. Then slowly exhale to four counts.
2. Get active.
“One of the most important things one can do [to cope with anxiety] is to get regular cardiovascular exercise,” Corboy said. For instance, a brisk 30- to 60-minute walk “releases endorphins that lead to a reduction in anxiety.”
You can start today by taking a walk. Or create a list of physical activities that you enjoy, and put them on your schedule for the week. Other options include: running, rowing, rollerblading, hiking, biking, dancing, swimming, surfing, step aerobics, kickboxing and sports such as soccer, tennis and basketball.
3. Sleep well.
Not getting enough sleep can trigger anxiety. If you’re having trouble sleeping, tonight, engage in a relaxing activity before bedtime, such as taking a warm bath, listening to soothing music or taking several deep breaths. (You’ll find more tips here.)
And, if you’re like many people with anxiety whose brains start buzzing right before bed, jot down your worries earlier in the day for 10 to 15 minutes, or try a mental exercise like thinking of fruits with the same letter. (Find more suggestions here.)
4. Challenge an anxious thought.
“We all have moments wherein we unintentionally increase or maintain our own worry by thinking unhelpful thoughts. These thoughts are often unrealistic, inaccurate, or, to some extent, unreasonable,” Deibler said.
Thankfully, we can change these thoughts. The first step is to identify them. Consider how a specific thought affects your feelings and behaviors, Deibler said. Is it helpful or unhelpful?
Unhelpful thoughts usually come in the form of “what ifs,” “all-or-nothing thinking,” or “catastrophizing,” Deibler said. She gave these examples: “What if I make a fool of myself?” “What if I fail this exam?” or “What if this airplane crashes?”
These are the types of thoughts you want to challenge. Deibler suggested asking yourself:
“Is this worry realistic?” “Is this really likely to happen?” “If the worst possible outcome happens, what would be so bad about that?” “Could I handle that?” “What might I do?” “If something bad happens, what might that mean about me?” “Is this really true or does it just seem that way?” “What might I do to prepare for whatever may happen?”
Then, “reframe or correct that thought to make it more accurate, realistic and more adaptive.” Here’s one example: “I would feel embarrassed if I tripped on the stage, but that’s just a feeling; it wouldn’t last forever, and I would get through it.”
5. Say an encouraging statement.
Positive, accurate statements can help to put things into perspective. Deibler gave these examples: “Anxiety is just a feeling, like any other feeling.” and “This feels bad, but I can use some strategies to [cope with] it.”
6. Stay connected to others.
“Social support is vital to managing stress,” Deibler said. Today, call a loved one, schedule a Skype date or go to lunch with a close friend. “Talking with others can do a world of good.” Another option is to get together and engage in an activity that improves your anxiety, such as taking a walk, sitting on the beach or going to a yoga class.
7. Avoid caffeine.
Managing anxiety is as much about what you do as what you don’tdo. And there are some substances that exacerbate anxiety. Caffeine is one of those substances. As Corboy said, “The last thing people with anxiety need is a substance that makes them feel more amped up, which is exactly what caffeine does.”
8. Avoid mind-altering substances.
“While drugs and alcohol might help to reduce anxiety in the short term, they often do just the opposite in the long term,” Corboy said. Even the short-term effect can be harmful.
Corboy and his team have treated countless clients whose first panicattack occurred while they were taking drugs such as marijuana, ecstasy or LSD. “Panic attacks are bad enough if you are straight and sober, so imagine how bad they are if you are high, and can’t get un-high until the drug wears off.”
9. Do something you enjoy.
Engaging in enjoyable activities helps to soothe your anxiety. For instance, today, you might take a walk, listen to music or read a book, Deibler said.
10. Take a break.
It’s also helpful to build breaks into your day. As Deibler said, this might be a “simple change of pace or scenery, enjoying a hobby, or switching ‘to-do’ tasks.” “Breaking from concerted effort can be refreshing.”
11. Problem-solve.
Deibler suggested considering how you can address the stressors that are causing your anxiety. Today, make a list of these stressors and next to each one, jot down one or two solutions.
12. Pick up a book.
There are many valuable resources on anxiety, which teach you effective coping skills. Corboy recommended Dying of Embarrassmentfor people with social anxiety; The BDD Workbook for body dysmorphic disorder; The Imp of the Mind and The OCD Workbook for obsessive-compulsive disorder. Deibler suggested Stop Obsessing for adults with OCD (and Up and Down the Worry Hill for kids with OCD).
For people with panic attacks, she suggested Don’t Panic: Taking Control of Anxiety Attacks. For a general overview of cognitive-behavioral therapy for anxiety, Corboy recommended The Anxiety and Phobia Workbook. He also recommended Get Out of Your Mind and Into Your Life and The Wisdom of No Escape.
(You can find more book recommendations at Corboy’s website.)
13. Engage in calming practices.
According to Corboy, “meditation, yoga, or other calming practices can help minimize anxiety in both the short and long term.” Sign up for a yoga class or watch a yoga video online. (Curvy Yoga is a wonderful resource for yoga for all shapes and sizes.) Meditate right now for just three minutes. (Here’s how.)
14. Contact a therapist.
“Sometimes anxiety can be difficult to manage without professional help,” Deibler said. Many organizations include databases of providers who specialize in anxiety (along with helpful information). She suggested these organizations: www.ocfoundation.org, www.adaa.organd www.abct.org.
15. Accept your anxiety.
“If you really want to effectively manage your anxiety, the key is to accept it,” Corboy said. This might sound counterintuitive. But anxiety, “in and of itself,” isn’t the real problem. Instead, it’s our attempts at controlling and eliminating it, he said. “Not accepting these unwanted inner experiences is the actual source of so much of our self-induced suffering.”
Accepting anxiety doesn’t mean “resign[ing] ourselves to a life of anxious misery. It simply means that we are better off recognizing and fully accepting the existence of anxiety and other uncomfortable emotional states that are inevitable, but transitory,” Corboy said.
So if you experience anxiety today, simply observe it, Deibler said. “Think of it like a wave of the ocean; allow it to come in, experience it, and ride it out.”
Anxiety can feel overwhelming. It can feel like chains around your feet, weighing you down. But by taking small steps – like the ones above – you can minimize your anxiety and cope effectively.
This topic describes how you can regain access to the SQL Server Database Engine as a system administrator. A system administrator can lose access to an instance of SQL Server because of one of the following reasons:
-
All logins that are members of the sysadmin fixed server role have been removed by mistake.
-
All Windows Groups that are members of the sysadmin fixed server role have been removed by mistake.
-
The logins that are members of the sysadmin fixed server role are for individuals who have left the company or who are not available.
-
The sa account is disabled or no one knows the password.
One way in which you can regain access is to reinstall SQL Server and attach all the databases to the new instance. This solution is time-consuming; and, to recover the logins, it might require restoring the master database from a backup. If the backup of the master database is older, it might not have all the information. If the backup of the master database is more recent, it might have the same logins as the previous instance; therefore, administrators will still be locked out.
Start the instance of SQL Server in single-user mode by using either the -m or -f options. Any member of the computer's local Administrators group can then connect to the instance of SQL Server as a member of the sysadmin fixed server role.
Note |
---|
When you start an instance of SQL Server in single-user mode, first stop the SQL Server Agent service. Otherwise, SQL Server Agent might connect first and prevent you from connecting as a second user. |
When you use the -m option with sqlcmd or SQL Server Management Studio, you can limit the connections to a specified client application. For example, -m"sqlcmd" limits connections to a single connection and that connection must identify itself as the sqlcmd client program. Use this option when you are starting SQL Server in single-user mode and an unknown client application is taking the only available connection. To connect through the Query Editor in Management Studio, use -m"Microsoft SQL Server Management Studio - Query".
Security Note |
---|
Do not use this option as a security feature. The client application provides the client application name, and can provide a false name as part of the connection string. |
For step-by-step instructions about how to start SQL Server in single-user mode, see Configure Server Startup Options (SQL Server Configuration Manager).
The following instructions describe the process for connecting to SQL Server 2012 running on Windows 8. Slight adjustments for earlier versions of SQL Server or Windows are provided. These instructions must be performed while logged in to Windows as a member of the local administrators group, and they assume that SQL Server Management Studio is installed on the computer.
-
From the Start page, start SQL Server Management Studio. On the View menu, select Registered Servers. (If your server is not already registered, right-click Local Server Groups, point to Tasks, and then click Register Local Servers.)
-
In the Registered Servers area, right-click your server, and then click SQL Server Configuration Manager. This should ask for permission to run as administrator, and then open the Configuration Manager program.
-
Close Management Studio.
-
In SQL Server Configuration Manager, in the left pane, select SQL Server Services. In the right-pane, find your instance of SQL Server. (The default instance of SQL Server includes (MSSQLSERVER) after the computer name. Named instances appear in upper case with the same name that they have in Registered Servers.) Right-click the instance of SQL Server, and then click Properties.
-
On the Startup Parameters tab, in the Specify a startup parameter box, type -m and then click Add. (That's a dash then lower case letter m.)
Note For some earlier versions of SQL Server there is no Startup Parameters tab. In that case, on the Advanced tab, double-click Startup Parameters. The parameters open up in a very small window. Be careful not to change any of the existing parameters. At the very end, add a new parameter ;-m and then click OK. (That's a semi-colon then a dash then lower case letter m.)
-
Click OK, and after the message to restart, right-click your server name, and then click Restart.
-
After SQL Server has restarted your server will be in single-user mode. Make sure that that SQL Server Agent is not running. If started, it will take your only connection.
-
On the Windows 8 start screen, right-click the icon for Management Studio. At the bottom of the screen, select Run as administrator. (This will pass your administrator credentials to SSMS.)
Note For earlier versions of Windows, the Run as administrator option appears as a sub-menu.
In some configurations, SSMS will attempt to make several connections. Multiple connections will fail because SQL Server is in single-user mode. You can select one of the following actions to perform. Do one of the following.
-
Connect with Object Explorer using Windows Authentication (which includes your Administrator credentials). Expand Security, expand Logins, and double-click your own login. On the Server Roles page, select sysadmin, and then click OK.
-
Instead of connecting with Object Explorer, connect with a Query Window using Windows Authentication (which includes your Administrator credentials). (You can only connect this way if you did not connect with Object Explorer.) Execute code such as the following to add a new Windows Authentication login that is a member of the sysadmin fixed server role. The following example adds a domain user named CONTOSO\PatK.
CREATE LOGIN [CONTOSO\PatK] FROM WINDOWS; ALTER SERVER ROLE sysadmin ADD MEMBER [CONTOSO\PatK];
-
If your SQL Server is running in mixed authentication mode, connect with a Query Window using Windows Authentication (which includes your Administrator credentials). Execute code such as the following to create a new SQL Server Authentication login that is a member of the sysadmin fixed server role.
CREATE LOGIN TempLogin WITH PASSWORD = '************'; ALTER SERVER ROLE sysadmin ADD MEMBER TempLogin;
Caution Replace ************ with a strong password.
-
If your SQL Server is running in mixed authentication mode and you want to reset the password of the sa account, connect with a Query Window using Windows Authentication (which includes your Administrator credentials). Change the password of the sa account with the following syntax.
ALTER LOGIN sa WITH PASSWORD = '************';
Caution Replace ************ with a strong password.
-
-
The following steps now change SQL Server back to multi-user mode. Close SSMS.
-
In SQL Server Configuration Manager, in the left pane, select SQL Server Services. In the right-pane, right-click the instance of SQL Server, and then click Properties.
-
On the Startup Parameters tab, in the Existing parameters box, select -m and then click Remove.
Note For some earlier versions of SQL Server there is no Startup Parameters tab. In that case, on the Advanced tab, double-click Startup Parameters. The parameters open up in a very small window. Remove the ;-m which you added earlier, and then click OK.
-
Right-click your server name, and then click Restart.
Now you should be able to connect normally with one of the accounts which is now a member of the sysadmin fixed server role.
sometimes when migrating the domain from one domain to a new domain , you have to export all the DNS records from the source domain and import them into the target domain.
Here is a quick way of doing it:
Part A – Export the DNS records from the source server.
on the source DNS server
1.open DNS managment.
2.right click on the relevant zone->export list
3.save the file , and copy it to the target server.
The output should look like this
in this example i would want to export only the static DNS records, so i will filter column D and leave only the static records.
Part B – Import the static entries into the target server
1.We will use DNSCMD to import the DNS entries we exported in Part A.
2.Open the file you saved in step A, in Excel
3.Delete any of the rows that you dont need – i left only the static entries.
4.Right click on Colum A and choose “Insert”.
5.Enter DNSCMD in A1 cell and copy it all the way down.
6.Right-click on Column B and choose “Insert”
7.Enter the target DNS Server’s name/FQDN/IP on cell B1 and copy it all the way down
8.Right-click on Column C and choose“Insert”
9.Enter ‘/recordadd on cell C1 and copy it all the way down (need the apostrophe otherwise excel will get angry about the /)
10.Right-click on Column D and choose “Insert”
11.Enter the zone name on cell D1 and copy it all the way down
12.Sort the sheet by column F and change the records on this column to the type you need.
13.replace Host(A) -> A
14.delete column H.
15.save the file as a CSV file and open it on notepad
16.Save the file as a CSV
17.Do a search-replace on , and replace it with a space
18.save the file as bat file. make sure that there is only a single space between each word:
19.Finally :Use Run as to open a dos command prompt with DNS privilidges in the target domain
one more note:
if you want to copy the records from a sub-zone the syntax should be slightly different, you need to add to the host name a dot with the sub-zone name ,
for example , if i want to add a record for a host named pc01.mysubzone.bb.local , the syntax would be
DNSCMD 192.168.1.22 /recordadd bb.local pc01.mysubzone A 10.150.30.17