Windows Server 2008





Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.

Share tech news, updates, or what's on your mind.

Sign up to Post

Using netstat I can use commands like this to find out how many ports are in use
netstat -a -n | find /c "4455"

What i need is a cmd to list all in use ports, and their count
port 4455: 1800 connections
port 4456: 100 connections

either a cmd or a windows app is fine

What are my options?
Has Powershell sent you back into the Stone Age?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Hi Experts,

Is there a way to import xenapp applications from one farm to another? Existing farm is on xenapp 7.12 windows 2008 server, new farm is on xenapp 7.18 windows server 2016,  please advise .
Hello Experts,

We've created remote desktop users in windows server 2012 R2 Standard & every user have an own folder in D: drive, how to restrict to folder access to user among themselves along with d: drive. Only one folder everyone can access e.g. D:\FTP.


Remote User            Folder in D:\            Allowed Access            Restrict Access

administrator      N/A                        Complete D:\            N/A
Philips                  Philips                  Philips                        Dell, Root, Wendy, Manager
Dell                          Dell                        Dell                                Philips, Root, Wendy, Manager
Root                  Root                  Root                        Philips, Dell, Wendy, Manager
Wendy                  Wendy                  Wendy                        Philips, Dell, Root, Manager
Manager              Manager            Manager                  Philips, Dell, Root, Wendy
N/A                        FTP                        ALL Users                  N/A
Hi guys

We have an Exchange 2010 environment on Windows 2008 R2.

How do you export all of the mailboxes, their usernames/aliases but also the organisational unit that their usernames are part of into a CSV?

You already helped me export the mailboxes and their usernames, which worked great. I would like to add organisational units into that CSV also, is this possible?

Thanks for helping
I am trying to backup data on 3 servers
1 server is a Windows 2008 r2 (this is a physical box)
2 of servers are 2012 r2 (each of these servers  are on a separate virtual host)

I am looking just to backup each of these servers on their VM Host
All three servers have SQL databases - One is a domain controller
I am talking about a total  of  one TB of data

We have a large MY Cloud Pro NAS Box that I would like to backup to locally and possibly send the data to the cloud- I am still unsure but  I would like to store the data locally  in this building but it also has to be stored somewhere else since  the building could  burn down
I do not have a big budget

Can someone give me some hints on what I can do

 The place I work has another  branch.   Would it be a possibility to put  another NAS box at the branch and  instead of sending the data  to a cloud server send the data from the NAS that is local to the  one we would purchase at the branch

I really need some help

I am looking for  backup software ideas- Also, would it be better to store a copy of the backup in the cloud or do you think putting a NAS in the other branch  would be better?
How could I get the data to move between the NAS boxes?
We are running 2008 R2
I need to setup a way so that users when they are in the office get the proxy settings so they can get to the internet but when they are out of the office, the proxy settings are removed.
I have it setup now with GPO but cant seem to get it to remove the settings when the users logout and leave the office. It stays enabled and then they cant get to the internet until they come back into the office.
If any knows the best way to set this up, we really need to get this going?
Some have said to setup WPAD I think, but not sure and don't know anything about it.
Any help would be greatly appreciated.
I updated Exchange 2010 server(CAS/HUB). I saw Event ID 36887 is logged after that. Attached screenshot.

The following fatal alert was received: 46.

Windows 10 workstation on a Windows Server 2008 R2 domain.  Using Home folders.  15 users all working fine.  Home Folders (My Docs, My Pics, etc) are all redirected to a shared Users folder on the server with each users folders being Users\User1\My docs, Users\User2\my Docs, etc.  One user was working fine for months, but all of a sudden he gets an error that he doesn't have permission to access the folder.  He has access to the Server computer, can ping it and navigate to the server and it's other shares from the File Explorer, can even open the Users folder, and a miscellaneous file that is in his Users\User1 folder, BUT CANNOT access his Home Folders.
-I signed him into another computer on the domain network, and he has full normal access to his home folders on the other network computer.
-I have not yet tested whether a different user on his computer will have access to their home folders when signing in from his computer.

-No other users have reported any problems and one other user has reported her home folders are definitely working fine, as usual. I have restarted the problem computer, additionally shared the Users folder to this specific user, and lowered his user account control settings to none (but have not restarted since the lowering) this time he is still receiving a no permission to access error on the problem machine.

What is wrong in 1st attached screenshot? I send one mail and have got no failure (see 2nd attached file), in Telnet, but I cannot get the Mail. Where is the problem?
Is there any better Anti-virus tool in Windows server? In the attached screenshot, would Clamwin further totally remove the virus or not?
Creating Active Directory Users from a Text File
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Hi. I have a question regarding a predictive failure on a RAID 1 drive on a Dell Poweredge T620. The specifics are that the T620 hosts 2 server VMs, and has a RAID 1 and RAID 5 array, A drive in RAID 1 indicated a predictive failure, and I'm wondering the viability of adding a new drive (NOT the same model as this server is out of warranty), that is a 600GB drive replacing this failing 300GB drive. Is it possible to plug in the new drive, initilize it via the BIOS, then set it up as a hot spare so that the array rebuilds itself using the new drive? If this is possible, do I have to manually use Dell Openmanage to tell the old drive to turn off (it seems to have options for that), or will it automatically rebuild the array upon detecting the failing drive? Thanks.

The main concern is if using a different drive is possible. Is using a larger one okay? I want to hopefully minimize downtime.
Microsoft AAD Sync Services and Processes taking a lot of resources on SBS 2011 server.

I did delete a recent update from the weekend related to microsoft .net framework.  The rollback did not help after restarting the server.picture of azure sync service with high resources
I have searched the internet and don’t k now if there is a solution to a problem we are facing.

We have received Windows 2008 Sever backup images from a customer.  
These images are rather large. Some are 540 GB and some over 1 TB.  

We need to covert the images to VMware ESXi 6.0 VMs.  

However, we are currently restricted by datastore space.  
The most we have available is possibly 500 GB.

We cannot connect another drive at this point or add an external USB drive.  

We are guessing that backups don’t reflect what the actual total size may be.
Possible only 20 GB of space is actually used.

Is there a way to shrink a Windows Backup Image?

I know in VMware converter, you can shrink a volume, but we cannot build a VM and attach a converted image (vmdk via Starwind Converter) as the space is limited.

consumed the most virtual memory: sqlservr.exe (1688) consumed 68628185088 bytes, I got this msg, server hang 2 twice , since yesterday and restarted the whole server from VC
Early the sql memory was configured was max default setting

and now I have have configured SQL sever 54488 MB SQL Max server memory(MB) currently.

after i have run full backup, the whole memory was consumed was already..sp_who2.xlsx

Not sure, wht is the issue, what needs to check

windows 2008 r2 enterprise,  has 64gb ram
sql server std 2008 r2
Single instance, db size is 485gb, full backup size is 78gb

the below query and attached file, is the output after few hours of backup completed

Physical Memory (MB)       Available Memory (MB)      Total Page File (MB)      Available Page File (MB)      System Cache (MB)      System Memory State
65535                                             6312                                    69629                           9970                                             3652          Available physical memory is high

My Domain controller is giving me the following error VIA dcdiag:

Directory Server Diagnosis

Performing initial setup:

   Trying to find home server...

   * Verifying that the local machine SRADCFS, is a Directory Server.
   Home Server = SRADCFS

   * Connecting to directory service on server SRADCFS.

   * Identified AD Forest.
   Collecting AD specific global data
   * Collecting site info.

   Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=SRA,DC=LOCAL,LDAP_SCOPE_SUBTREE,(objectCategory=ntDSSiteSettings),.......
   The previous call succeeded
   Iterating through the sites
   Looking at base site object: CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=SRA,DC=LOCAL
   Getting ISTG and options for the site
   * Identifying all servers.

   Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=SRA,DC=LOCAL,LDAP_SCOPE_SUBTREE,(objectClass=ntDSDsa),.......
   The previous call succeeded....
   The previous call succeeded
   Iterating through the list of servers
   Getting information for the server CN=NTDS Settings,CN=SRADCFS,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=SRA,DC=LOCAL
   objectGuid obtained
   InvocationID obtained
   dnsHostname obtained
   site info obtained
   All the info for the server collected
   * Identifying all NC cross-refs.

   * Found 1 DC(s). Testing 1 of them.

   Done gathering initial info.

Doing initial required …
Hi guys ,
i need to create a batch file.
i got a file in c\windows\syswow64\xxx.ocx

i need to run this command at the computer startup each time.
regsvr32 xxx.ocx       - so it registers in registry

if i can create a batch file, i can make it to run at startup.  but i want to know. how to create a batchfile to make this command run "regsvr32 xxx.ocx" and xxx.ocx is in " c\windows\syswow64\xxx.ocx"

any help would be great.
I want to buy: a 4bay qnap server, but wish to confirm, How can I configure the device as a SCSi storage attached to a Windows Server.

Will this process work for it:   ?
Ihave windows 2008 r2 server. The C drive is getting full and i need to create space for any future installations etc. I noticed there is a folder known as "software distribution" and in that there is a folder known as "DOWNLOADS" in C\WINDOWS\SOFTWAREDISTRIBUTION\DOWNLOADS.

This folder is about 20 Gb. Can i delete the contents in this folder? if yes... how to proceed with cleaning this folder.. any steps to be taken? i am worried that i might delete something important from this folder...

other than the above any other ideas as how to free up space on server 2008 r2.

Is there one example in SharePoint list that one date change would trigger one defined alert automatically? For instance, I put deadline column to beJuly18, and after two days, alert message would be automatically sent out.
Problems using Powershell and Active Directory?
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

I have a virtual 2008 (SBS2008) server and keep having issues with searches to shares on this server. Either the search results come very slowly or they are missing entries. We use network drives to connect from the workstations.

I've installed the Windows Search on the server which allows me to see the indexing status. It seems like whenever we have search issues, the server is indexing. Sometimes I can stop it and rebuild, which takes days, and then it works fine for about a month or so. But eventually it hits the same point.

Has anyone seen this or know what is causing it? I couldn't find any relevant errors. Some sources say not to use Windows Search but when I disable it, it all seems even worse.

Just now, when I paused the indexing I couldn't resume it. I noticed the indexing total number had been sitting at the same number for at least 5 minutes. There was no option to do so and Pause was still listed and grayed out. Restarting the Windows Search service got it to resume but I received several of these errors. I am unsure if they were caused by the service restart or not. The number of indexed items started increasing again after restarting the service.

The entry <path to a file> in the hash map cannot be updated.

Context:  Application, SystemIndex Catalog

      A device attached to the system is not functioning.   (0x8007001f)

Any ideas?
Hi am experiencing problems since applying the July Microsoft Updates to my Exchange environments.

I have two separate production Exchange/AD environments experiencing is Exchange 2010 on Windows Server 2008 R2 (in a DAG configuration) and the other is Exchange 2007 on Windows Server 2008 R2 (single server).

Both environments were operating fine until applying the July 2018 Microsoft updates. Since then, when I receive Event ID 16002 and Event ID 16022 every six hours, the Microsoft Exchange Transport Service hangs and mail stops flowing. If I try to restart the Transport service, it does not respond and I have to reboot the server to regain mail flow.

Event ID 16022 appears 7 times when the Transport Service hangs, with the following different messages:
* A configuration update for Microsoft.Exchange.Transport.TransportServerConfiguration has successfully completed.
* A configuration update for Microsoft.Exchange.Transport.X400AuthoritativeDomainTable has successfully completed.
* A configuration update for Microsoft.Exchange.Transport.RemoteDomainTable has successfully completed.
* A configuration update for Microsoft.Exchange.Transport.AcceptedDomainTable has successfully completed.

These messages were being logged before the problem started, but the timing of them in the logs coincides with the failures (every 6 hours).

Is anyone else experiencing this problem since the July update?

Note: I have also a third separate Exchange 2013 …
Hi All,

I wanted to know how to audit Active Directory's setup in determining where a security group has been configured? Preferably using a Windows tool or a Microsoft product. This is on a Server 2003/2008-R2.

Thanks In advance
We are trying to activate a Windows 2008 R2 Enterprise Server and Windows keeps responding that that MAK product key is invalid and we know in fact is not. Microsoft is absolutely no help in the matter and wants a few hundred dollars just to talk.  We are using the command:

slmgr.vbs /ipk xxxxxx

It returns a 0XC004F050 The software licensing service has reported the product key is invalid

The key use in the install was a generic kms key and trying to switch it to the correct MAK one. We tried updating the registry so it does not do an automatic activation but that did not help either. Thank you
Dear Wizards, we are setting a iRedmail Server (Ubuntu v16) and would like to synchronize all mail accounts to an AD server (Window Server 2008R2)

For example: similar to an Exchange Server, when we create a new mail user, it will automatically create an user in AD server

Is there any way to do it? Can you please give me some resources? Many thanks!
Please provide me with guides on using System Center Configuration Manager 2016 (SCCM)  to deploy software such as Chrome, Acrobat Reader, & 7-Zip to clients.

Windows Server 2008





Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.